/* הגופן Heebo יושב באתר עצמו (תיקיית fonts), בלי פנייה לשרת חיצוני */
@font-face {
  font-family: 'Heebo'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(fonts/heebo-hebrew.woff2) format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: 'Heebo'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(fonts/heebo-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Heebo'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(fonts/heebo-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* הצבעים נלקחו מהלוגו: כחול כהה, זהב, רקע בהיר */
:root {
  --bg: #F7F7F8;
  --card: #FFFFFF;
  --ink: #0F2336;
  --muted: #55606E;
  --line: #DDE0E5;
  --gold: #D9A84E;
  --gold-press: #C4913A;
  --gold-deep: #8A5A12;   /* זהב לטקסט על רקע בהיר */
  --gold-light: #ECBD65;  /* זהב על הכחול הכהה */
  --radius: 12px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  font-family: 'Heebo', system-ui, 'Segoe UI', Arial, sans-serif;
  font-size: calc(17px * var(--tz, 1));
  line-height: 1.6;
  letter-spacing: 0;
  color: var(--ink);
  background: var(--bg);
}

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

.wrap { width: 100%; max-width: 1080px; margin-inline: auto; padding-inline: 20px; }

.skip {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 50;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 3px; border-radius: 6px; }
.contact :focus-visible { outline-color: var(--gold-light); }

/* ---------- טיוטה ---------- */
.draft { background: var(--ink); color: #fff; text-align: center; font-size: calc(14px * var(--tz, 1)); padding: 8px 16px; }
.todo {
  display: inline-block;
  border: 1.5px dashed currentColor; border-radius: 8px;
  padding: 2px 10px; font-size: calc(14px * var(--tz, 1)); font-weight: 500; line-height: 1.7;
  opacity: .7;
}

/* ---------- כותרת עליונה ---------- */
.top {
  position: sticky; top: 0; z-index: 30;
  background: rgba(247, 247, 248, .92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top, 0px);
}
.top-in { display: flex; align-items: center; gap: 24px; min-height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: calc(20px * var(--tz, 1)); text-decoration: none; }
.brand img { height: 30px; width: auto; }
.nav { display: none; gap: 28px; margin-inline-start: auto; }
.nav a { text-decoration: none; font-weight: 500; padding-block: 8px; }
.top-call { margin-inline-start: auto; }

/* ---------- כפתורים ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 22px;
  border-radius: 10px; border: 1.5px solid transparent;
  font: inherit; font-weight: 700; text-decoration: none; white-space: nowrap;
  touch-action: manipulation; user-select: none; -webkit-user-select: none;
  transition: transform 120ms var(--ease-out), background-color 120ms;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-main { background: var(--gold); color: var(--ink); }
.btn-main:active { background: var(--gold-press); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-line { border-color: var(--ink); }
.btn-small { min-height: 42px; padding: 0 16px; font-size: calc(15px * var(--tz, 1)); }

/* ---------- פתיחה ---------- */
.hero { display: grid; gap: 28px; padding-block: 40px 48px; }
.hero-mark { width: 210px; order: -1; }

/* שלט נטוי, כמו בלוגו */
.badge {
  position: relative; isolation: isolate; display: inline-block;
  margin-bottom: 16px; margin-left: 16px; padding: 5px 20px;
  color: #fff; font-weight: 700; font-size: calc(15px * var(--tz, 1));
}
.badge::before, .badge::after { content: ''; position: absolute; top: 0; bottom: 0; z-index: -1; transform: skewX(-22deg); }
.badge::before { left: 0; right: 0; background: var(--ink); }
.badge::after { left: -14px; width: 9px; background: var(--gold); }
.badge .todo { opacity: 1; border-color: rgba(255, 255, 255, .6); }

.hero h1 { font-size: calc(clamp(46px, 11vw, 96px) * var(--tz, 1)); font-weight: 900; line-height: 1.02; }
.hero-owner { margin-top: 8px; font-size: calc(clamp(22px, 3vw, 30px) * var(--tz, 1)); font-weight: 700; color: var(--muted); }
.lead { margin-top: 16px; font-size: calc(clamp(18px, 2.2vw, 22px) * var(--tz, 1)); color: var(--muted); max-width: 36ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.hl { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }
.hl-big { display: block; font-size: calc(clamp(32px, 5vw, 44px) * var(--tz, 1)); font-weight: 900; line-height: 1.1; unicode-bidi: plaintext; }
.hl-small { display: block; color: var(--muted); font-size: calc(15px * var(--tz, 1)); }
.hl-area { display: flex; align-items: center; gap: 8px; align-self: flex-end; font-weight: 500; padding-bottom: 2px; }
.hl-area svg { width: 20px; height: 20px; color: var(--gold-deep); flex: none; }

/* סרגל מדידה */
.tape {
  height: 16px; opacity: .25;
  background:
    repeating-linear-gradient(to left, var(--ink) 0 1px, transparent 1px 10px) bottom / 100% 7px no-repeat,
    repeating-linear-gradient(to left, var(--ink) 0 1px, transparent 1px 50px) bottom / 100% 16px no-repeat;
  border-bottom: 1px solid var(--ink);
}

/* ---------- חלקים ---------- */
.sec { padding-block: 64px; }
.sec-alt { background: var(--card); border-block: 1px solid var(--line); }
.sec-head { margin-bottom: 28px; }
.eyebrow { font-size: calc(15px * var(--tz, 1)); font-weight: 700; color: var(--gold-deep); margin-bottom: 8px; }
.sec-head h2 { font-size: calc(clamp(30px, 5vw, 46px) * var(--tz, 1)); font-weight: 900; line-height: 1.1; }
.sec-note { margin-top: 8px; color: var(--muted); }

/* ---------- לפני ואחרי ---------- */
.works { display: grid; gap: 28px 20px; grid-auto-flow: dense; }
.work { min-width: 0; }

/* הכרטיס מסתובב סביב הציר האנכי: בצד אחד "אחרי", בצד השני "לפני" */
.flip {
  display: block; width: 100%; padding: 0; border: 0; background: none;
  font: inherit; color: inherit; text-align: start; cursor: pointer;
  aspect-ratio: 3 / 4; perspective: 1400px; border-radius: var(--radius);
  touch-action: manipulation; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
}
.work-wide .flip { aspect-ratio: 3 / 2; }
.flip-inner {
  position: relative; display: block; width: 100%; height: 100%;
  transform-style: preserve-3d;
  transition: transform 620ms cubic-bezier(.3, .1, .2, 1);
}
.flip.is-flipped .flip-inner { transform: rotateY(180deg); }
.flip-face {
  position: absolute; inset: 0; display: block; overflow: hidden;
  border-radius: var(--radius); background: var(--line);
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.flip-before { transform: rotateY(180deg); }
.flip-face img { width: 100%; height: 100%; object-fit: cover; transition: filter 120ms; }
.flip:active .flip-face img { filter: brightness(.93); }

.flip-tag {
  position: absolute; top: 12px; right: 12px;
  background: rgba(15, 35, 54, .86); color: #fff;
  font-size: calc(14px * var(--tz, 1)); font-weight: 700; padding: 3px 14px; border-radius: 999px;
}
.flip-before .flip-tag { background: var(--gold); color: var(--ink); }
.flip-hint {
  position: absolute; bottom: 12px; right: 12px;
  display: flex; align-items: center; gap: 6px;
  background: rgba(255, 255, 255, .93); color: var(--ink);
  font-size: calc(14px * var(--tz, 1)); font-weight: 700; padding: 6px 12px; border-radius: 999px;
}
.flip-hint svg { width: 16px; height: 16px; flex: none; }

.work[hidden] { display: none; }
.works-more { display: flex; width: fit-content; margin: 32px auto 0; min-height: 48px; }
.works-more[hidden] { display: none; }

.work figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; margin-top: 10px; }
.work-title { font-weight: 700; font-size: calc(18px * var(--tz, 1)); line-height: 1.3; }
.work-place { color: var(--muted); }

.more {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px;
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line);
}
.more p { font-size: calc(19px * var(--tz, 1)); font-weight: 500; }

/* ---------- עמוד הפרויקטים ---------- */
.nav a[aria-current="page"] { color: var(--gold-deep); font-weight: 700; }
.page-head { padding-block: 40px 44px; }
.page-head h1 { font-size: calc(clamp(40px, 8vw, 72px) * var(--tz, 1)); font-weight: 900; line-height: 1.05; }
.page-head .eyebrow a { text-decoration: none; }

/* קוביות הפרויקטים: תמונה אחת לכל פרויקט, השם והמקום מתחתיה */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
.tile {
  display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit;
  touch-action: manipulation; -webkit-touch-callout: none;
  transition: box-shadow 200ms var(--ease-out), transform 160ms var(--ease-out);
}
.tile-ph { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--line); overflow: hidden; }
.tile-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms var(--ease-out); }
.tile-tag {
  position: absolute; top: 10px; inset-inline-start: 10px; background: var(--ink); color: #fff;
  font-weight: 700; font-size: calc(13px * var(--tz, 1)); line-height: 1; padding: 6px 10px; border-radius: 999px;
}
.tile-txt { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px 12px; min-width: 0; border-top: 3px solid var(--gold); flex: 1; }
.tile-title { font-weight: 900; font-size: calc(17px * var(--tz, 1)); line-height: 1.25; }
.tile-meta { color: var(--gold-deep); font-weight: 500; font-size: calc(14px * var(--tz, 1)); }
.tile:active { transform: scale(.98); }

/* פרויקט פתוח */
.job { padding-block: 28px 56px; }
.job-back {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-bottom: 18px;
  padding: 8px 16px 8px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  font-weight: 700; text-decoration: none; color: inherit; touch-action: manipulation;
}
.job-back svg { width: 18px; height: 18px; }
.job-back:active { background: var(--line); }
.job-next {
  display: flex; flex-direction: column; gap: 2px; margin-top: 48px; padding: 18px 20px;
  background: var(--ink); color: #fff; border-radius: var(--radius); text-decoration: none;
  border-inline-start: 6px solid var(--gold); touch-action: manipulation;
}
.job-next-label { color: var(--gold-light); font-weight: 700; font-size: calc(14px * var(--tz, 1)); }
.job-next-title { font-weight: 900; font-size: calc(clamp(20px, 3vw, 26px) * var(--tz, 1)); }
.job-next:active { background: #1B3550; }
.job-head h2 { font-size: calc(clamp(28px, 4.6vw, 42px) * var(--tz, 1)); font-weight: 900; line-height: 1.15; }
.job-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.job-facts li {
  background: var(--ink); color: #fff; font-weight: 700; font-size: calc(15px * var(--tz, 1));
  padding: 3px 14px; border-radius: 999px; unicode-bidi: plaintext;
}
.job-summary { margin-top: 14px; font-size: calc(19px * var(--tz, 1)); color: var(--muted); max-width: 60ch; }
.job-body { display: grid; gap: 32px; margin-top: 28px; }
.job-video { max-width: 340px; }
.job-video video {
  display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover;
  background: var(--ink); border-radius: var(--radius);
}
.job-video figcaption { margin-top: 8px; color: var(--muted); font-size: calc(15px * var(--tz, 1)); }
.job-photos h3 { font-size: calc(20px * var(--tz, 1)); font-weight: 900; margin: 28px 0 12px; }
.job-photos h3:first-child { margin-top: 0; }
.thumbs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.thumb {
  display: block; padding: 0; border: 0; background: var(--line); cursor: zoom-in;
  aspect-ratio: 1 / 1; border-radius: 10px; overflow: hidden;
  touch-action: manipulation; -webkit-touch-callout: none;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 200ms var(--ease-out), filter 120ms; }
.thumb:active img { filter: brightness(.9); }

/* תמונה מוגדלת */
.lb {
  width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(10, 22, 34, .96); color: #fff; overflow: hidden;
}
.lb::backdrop { background: rgba(10, 22, 34, .96); }
.lb[open] { display: grid; place-items: center; }
.lb img { max-width: 100vw; max-height: 100dvh; width: auto; height: auto; object-fit: contain; padding: 56px 0 52px; }
.lb-cap { position: absolute; inset-inline: 0; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); text-align: center; font-size: calc(15px * var(--tz, 1)); opacity: .85; }
.lb-btn {
  position: absolute; display: grid; place-items: center; width: 48px; height: 48px;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer;
  touch-action: manipulation; user-select: none; -webkit-user-select: none;
}
.lb-btn:active { background: rgba(255, 255, 255, .3); }
.lb-btn svg { width: 24px; height: 24px; }
.lb-close { top: calc(10px + env(safe-area-inset-top, 0px)); left: 12px; }
/* הקודמת מימין, הבאה משמאל: כיוון הקריאה בעברית */
.lb-prev { top: 50%; right: 10px; margin-top: -24px; }
.lb-next { top: 50%; left: 10px; margin-top: -24px; }
.lb :focus-visible { outline-color: var(--gold-light); }

/* ---------- קורות חיים ---------- */
.about { display: grid; gap: 36px; }
.about-photo {
  width: 100%; max-width: 300px; aspect-ratio: 4 / 5; margin-bottom: 18px;
  border-radius: var(--radius); object-fit: cover; background: var(--line);
}
.about-photo-missing {
  display: grid; place-items: center; text-align: center; padding: 16px;
  aspect-ratio: 3 / 2; background: none; border: 1.5px dashed var(--muted); color: var(--muted); font-size: calc(15px * var(--tz, 1));
}
.about-name { font-size: calc(28px * var(--tz, 1)); font-weight: 900; line-height: 1.2; }
.about-role { font-weight: 700; color: var(--gold-deep); }
.about-years { color: var(--muted); }

.license {
  margin-top: 22px; padding: 18px 20px 6px;
  background: var(--bg); border: 1px solid var(--line); border-top: 4px solid var(--gold);
  border-radius: 4px 4px var(--radius) var(--radius);
}
.license h3 { font-size: calc(17px * var(--tz, 1)); font-weight: 900; margin-bottom: 4px; }
.license-row { padding-block: 10px; border-top: 1px solid var(--line); }
.license-row:first-of-type { border-top: 0; }
.license dt { font-size: calc(14px * var(--tz, 1)); color: var(--muted); }
.license dd { font-weight: 700; }
.license-link {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; margin-top: 8px; padding: 0 14px;
  border: 1.5px solid var(--ink); border-radius: 10px;
  font-weight: 700; text-decoration: none;
  touch-action: manipulation; user-select: none; -webkit-user-select: none;
  transition: transform 120ms var(--ease-out), background-color 120ms;
}
.license-link:active { transform: scale(.97); }
.license-link svg { width: 18px; height: 18px; flex: none; }
.license-note { font-size: calc(14px * var(--tz, 1)); color: var(--muted); padding-block: 8px 12px; }

.about-text p { font-size: calc(19px * var(--tz, 1)); max-width: 60ch; }
.about-text p + p { margin-top: 14px; }

.about-main > h3 { font-size: calc(22px * var(--tz, 1)); font-weight: 900; margin: 38px 0 14px; }

.skills { display: flex; flex-wrap: wrap; gap: 8px; }
.skills li { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 6px 14px; font-weight: 500; }

.points li { position: relative; padding-inline-start: 24px; padding-block: 7px; max-width: 60ch; }
.points li + li { border-top: 1px solid var(--line); }
.points li::before {
  content: ''; position: absolute; inset-inline-start: 2px; top: 17px;
  width: 9px; height: 9px; background: var(--gold); transform: skewX(-22deg);
}

/* ---------- יצירת קשר ---------- */
.contact { background: var(--ink); color: #fff; padding-block: 64px; }
.contact .eyebrow { color: var(--gold-light); }
.contact-main { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.contact-phone {
  font-size: calc(clamp(38px, 9vw, 76px) * var(--tz, 1)); font-weight: 900; line-height: 1.05;
  text-decoration: none; unicode-bidi: isolate;
}
.contact .btn-line { border-color: #fff; }
.contact-list { display: grid; gap: 18px; margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .2); }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list svg { width: 22px; height: 22px; flex: none; margin-top: 3px; color: var(--gold-light); }
.c-label { display: block; font-size: calc(14px * var(--tz, 1)); opacity: .7; }
.c-value { display: block; font-size: calc(19px * var(--tz, 1)); font-weight: 500; overflow-wrap: anywhere; }
.c-note { display: block; font-size: calc(15px * var(--tz, 1)); opacity: .7; }
.c-value a { text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* ---------- תחתית ---------- */
.foot { background: var(--ink); color: #fff; font-size: calc(14px * var(--tz, 1)); }
.foot .wrap { padding-block: 20px; border-top: 1px solid rgba(255, 255, 255, .2); }
.foot p { opacity: .8; }
.foot-links { display: flex; flex-wrap: wrap; gap: 0 22px; margin-top: 6px; }
.foot-links a { padding-block: 10px; font-size: calc(15px * var(--tz, 1)); text-underline-offset: 4px; }

/* טקסט לקוראי מסך בלבד */
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- עמודי מידע: נגישות, פרטיות, תנאי שימוש ---------- */
.doc { padding-block: 40px 72px; max-width: 800px; }
.doc .eyebrow a { text-decoration: none; }
.doc h1 { font-size: calc(clamp(34px, 6vw, 52px) * var(--tz, 1)); font-weight: 900; line-height: 1.1; }
.doc-date { color: var(--muted); margin: 8px 0 28px; }
.doc h2 { font-size: calc(23px * var(--tz, 1)); font-weight: 900; line-height: 1.25; margin: 36px 0 10px; }
.doc p { margin-bottom: 12px; }
.doc ul { list-style: disc; padding-inline-start: 22px; margin-bottom: 12px; }
.doc li { margin-bottom: 6px; }
.doc a { text-underline-offset: 4px; }
.doc main a:focus-visible, .foot :focus-visible { outline-color: var(--gold-light); }

/* ---------- סרגל תחתון בנייד ---------- */
.bar {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 40; display: none; gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(247, 247, 248, .95);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
.bar .btn { flex: 1; }

@media (max-width: 719px) {
  .bar.on { display: flex; }
  body.has-bar { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
  .top-call { display: none; }
  /* תפריט בנייד: שורה שנייה מתחת לשם העסק, נגללת לרוחב אם צר */
  html { scroll-padding-top: 118px; }
  .top-in { flex-wrap: wrap; min-height: 0; gap: 0 24px; }
  .brand { padding-block: 14px; }
  .nav {
    display: flex; order: 3; flex-basis: 100%; margin: 0; gap: 18px;
    overflow-x: auto; scrollbar-width: none; border-top: 1px solid var(--line);
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; padding-block: 10px; font-size: calc(15px * var(--tz, 1)); }
  .job { scroll-margin-top: 110px; }
}

@media (min-width: 720px) {
  .wrap { padding-inline: 32px; }
  .nav { display: flex; }
  .nav + .top-call { margin-inline-start: 0; }
  .hero { grid-template-columns: 1fr minmax(260px, 400px); align-items: center; gap: 48px; padding-block: 80px; }
  .hero-mark { width: 100%; order: 0; }
  .sec, .contact { padding-block: 96px; }
  .sec-head { margin-bottom: 40px; }
  /* במחשב כל הכרטיסים באותו גודל, כדי שכל שורה תהיה ישרה */
  .works { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; grid-auto-flow: row; }
  .works .flip, .works .work-wide .flip { aspect-ratio: 1 / 1; }
  .page-head { padding-block: 64px; }
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
  .tile-title { font-size: calc(19px * var(--tz, 1)); }
  .tile-txt { padding: 14px 18px 16px; }
  .job { padding-block: 40px 80px; }
  .job-body { grid-template-columns: 300px 1fr; gap: 40px; align-items: start; margin-top: 36px; }
  .job-video { position: sticky; top: 86px; }
  /* פרויקט בלי סרטון: התמונות תופסות את כל הרוחב */
  .job-body.no-video { grid-template-columns: 1fr; }
  .job-body.no-video .thumbs { grid-template-columns: repeat(4, 1fr); }
  .thumbs { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .about { grid-template-columns: 300px 1fr; gap: 56px; align-items: start; }
  .about-side { position: sticky; top: 92px; }
  .about-main > h3:first-child { margin-top: 0; }
  .contact-list { grid-template-columns: repeat(2, 1fr); gap: 24px 40px; }
}

@media (min-width: 1000px) {
  .works { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (hover: hover) and (pointer: fine) {
  .nav a:hover { color: var(--gold-deep); }
  .btn-main:hover { background: var(--gold-press); }
  .btn-ink:hover { background: #1B3550; }
  .btn-line:hover, .license-link:hover { background: rgba(15, 35, 54, .06); }
  .contact .btn-line:hover { background: rgba(255, 255, 255, .1); }
  .contact-phone:hover { color: var(--gold-light); }
  .flip:hover .flip-hint { background: var(--gold); }
  .thumb:hover img { transform: scale(1.04); }
  .tile:hover { box-shadow: 0 10px 28px rgba(15, 35, 54, .14); }
  .tile:hover .tile-ph img { transform: scale(1.04); }
  .job-back:hover { background: rgba(15, 35, 54, .06); }
  .job-next:hover { background: #1B3550; }
  .lb-btn:hover { background: rgba(255, 255, 255, .26); }
  .page-head .eyebrow a:hover { text-decoration: underline; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .flip-inner, .flip-face img, .thumb img, .tile, .tile-ph img { transition: none; }
}
