/* אטלייה: תמונות, שאלות, בריף ומערכות (דף הבית: css/simple.css; החלקים שלו כאן לא בשימוש).
   בשפת הרנטגן (css/xr.css): דיו, נייר חם וכתום, כותרות ב-Handjet וטקסט ב-Rubik. מעט מילים, תמונות גדולות והרבה מקום.
   הכותרת העליונה, התחתונה, הכפתורים הצפים ותפריט הנגישות: css/xr.css */
:root {
  /* שפת הרנטגן (css/xr.css): דיו, נייר חם וכתום. Handjet לכותרות, Rubik לטקסט */
  --bg: #0a0a0b; --fg: #ede8de; --mute: rgba(237, 232, 222, .66); --line: rgba(237, 232, 222, .14); --line-2: rgba(237, 232, 222, .32);
  --serif: "HG Handjet", "Rubik", system-ui, sans-serif;
  --sans: "Rubik", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --m: clamp(16px, 4.4vw, 64px);
  --sec: clamp(12vh, 18vw, 22vh);
  --ease: cubic-bezier(.22, .61, .2, 1);
  /* משתנים שהקבצים המשותפים (מערכות, צ'אט) מצפים להם */
  --fg-dim: rgba(237, 232, 222, .66); --fg-faint: var(--line); --fg-line: var(--line-2); --ink: #0a0a0b; --paper: #ede8de; --signal: #ff4f1a;
  --f-body: var(--sans); --f-mono: var(--sans); --fs-xs: .8125rem; --fs-s: .9rem; --fs-b: 1rem; --fs-l: 1.15rem; --radius-xs: 10px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
html.motion { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 1.0625rem/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--fg); color: var(--bg); }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; top: 8px; inset-inline-start: 8px; z-index: 200; padding: .7rem 1.1rem; background: var(--fg); color: var(--bg); text-decoration: none; transform: translateY(-160%); }
.skip:focus { transform: none; }

/* ---------- טיפוגרפיה ---------- */
.at-h1, .at-h2, .at-name { font-family: var(--serif); font-weight: 800; letter-spacing: -.006em; }
.at-h2 { font-size: clamp(2.6rem, 5.4vw, 5.4rem); line-height: 1.08; }
.at-note { color: var(--mute); font-size: .92rem; line-height: 1.6; max-width: 46ch; }
.at-line { color: var(--mute); }
.at-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--fg); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .45em; text-decoration-color: var(--line-2); transition: text-decoration-color .4s ease; }
.at-link:hover { text-decoration-color: var(--fg); }
.at-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 1.8rem; border-radius: 99px; border: 1px solid var(--signal); background: var(--signal); color: var(--ink);
  font: 600 1rem/1 var(--sans); text-decoration: none; cursor: pointer; transition: background-color .4s ease, color .4s ease; }
.at-btn:hover { background: #ff6b3d; border-color: #ff6b3d; }
.at-btn--line { background: transparent; color: var(--fg); border-color: var(--line-2); font-weight: 500; }
.at-btn--line:hover { background: transparent; border-color: var(--fg); }

/* ---------- מבנה ---------- */
.at-sec { position: relative; padding: var(--sec) var(--m) 0; }
.at-sec:last-of-type { padding-bottom: var(--sec); }
.at-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 1rem 3rem; margin-bottom: clamp(3rem, 9vh, 6.5rem); }
.at-page { padding: clamp(5rem, 14vh, 9rem) var(--m) var(--sec); }
.at-page-head { max-width: 62rem; margin-bottom: clamp(3.5rem, 11vh, 7rem); }
.at-page-head .at-h1 { font-size: clamp(3rem, 7.4vw, 7rem); line-height: 1.04; }
.at-page-head p { margin-top: 1.6rem; }

/* ---------- פתיחה: לפני. אחרי. (js/renovate.js) ----------
   טלפון אמיתי: האתר הקודם של ש. גוטובסקי, ועליו קו שעולה מלמטה ובונה את החדש. מעל הקו רצועה של השרטוט (מתוך המידות של האתר האמיתי).
   בלי תנועה (מהמערכת, מתפריט הנגישות או בלי JS): שני טלפונים זה ליד זה, לפני ואחרי. */
body.at-home .top { position: fixed; inset: 0 0 auto; background: transparent; }
body.at-home .top.is-scrolled, html.menu-open body.at-home .top { background: #000; }
.rn { --pw: clamp(220px, calc((100svh - 290px) * .4621), 316px); --pwb: calc(var(--pw) * .78); --d: 1.2s; --bd: 1.6s; --be: cubic-bezier(.42, .12, .2, 1);
  position: relative; min-height: 100vh; min-height: 100svh; box-sizing: border-box; padding: 100px var(--m) 48px;
  display: grid; grid-template-columns: minmax(0, max-content) auto; grid-template-areas: "copy stage" "act stage"; justify-content: center; align-content: center; column-gap: clamp(3rem, 8vw, 9rem); }
.rn-copy { grid-area: copy; align-self: end; }
.rn-act { grid-area: act; align-self: start; margin-top: clamp(2rem, 5vh, 3rem); }
.rn-stage { grid-area: stage; align-self: center; justify-self: center; margin: 0; display: grid; grid-template-columns: auto auto; grid-template-areas: "tags ctrl" "ph ph" "cap cap"; column-gap: 1.5rem; align-items: center; }
.rn-h1 { font: 300 clamp(2.4rem, 5.5vw, 6.2rem)/1.05 var(--serif); letter-spacing: -.016em; }
.rn-h1 span { display: block; }
.rn-sub { margin-top: clamp(1.1rem, 2.6vh, 1.8rem); font: 300 clamp(1.3rem, 2vw, 1.9rem)/1.3 var(--serif); color: rgba(237, 232, 223, .7); }
.rn-offer { margin-top: clamp(1rem, 2.4vh, 1.5rem); color: var(--fg); font-size: clamp(1rem, 1.2vw, 1.12rem); }
.rn-offer span { display: block; margin-top: .3rem; color: var(--mute); font-size: .95em; }

.rn-tags { grid-area: tags; display: flex; align-items: center; gap: .9rem; margin-bottom: .9rem; font: 400 .9rem/1 var(--sans); color: var(--mute); }
.rn-tags i { position: relative; width: 56px; height: 1px; background: var(--line-2); overflow: hidden; }
.rn-tags i::after { content: ""; position: absolute; inset: 0; background: var(--fg); transform-origin: 100% 50%; }
.rn-tag-a { color: var(--fg); }
.rn-phones { grid-area: ph; display: flex; align-items: flex-end; gap: clamp(14px, 2.4vw, 36px); }
.rn-was { display: none; }
.rn-label { margin-top: .8rem; font-size: .9rem; color: var(--mute); }
.rn-now .rn-label { color: var(--fg); }
.rn-cap { grid-area: cap; display: grid; gap: .15rem; margin-top: 1.1rem; }
.rn-client { font: 300 1.2rem/1.2 var(--serif); }
.rn-field { color: var(--mute); font-size: .88rem; }
.rn-ctrl { grid-area: ctrl; justify-self: end; display: flex; gap: .2rem; margin: 0 0 .9rem; margin-inline-end: -10px; }
.rn-ctrl[hidden] { display: none; }
.rn-btn { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: 0 10px; border: 0; background: none; color: var(--mute); font: 400 .86rem/1 var(--sans); cursor: pointer; transition: color .3s ease; }
.rn-btn:hover { color: var(--fg); }
.rn-btn svg { width: 15px; height: 15px; flex: none; }
.rn-pause .i-play, .rn-pause[aria-pressed="true"] .i-pause { display: none; }
.rn-pause[aria-pressed="true"] .i-play { display: block; }
.rn-btn[hidden] { display: none; }

/* הטלפון: מסגרת דקה, בלי מותג */
.rn-phone { position: relative; padding: 6px; border-radius: calc(var(--pw) * .15); background: #0b0b0b; border: 1px solid rgba(237, 232, 223, .17); }
.rn-screen { position: relative; width: var(--pw); aspect-ratio: 390 / 844; overflow: hidden; border-radius: calc(var(--pw) * .125); background: #0b0b0b; isolation: isolate; }
.rn-screen > img, .rn-new, .rn-new > img, .rn-wire { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.rn-old { filter: grayscale(.6) brightness(.8); }
.rn-wire { background: #0a0a0a; clip-path: inset(0 0 100% 0); }
.rn-new { overflow: hidden; background: #0a0a0a; }
.rn-strip { position: absolute; inset: 0 0 auto 0; aspect-ratio: 390 / 7931; opacity: 0; will-change: transform; }
.rn-strip img { display: block; width: 100%; height: auto; }
.rn .rn-new > .rn-chrome { opacity: 0; transition: opacity .3s ease; }
.rn.is-scroll .rn-strip, .rn.is-scroll .rn-new > .rn-chrome { opacity: 1; }
.rn-scan { position: absolute; inset: 0; z-index: 2; pointer-events: none; transform: translateY(100%); visibility: hidden; }
.rn-scan i { position: absolute; inset: 0 0 auto 0; height: 2px; margin-top: -1px; background: var(--fg); }
/* תווית קטנה על הטלפון עצמו (בטלפון): לפני, ואחרי שהבנייה נגמרת */
.rn-pill { display: none; position: absolute; z-index: 3; top: -12px; left: 50%; transform: translateX(-50%); min-width: 64px; height: 24px; border-radius: 99px; background: #000; border: 1px solid var(--line-2); font: 400 .78rem/22px var(--sans); text-align: center; }
.rn-pill span { position: absolute; inset: 0; }
.rn-pill-b { color: var(--mute); opacity: 0; }

/* התנועה: רק כשמותר. הכותרת עולה, ואחרי שנייה הקו בונה את האתר החדש */
html.motion:not(.a11y-no-motion) .rn [data-in] { animation: rn-rise .9s var(--ease) both; }
html.motion:not(.a11y-no-motion) .rn [data-in="1"] { animation-delay: .2s; }
html.motion:not(.a11y-no-motion) .rn [data-in="2"] { animation-delay: .32s; }
html.motion:not(.a11y-no-motion) .rn [data-in="3"] { animation-delay: .5s; }
html.motion:not(.a11y-no-motion) .rn [data-in="4"] { animation-delay: .62s; }
@keyframes rn-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
html.motion:not(.a11y-no-motion) .rn .rn-new { clip-path: inset(100% 0 0 0); animation: rn-new var(--bd) var(--be) var(--d) forwards; }
html.motion:not(.a11y-no-motion) .rn .rn-wire { clip-path: inset(100% 0 0 0); animation: rn-wire var(--bd) var(--be) var(--d) forwards; }
html.motion:not(.a11y-no-motion) .rn .rn-scan { animation: rn-scan var(--bd) var(--be) var(--d) forwards; }
html.motion:not(.a11y-no-motion) .rn .rn-scan i { animation: rn-out .3s ease calc(var(--d) + var(--bd) - .2s) forwards; }
html.motion:not(.a11y-no-motion) .rn .rn-tags i::after { transform: scaleX(0); animation: rn-fill var(--bd) var(--be) var(--d) forwards; }
html.motion:not(.a11y-no-motion) .rn .rn-tag-b { color: var(--fg); animation: rn-dim .25s ease calc(var(--d) + var(--bd)) forwards; }
html.motion:not(.a11y-no-motion) .rn .rn-tag-a { color: var(--mute); animation: rn-lit .25s ease calc(var(--d) + var(--bd)) forwards; }
html.motion:not(.a11y-no-motion) .rn .rn-main { animation: rn-settle .45s ease-out calc(var(--d) + var(--bd)); }
html.motion:not(.a11y-no-motion) .rn .rn-pill-b { opacity: 1; color: var(--fg); animation: rn-gone .25s ease calc(var(--d) + var(--bd)) forwards; }
html.motion:not(.a11y-no-motion) .rn .rn-pill-a { opacity: 0; animation: rn-come .25s ease calc(var(--d) + var(--bd)) forwards; }
@keyframes rn-gone { to { opacity: 0; } }
@keyframes rn-come { to { opacity: 1; } }
@keyframes rn-new { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes rn-wire { from { clip-path: inset(86% 0 0 0); } to { clip-path: inset(-14% 0 0 0); } }
@keyframes rn-scan { from { transform: translateY(100%); visibility: visible; } to { transform: translateY(0); visibility: visible; } }
@keyframes rn-out { to { opacity: 0; } }
@keyframes rn-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes rn-dim { to { color: var(--mute); } }
@keyframes rn-lit { to { color: var(--fg); } }
@keyframes rn-settle { 40% { transform: scale(1.015); } }
.rn.is-paused .rn-stage, .rn.is-paused .rn-stage * { animation-play-state: paused !important; }
.rn.is-reset .rn-stage, .rn.is-reset .rn-stage * { animation: none !important; }
.rn.is-again { --d: .35s; }

/* בלי תנועה: שני טלפונים, לפני ואחרי */
html:not(.motion) .rn, html.a11y-no-motion .rn { --pw: clamp(170px, calc((100svh - 300px) * .4621), 290px); }
html:not(.motion) .rn-was, html.a11y-no-motion .rn-was { display: block; }
html:not(.motion) .rn-was, html.a11y-no-motion .rn-was { --pw: var(--pwb); }
html:not(.motion) .rn-was .rn-phone, html.a11y-no-motion .rn-was .rn-phone { opacity: .8; }
html:not(.motion) .rn-was img, html.a11y-no-motion .rn-was img { filter: grayscale(.6) brightness(.85); }
html:not(.motion) .rn-old, html.a11y-no-motion .rn-old, html:not(.motion) .rn-wire, html.a11y-no-motion .rn-wire, html:not(.motion) .rn-scan, html.a11y-no-motion .rn-scan,
html:not(.motion) .rn-tags, html.a11y-no-motion .rn-tags, html:not(.motion) .rn-ctrl, html.a11y-no-motion .rn-ctrl, html:not(.motion) .rn-pill, html.a11y-no-motion .rn-pill { display: none !important; }
html.motion:not(.a11y-no-motion) .rn-label { display: none; }

@media (max-width: 899px) {
  /* בטלפון: הטלפון גדול ככל שנכנס מעל הפס התחתון. מעליו שם הלקוח והכפתורים, ועליו התווית לפני/אחרי */
  .rn { --pw: clamp(110px, min(64vw, calc((100svh - 412px) * .4621)), 290px); grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "stage";
    align-content: start; padding: 84px var(--m) 28px; }
  .rn-h1 { font-size: clamp(2rem, 9.2vw, 3.4rem); }
  .rn-sub { margin-top: .55rem; font-size: clamp(1.1rem, 4.8vw, 1.5rem); }
  .rn-offer { margin-top: .6rem; font-size: .95rem; line-height: 1.5; }
  .rn-offer span { display: inline; margin: 0; }
  .rn-stage { justify-self: stretch; margin-top: clamp(1rem, 2.6vh, 1.6rem); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; column-gap: 1rem; }
  .rn-tags { display: none; }
  .rn-cap { order: 1; margin: 0; }
  .rn-ctrl { order: 2; margin: 0; margin-inline-end: -10px; }
  .rn-phones { order: 3; flex: 1 0 100%; justify-content: center; margin-top: 1.3rem; }
  .rn-pill { display: block; }
  .rn-client { font-size: 1.05rem; }
  .rn-act { display: none; }
  html:not(.motion) .rn, html.a11y-no-motion .rn { --pw: clamp(120px, 40vw, 230px); }
  html:not(.motion) .rn-phones, html.a11y-no-motion .rn-phones { order: 0; margin: 0 0 1rem; }
}

/* ---------- כניסה בגלילה: דהייה איטית ---------- */
html.motion [data-rv] { opacity: 0; transform: translateY(28px); transition: opacity 1.4s var(--ease), transform 1.6s var(--ease); }
html.motion [data-rv].is-in { opacity: 1; transform: none; }
html.motion .at-media img { transform: scale(1.035); transition: transform 2.6s var(--ease), opacity .8s ease; }
html.motion .is-in .at-media img, html.motion .at-media.is-in img { transform: none; }

/* ---------- עבודות ---------- */
.at-work { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 40px); row-gap: clamp(5rem, 16vh, 11rem); }
.at-proj { grid-column: 1 / -1; }
.at-proj a { display: block; text-decoration: none; color: inherit; }
.at-media { position: relative; display: block; overflow: hidden; background: #0d0d0d; }
.at-media img { width: 100%; height: 100%; object-fit: cover; }
.at-proj .at-media { aspect-ratio: 3 / 2; }
.at-proj-shot { position: absolute; bottom: clamp(12px, 2.2vw, 32px); inset-inline-end: clamp(12px, 2.2vw, 32px); width: 34%; aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid rgba(237, 232, 223, .22); background: #000; }
.at-proj-shot img { object-position: top center; }
.at-cap { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem 1.4rem; margin-top: 1.4rem; }
.at-name { font-size: clamp(1.7rem, 2.6vw, 2.5rem); line-height: 1.1; }
.at-cap .at-line { font-size: .95rem; }
.at-proj a .at-name { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease); }
[dir="rtl"] .at-proj a .at-name { background-position: 100% 100%; }
.at-proj a:hover .at-name, .at-proj a:focus-visible .at-name { background-size: 100% 1px; }
@media (min-width: 760px) {
  .at-proj--1 { grid-column: 1 / -1; }
  .at-proj--1 .at-media { aspect-ratio: 21 / 10; }
  .at-proj--2 { grid-column: 1 / span 7; }
  .at-proj--3 { grid-column: 9 / span 4; margin-top: 30vh; }
  .at-proj--3 .at-media { aspect-ratio: 4 / 5; }
  .at-proj--3 .at-proj-shot { width: 64%; }
  .at-proj--4 { grid-column: 3 / span 10; }
  .at-proj--5 { grid-column: 1 / span 6; }
  .at-proj--5 .at-media { aspect-ratio: 4 / 5; }
  .at-proj--5 .at-proj-shot { width: 60%; }
  .at-proj--6 { grid-column: 8 / span 5; margin-top: 24vh; }
}
.at-more { margin-top: clamp(4rem, 12vh, 8rem); }

/* ---------- עבודות בדף הבית: האתר האמיתי הוא התמונה ----------
   מסך מחשב עם הקלטת גלילה של האתר (מתנגנת רק כשהיא על המסך), והטלפון של אותו אתר לידו */
.wk .at-head { align-items: baseline; }
.wk-list { display: grid; gap: clamp(4rem, 10vh, 7rem); }
.wk-item { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 40px); align-items: end; }
.wk-stage { position: relative; grid-column: 1 / -1; padding-bottom: 9%; }
.wk-screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0d0d0d; border: 1px solid var(--line); border-radius: 3px; }
.wk-screen img, .wk-screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.wk-screen video { opacity: 0; transition: opacity .6s ease; }
.wk-screen video.is-on { opacity: 1; }
.wk-phone { aspect-ratio: 490 / 1049; position: absolute; bottom: 0; inset-inline-end: 4%; width: 19%; padding: 4px; border-radius: 16%/7.4%; background: #0b0b0b; border: 1px solid rgba(237, 232, 223, .2); }
.wk-phone img { width: 100%; height: auto; aspect-ratio: 480 / 1039; object-fit: cover; object-position: top; border-radius: 13%/6%; }
.wk-play { position: absolute; z-index: 2; top: 12px; inset-inline-start: 12px; width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border-radius: 50%;
  border: 1px solid rgba(237, 232, 223, .4); background: rgba(0, 0, 0, .55); color: var(--fg); cursor: pointer; opacity: .75; transition: opacity .3s ease, border-color .3s ease; }
.wk-play:hover, .wk-play:focus-visible { opacity: 1; border-color: var(--fg); }
.wk-play svg { width: 12px; height: 12px; }
.wk-play .i-play, .wk-play[aria-pressed="true"] .i-pause { display: none; }
.wk-play[aria-pressed="true"] .i-play { display: block; }
.wk-txt { grid-column: 1 / -1; display: grid; gap: .35rem; margin-top: 1.6rem; max-width: 34rem; }
.wk-name { font: 300 clamp(2rem, 3.4vw, 3.2rem)/1.05 var(--serif); letter-spacing: -.012em; }
.wk-field { color: var(--mute); font-size: .95rem; }
.wk-out { margin-top: .7rem; color: var(--fg); font-size: 1.02rem; line-height: 1.6; max-width: 32ch; }
.wk-links { display: flex; flex-wrap: wrap; gap: 0 1.6rem; margin-top: .5rem; }
@media (min-width: 900px) {
  .wk-stage { grid-column: 4 / span 9; }
  .wk-txt { grid-column: 1 / span 3; grid-row: 1; margin: 0 0 9%; }
  .wk-item:nth-child(even) .wk-stage { grid-column: 1 / span 9; }
  .wk-item:nth-child(even) .wk-txt { grid-column: 10 / span 3; }
  .wk-item:nth-child(even) .wk-phone { inset-inline-end: auto; inset-inline-start: 4%; }
}
@media (max-width: 899px) {
  .wk-stage { margin-inline: calc(-1 * var(--m)); padding-bottom: 22%; }
  .wk-screen { border-inline: 0; border-radius: 0; }
  .wk-phone { width: 27%; inset-inline-end: var(--m); }
  .wk-txt { margin-top: 1.2rem; }
}

/* ---------- אלנביס: גוררים את התפר בין החנות הקודמת לחדשה ---------- */
.ba { display: grid; gap: clamp(2.6rem, 6vh, 4rem); align-items: start; }
.ba-lead { max-width: 30ch; font: 300 clamp(1.25rem, 1.8vw, 1.6rem)/1.45 var(--serif); }
.ba .at-h2 span { display: block; }
.ba-txt { display: grid; gap: 1rem; max-width: 36rem; }
.ba-num { display: grid; grid-template-columns: auto auto; justify-content: start; column-gap: clamp(2rem, 5vw, 4rem); row-gap: .3rem; margin-top: 1.4rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.ba-num dt { grid-column: 1 / -1; color: var(--mute); font-size: .92rem; margin-bottom: .4rem; }
.ba-num dd { margin: 0; display: grid; gap: .1rem; }
.ba-num dd span { color: var(--mute); font-size: .86rem; }
.ba-num b { font: 300 clamp(2.2rem, 3.6vw, 3.4rem)/1 var(--serif); font-variant-numeric: tabular-nums; justify-self: start; }
.ba-num dd:first-of-type b { color: var(--mute); text-decoration: line-through; text-decoration-thickness: 1px; }
.ba-fig { margin: 0; justify-self: center; display: grid; justify-items: center; gap: .9rem; --pw: clamp(220px, 62vw, 300px); }
.ba-screen { --cut: 50%; touch-action: pan-y; }
.ba-screen > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ba-after { clip-path: inset(0 calc(100% - var(--cut)) 0 0); }
.ba-screen > img.ba-before--top { height: auto; bottom: auto; }
.ba-seam { position: absolute; top: 0; bottom: 0; left: var(--cut); width: 0; pointer-events: none; }
.ba-seam::before { content: ""; position: absolute; top: 0; bottom: 0; left: -.5px; width: 1px; background: var(--fg); }
.ba-seam i { position: absolute; top: 50%; left: 0; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: #000; border: 1px solid var(--fg); }
.ba-seam i::before, .ba-seam i::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; margin-top: -4px; border: 4px solid transparent; }
.ba-seam i::before { left: 8px; border-right-color: var(--fg); }
.ba-seam i::after { right: 8px; border-left-color: var(--fg); }
.ba-range { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; background: transparent; }
.ba-range::-webkit-slider-thumb { -webkit-appearance: none; width: 48px; height: 100vh; }
.ba-range::-moz-range-thumb { width: 48px; height: 100vh; border: 0; }
.ba-range:focus-visible + .ba-seam i { outline: 2px solid var(--fg); outline-offset: 4px; }
.ba-tag { position: absolute; z-index: 2; top: 12%; padding: .3rem .6rem; border-radius: 99px; background: rgba(0, 0, 0, .72); color: var(--fg); font: 400 .78rem/1 var(--sans); pointer-events: none; }
.ba-tag-b { right: 8px; }
.ba-tag-a { left: 8px; }
.ba-hint { color: var(--mute); font-size: .86rem; }
@media (min-width: 900px) {
  .ba { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 40px); }
  .ba > .ba-txt { grid-column: 1 / span 5; padding-top: 1.2rem; }
  .ba > .ba-fig { grid-column: 7 / span 6; }
  .ba-fig { --pw: clamp(240px, calc((100svh - 220px) * .4621), 320px); }
}

/* תיק העבודות: לפני ואחרי מתחת לפרויקט */
.case-ba { grid-column: 1 / -1; display: grid; gap: 2rem; align-items: center; justify-items: center; margin-top: clamp(3rem, 9vh, 6rem); }
.case-ba .ba-num { margin-top: 0; }
.case-ba-txt { display: grid; gap: .8rem; justify-self: stretch; }
@media (min-width: 900px) { .case-ba { grid-template-columns: auto minmax(0, 22rem); justify-content: center; column-gap: clamp(3rem, 8vw, 8rem); } .at-case.wk-item { min-height: 0; } }

/* ---------- אחרי העבודות: פנייה ---------- */
.cta { display: grid; gap: clamp(1.8rem, 4vh, 2.6rem); justify-items: start; }

/* ---------- איך זה עובד, ומה מובטח ---------- */
.how-steps { display: grid; gap: 2.4rem clamp(16px, 2.4vw, 40px); counter-reset: none; }
.how-steps li { display: grid; grid-template-columns: auto 1fr; column-gap: 1.1rem; align-items: baseline; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.how-n { grid-row: span 2; font: 300 clamp(2.4rem, 3.4vw, 3.4rem)/.9 var(--serif); color: var(--mute); }
.how-steps h3 { font: 300 clamp(1.45rem, 2vw, 1.9rem)/1.2 var(--serif); }
.how-steps p { color: var(--mute); font-size: .95rem; }
.promise { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem clamp(16px, 2.4vw, 40px); margin-top: clamp(3.4rem, 9vh, 5.5rem); }
.promise li { position: relative; padding-inline-start: 1.6rem; color: var(--fg); font-size: .98rem; line-height: 1.45; }
.promise li::before { content: ""; position: absolute; inset-inline-start: 0; top: .32em; width: 10px; height: 6px; border-bottom: 1px solid var(--fg); border-inline-start: 1px solid var(--fg); transform: rotate(-45deg); }
[dir="rtl"] .promise li::before { border-inline-start: 0; border-left: 1px solid var(--fg); }
@media (min-width: 900px) { .how-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } .promise { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- סרטים ותמונות: שורה אחת ---------- */
.fs .at-head { align-items: baseline; }
.fs-row { display: grid; grid-template-columns: 2.2fr repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 20px); align-items: start; }
.fs-row button { display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; text-align: start; cursor: pointer; }
.fs-row .at-media { aspect-ratio: 4 / 5; }
.fs-row .fs-lead .at-media { aspect-ratio: 16 / 10.4; }
@media (min-width: 900px) { .fs-row .at-media, .fs-row .fs-lead .at-media { aspect-ratio: auto; height: clamp(200px, 19vw, 300px); } }
.fs-row .at-media img, .fs-row .at-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fs-row li:not(.fs-lead) img { opacity: .82; transition: opacity .5s ease, transform 1.6s var(--ease); }
.fs-row button:hover img, .fs-row button:focus-visible img { opacity: 1; }
.fs-t { display: block; margin-top: .75rem; font-size: .95rem; color: var(--fg); }
.fs-lead .fs-t { font: 300 1.5rem/1.2 var(--serif); }
.fs-k { display: block; margin-top: .15rem; font-size: .8rem; color: var(--mute); }
.fs .at-note { margin-top: clamp(1.6rem, 4vh, 2.4rem); }
.fs .at-play { width: 64px; height: 64px; }
@media (max-width: 899px) {
  .fs-row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.6rem; }
  .fs-row .fs-lead { grid-column: 1 / -1; }
  .fs-row li:not(.fs-lead) .at-media { aspect-ratio: 1; }
}

/* שירותים: שם ושורה קצרה */
.svc-n { flex: 1 1 auto; }
.svc-d { order: 3; flex: 1 0 100%; font: 400 .92rem/1.4 var(--sans); color: var(--mute); letter-spacing: 0; }

/* תמונות מתחת למסך הראשון נטענות רק כשהן מתקרבות (js/atelier.js מוסיף is-near) */
.js [data-near]:not(.is-near) img { display: none; }
.wk-phone picture, .wk-screen picture { display: contents; }

/* ---------- יצירת קשר ---------- */
.ct-me { max-width: 34ch; font: 300 clamp(1.3rem, 2vw, 1.75rem)/1.45 var(--serif); color: var(--fg); }

/* ---------- סרטים ---------- */
.at-feature { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: start; cursor: pointer; }
.at-feature .at-media { aspect-ratio: 16 / 9; }
.at-feature video, .at-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.at-play { position: absolute; z-index: 1; inset: 0; margin: auto; width: clamp(64px, 7vw, 92px); height: clamp(64px, 7vw, 92px); display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(237, 232, 223, .55); color: var(--fg); transition: border-color .4s ease, transform .6s var(--ease); }
.at-play svg { width: 22%; height: 22%; margin-inline-start: 4%; }
.at-feature:hover .at-play { border-color: var(--fg); transform: scale(1.04); }
.at-feature .at-cap { margin-top: 1.2rem; }
.at-row { display: flex; gap: clamp(12px, 1.6vw, 24px); margin-top: clamp(3rem, 8vh, 5rem); margin-inline: calc(-1 * var(--m)); padding: 0 var(--m) 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--m); scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.at-row li { position: relative; flex: 0 0 clamp(220px, 23vw, 340px); scroll-snap-align: start; }
.at-row button { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: start; cursor: pointer; color: inherit; }
.at-row .at-media { aspect-ratio: 16 / 10; }
.at-row img { opacity: .78; transition: opacity .5s ease; }
.at-row button:hover img, .at-row button:focus-visible img { opacity: 1; }
.at-row .t { display: block; margin-top: .8rem; font-size: .95rem; color: var(--fg); }
.at-films .at-note { margin-top: clamp(2rem, 6vh, 3.5rem); }

/* חלון הסרט והתמונה (js/atelier.js, js/stills.js) */
.pm-lightbox { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(0, 0, 0, .96); color: var(--fg); }
.pm-lightbox::backdrop { background: #000; }
.pm-lb-in { position: relative; display: grid; place-items: center; width: 100%; height: 100%; padding: clamp(56px, 8vh, 88px) var(--m); }
.pm-lightbox video, .pm-lightbox img { max-width: 100%; max-height: calc(100dvh - 180px); width: auto; height: auto; background: #000; }
.pm-lightbox video { width: min(1280px, 100%); }
.pm-lightbox.is-v video { width: auto; height: calc(100dvh - 180px); }
.pm-lb-t { margin-top: 1rem; color: var(--mute); font-size: .92rem; text-align: center; }
.pm-lb-x { position: absolute; top: 16px; inset-inline-end: 16px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; cursor: pointer; }
.pm-lb-x span { position: absolute; top: 50%; left: 50%; width: 16px; height: 1px; background: var(--fg); transform: translate(-50%, -50%) rotate(45deg); }
.pm-lb-x span + span { transform: translate(-50%, -50%) rotate(-45deg); }
.pm-lb-bar { display: flex; align-items: center; gap: 1rem; margin-top: 1rem; width: min(1100px, 100%); }
.pm-lb-bar .pm-lb-t { margin: 0; flex: 1; text-align: start; }
.pm-lb-n { margin: 0; color: var(--mute); font-size: .85rem; font-variant-numeric: tabular-nums; }
.pm-lb-nav { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; cursor: pointer; font-size: 1rem; }
.pm-lb-nav:hover, .pm-lb-x:hover { border-color: var(--fg); }

/* ---------- תמונות ---------- */
.at-stills { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 16vw, 270px); grid-auto-flow: dense; gap: clamp(6px, .7vw, 12px); }
.at-stills li { grid-column: span 2; }
.at-stills li.v { grid-column: span 1; grid-row: span 2; }
.at-stills button { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: #0d0d0d; cursor: zoom-in; overflow: hidden; }
.at-stills img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease), opacity .6s ease; }
.at-stills button:hover img { transform: scale(1.025); }
.at-stills-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; margin-top: clamp(2rem, 6vh, 3.5rem); }
@media (max-width: 640px) {
  .at-stills { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 42vw; }
  .at-stills li.m-hide { display: none; }
}

/* ---------- שירותים ---------- */
.at-svc { border-top: 1px solid var(--line); }
.at-svc li { border-bottom: 1px solid var(--line); }
.at-svc a { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .2rem 1rem; padding: clamp(1.1rem, 2.6vh, 1.8rem) 0; text-decoration: none; font: 300 clamp(1.9rem, 3.8vw, 3.6rem)/1.15 var(--serif); letter-spacing: -.01em; color: var(--fg); transition: color .4s ease, padding .6s var(--ease); }
.at-svc a::after { content: ""; flex: none; width: 0; height: 1px; background: var(--line-2); transition: width .6s var(--ease), background-color .4s ease; }
.at-svc a:hover { padding-inline-start: .6rem; }
.at-svc a:hover::after { width: clamp(56px, 6vw, 96px); background: var(--fg); }
@media (min-width: 900px) { .at-svc { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 5vw, 96px); } .at-svc li:nth-child(-n+2) { border-top: 0; } }

/* ---------- יצירת קשר ---------- */
.at-contact { display: grid; gap: clamp(2rem, 5vh, 3rem); }
.at-contact .at-h2 { font-size: clamp(2.8rem, 7vw, 7rem); line-height: 1.04; }
.at-contact .at-btn { justify-self: start; }
.at-reach { display: flex; flex-wrap: wrap; gap: .2rem clamp(1.4rem, 3vw, 2.6rem); color: var(--mute); }
.at-reach .at-link { color: var(--fg); }
.at-reach button.at-link { border: 0; background: none; padding: 0; cursor: pointer; font: inherit; }

/* ---------- עבודות (work.html) ---------- */
.at-cases { display: grid; gap: clamp(6rem, 18vh, 12rem); }
.at-case { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 40px); row-gap: 1.6rem; align-items: start; }
.at-case > .at-media { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
.at-case-shots { grid-column: 1 / -1; display: grid; grid-template-columns: 3fr 1fr; gap: clamp(8px, 1.2vw, 18px); align-items: start; }
.at-case-shots .at-media { aspect-ratio: auto; height: clamp(220px, 30vw, 460px); }
.at-case-shots .at-media img { object-position: top center; }
.at-case-txt { grid-column: 1 / -1; display: grid; gap: .5rem; }
.at-case-links { display: flex; flex-wrap: wrap; gap: 0 1.6rem; margin-top: .4rem; }
@media (min-width: 900px) {
  .at-case > .at-media { grid-column: 1 / span 8; }
  .at-case-shots { grid-column: 1 / span 8; }
  .at-case-txt { grid-column: 10 / span 3; grid-row: 1; align-self: end; }
  .at-case:nth-child(even) > .at-media, .at-case:nth-child(even) > .at-case-shots { grid-column: 5 / span 8; }
  .at-case:nth-child(even) .at-case-txt { grid-column: 1 / span 3; grid-row: 1; }
}
.at-group { margin-top: var(--sec); }
.at-group > .at-h2 { margin-bottom: clamp(1rem, 3vh, 1.6rem); }
.at-group > .at-note { margin-bottom: clamp(3rem, 9vh, 6rem); }
.at-duo { display: grid; gap: clamp(4rem, 10vh, 6rem) clamp(16px, 2.4vw, 40px); }
@media (min-width: 760px) { .at-duo { grid-template-columns: 1fr 1fr; } .at-duo > :nth-child(even) { margin-top: 18vh; } }
.at-duo .at-media { aspect-ratio: 4 / 3; }

.at-trio { display: grid; gap: clamp(4rem, 10vh, 6rem) clamp(16px, 2.4vw, 40px); }
.at-concept a { display: block; text-decoration: none; color: inherit; }
.at-concept .at-media { aspect-ratio: 4 / 5; }
.at-concept .at-proj-shot { width: 62%; }
.at-concept .at-cap { margin-top: 1.2rem; }
.at-concept .at-line { margin-top: .3rem; font-size: .95rem; }
.at-concept a:hover .at-name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em; }
@media (min-width: 900px) { .at-trio { grid-template-columns: repeat(3, 1fr); } .at-trio > :nth-child(2) { margin-top: 16vh; } .at-trio > :nth-child(3) { margin-top: 8vh; } }
.at-solo { display: grid; gap: 2rem clamp(16px, 2.4vw, 40px); align-items: end; }
a.at-feature { text-decoration: none; color: inherit; }
.at-solo-txt { display: grid; gap: .8rem; }
.at-solo-txt .at-h2 { font-size: clamp(2.2rem, 4vw, 3.8rem); }
@media (min-width: 900px) {
  .at-solo { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .at-solo .at-feature { grid-column: 1 / span 8; }
  .at-solo .at-solo-txt { grid-column: 10 / span 3; }
  .at-solo:nth-of-type(even) .at-feature { grid-column: 5 / span 8; }
  .at-solo:nth-of-type(even) .at-solo-txt { grid-column: 1 / span 3; grid-row: 1; }
}
.at-duo .at-feature .at-media { aspect-ratio: 16 / 10; }
.at-group.at-contact { padding-top: 0; }

/* ---------- תמונות (gallery/) ---------- */
.pm-gal-chips { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; margin-bottom: clamp(3rem, 9vh, 6rem); }
.pm-gal-chips button { min-height: 44px; padding: 0; border: 0; background: none; color: var(--mute); font: 400 .95rem/1 var(--sans); cursor: pointer; transition: color .3s ease; }
.pm-gal-chips button:hover, .pm-gal-chips button[aria-pressed="true"] { color: var(--fg); }
.pm-gal-chips button[aria-pressed="true"] { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .5em; }
.pm-gal-sec + .pm-gal-sec { margin-top: clamp(5rem, 14vh, 9rem); }
.pm-gal-head { margin-bottom: clamp(1.6rem, 4vh, 2.4rem); }
.pm-gal-head h2 { font: 800 clamp(1.8rem, 3vw, 2.8rem)/1.1 var(--serif); letter-spacing: -.01em; }
.pm-stills-full { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 15vw, 250px); grid-auto-flow: dense; gap: clamp(6px, .7vw, 12px); }
.pm-stills-full .pm-still { grid-column: span 2; }
.pm-stills-full .pm-still-v { grid-column: span 1; grid-row: span 2; }
.pm-stills-full .pm-still-sq { grid-column: span 1; }
.pm-still-btn { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: #0d0d0d; cursor: zoom-in; overflow: hidden; }
.pm-stills-full img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.pm-still-btn:hover img { transform: scale(1.025); }
.pm-still-cap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 640px) { .pm-stills-full { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 42vw; } }

/* ---------- שאלות ---------- */
.at-faq { max-width: 56rem; border-top: 1px solid var(--line); }
.at-faq details { border-bottom: 1px solid var(--line); }
.at-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: clamp(1.3rem, 3vh, 1.8rem) 0; cursor: pointer; list-style: none; }
.at-faq summary::-webkit-details-marker { display: none; }
.at-faq summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--fg), var(--fg)) center / 100% 1px no-repeat, linear-gradient(var(--fg), var(--fg)) center / 1px 100% no-repeat; transition: transform .4s var(--ease); }
.at-faq details[open] summary::after { transform: rotate(45deg); }
.at-faq h2 { font: 700 clamp(1.4rem, 2.3vw, 2rem)/1.3 var(--serif); }
.at-faq p { padding-bottom: 1.8rem; max-width: 64ch; color: rgba(237, 232, 222, .88); font-size: 1.1875rem; line-height: 1.7; }
.at-faq-end { margin-top: clamp(3rem, 9vh, 5rem); display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; }

/* ---------- בריף (brief.html): אותו טופס, בשפה של האתר ---------- */
.pm-brief { position: relative; display: grid; gap: 1.6rem; max-width: 46rem; }
.pm-brief-t { font: 700 clamp(1.4rem, 2.2vw, 1.8rem)/1.3 var(--serif); }
.pm-brief-row { display: grid; gap: 1.6rem; }
@media (min-width: 640px) { .pm-brief-row { grid-template-columns: 1fr 1fr; } }
.pm-field { display: grid; gap: .5rem; font-size: .92rem; color: var(--mute); }
.pm-field i { font-style: normal; }
.pm-field input, .pm-field textarea { width: 100%; min-height: 48px; padding: .7rem 0; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; background: transparent; color: var(--fg); font: 400 1.05rem/1.5 var(--sans); }
.pm-field textarea { resize: vertical; }
.pm-field input:focus, .pm-field textarea:focus { outline: none; border-bottom-color: var(--fg); }
.pm-field input:focus-visible, .pm-field textarea:focus-visible { outline: 2px solid var(--fg); outline-offset: 4px; }
.pm-chips { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0; padding: 0; border: 0; }
.pm-chips legend { width: 100%; margin-bottom: .8rem; padding: 0; font-size: .92rem; color: var(--mute); }
.pm-chips label { position: relative; }
.pm-chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pm-chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.1rem; border-radius: 99px; border: 1px solid var(--line-2); cursor: pointer; font-size: .95rem; transition: border-color .3s ease, background-color .3s ease, color .3s ease; }
.pm-chips label:hover span { border-color: var(--fg); }
.pm-chips input:checked + span { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.pm-chips input:focus-visible + span { outline: 2px solid var(--fg); outline-offset: 3px; }
.pm-hp { position: absolute; inset-inline-start: 0; width: 1px; height: 1px; padding: 0; border: 0; opacity: 0; overflow: hidden; clip: rect(0 0 0 0); pointer-events: none; }
.pm-brief-go { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; }
.pm-brief-go .pm-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 2rem; border-radius: 99px; border: 1px solid var(--signal); background: var(--signal); color: var(--ink); font: 600 1rem/1 var(--sans); cursor: pointer; }
.pm-brief-go .pm-btn:disabled { opacity: .6; cursor: progress; }
.pm-brief-note { flex: 1 1 18rem; color: var(--mute); font-size: .86rem; }
.pm-brief-msg { min-height: 1.5em; color: var(--fg); }
.pm-brief-msg a, .pm-brief-note a { color: var(--fg); }
.pm-brief.is-bad .pm-brief-msg { color: #f0b9a8; }

/* ---------- מערכות (systems.html) ---------- */
.systems { --ease: cubic-bezier(.2, .7, .1, 1); --ink-soft: #141416; --signal: #ff4f1a; --signal-ink: #0a0a0b; }
.at-sys .sr-cats { height: clamp(220px, 21vw, 300px); }
.at-sys .sr-cat { border-radius: 0; border-color: var(--line); background: var(--bg); }
.at-sys .sr-cat::after { content: none; }
.at-sys .sr-cat.is-on { border-color: var(--fg); box-shadow: none; }
.at-sys .sr-cat:not(.is-on) .sr-media img { filter: brightness(.72); transform: none; }
.at-sys .sr-cat.is-on .sr-cat-n { color: var(--fg); }
.at-sys .sr-media { inset: 0 0 auto 0; height: calc(100% - 4.6rem); border: 0; }
.at-sys .sr-media { background: #000; }
.at-sys .sr-media img { object-position: 50% 58%; }
.at-sys .sr-cat-text { top: auto; bottom: 0; inset-inline: 0; height: 4.6rem; align-content: center; gap: .2rem; padding: 0 clamp(14px, 1.4vw, 20px); background: var(--bg); border-top: 1px solid var(--line); }
.at-sys .sr-cat-name { font: 700 clamp(1.05rem, 1.3vw, 1.35rem)/1.1 var(--serif); }
.at-sys .sr-cat-n { font: 400 .8rem/1.3 var(--sans); color: var(--mute); }
.at-sys .sr-item { border-radius: 0; }
.at-sys .sr-item.is-on { box-shadow: none; }
.at-sys .sr-i-name { font: 700 clamp(1.2rem, 1.6vw, 1.5rem)/1.15 var(--serif); }
.at-sys .sr-device { border-radius: 2px; box-shadow: none; }
.at-sys .sr-bar i { display: none; }
.at-sys .sr-url { margin-inline-start: 0; }
.at-sys .sr-live::before { animation: none; }
.at-sys .sr-cap-hint, .at-sys .sr-proof { color: var(--mute); }
/* בתוך מסך הדוגמה: דיו כהה על הרקע הבהיר של העסק הבדיוני, וכתום כצבע הפעולה שלו (ניגודיות) */
.at-sys .sr-screen { --ink-soft: #0b231b; --signal: #ff5b1f; --signal-ink: #8a2c08; }
.at-sys .sr-live { color: var(--mute); }
@media (max-width: 900px) {
  .at-sys .sr-cats { display: flex; flex-wrap: nowrap; height: auto; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--m)); padding-inline: var(--m); }
  .at-sys .sr-cats::-webkit-scrollbar { display: none; }
  .at-sys .sr-cat, .at-sys .sr-cat.is-on { flex: 0 0 min(62vw, 300px); height: auto; aspect-ratio: auto; max-height: none; scroll-snap-align: start; display: flex; flex-direction: column; }
  .at-sys .sr-media { position: relative; inset: auto; height: auto; aspect-ratio: 16 / 10; z-index: 0; }
  .at-sys .sr-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
  .at-sys .sr-cat-text { position: relative; height: auto; padding: 10px 12px 12px; }
  .at-sys .sr-item { border-color: var(--line-2); }
}

/* ---------- 404 וכדומה ---------- */
.at-lost { min-height: 70vh; display: grid; align-content: center; gap: 1.6rem; }

/* תפריט הנגישות: css/xr.css */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* globe gallery card */
.globe-card { display: block; position: relative; margin: clamp(3rem, 8vh, 6rem) 0 0; color: var(--fg); text-decoration: none; overflow: hidden; border: 1px solid var(--line-2, rgba(237,232,223,.2)); }
.globe-card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.globe-card:hover img { transform: scale(1.03); }
.globe-txt { position: absolute; inset-inline-start: 0; bottom: 0; display: grid; gap: .35rem; padding: clamp(1rem, 3vw, 2.2rem); background: linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,0)); width: 100%; box-sizing: border-box; }
.globe-txt b { font-family: var(--serif); font-weight: 800; font-size: clamp(1.6rem, 3.4vw, 2.8rem); line-height: 1.1; }
.globe-txt span { color: var(--muted, #c9c4bb); font-size: 1rem; }
.globe-card:focus-visible { outline: 2px solid var(--fg); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { .globe-card img { transition: none; } }
