/* =========================================================
   ATARA'S Advertising studio — עיצוב
   ========================================================= */

@font-face { font-family: 'Tzar'; src: url('../fonts/tzar-bold.woff') format('woff'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Neue'; src: url('../fonts/neue-regular.woff') format('woff'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Neue'; src: url('../fonts/neue-medium.woff') format('woff'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Neue'; src: url('../fonts/neue-demibold.woff') format('woff'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Neue'; src: url('../fonts/neue-bold.woff') format('woff'); font-weight: 700; font-display: swap; }

:root {
  --cyan: #00FFFF;
  --black: #000;
  --white: #fff;
  --dim: #002828;          /* מילת נושא פתוחה — שחור 84% מעל ציאן */
  --line: rgba(255,255,255,.18);
  --gutter: clamp(16px, 5.2vw, 100px);
  --maxw: 1720px;
  --track: .1257em;        /* ריווח האותיות של הכותרות הקטנות והניווט */
  --ease: cubic-bezier(.22,.8,.24,1);
  --display: 'Tzar', 'Almoni Tzar DL 4.0 AAA', 'Heebo', sans-serif;
  --body: 'Neue', 'Almoni Neue DL 4.0 AAA', 'Assistant', 'Heebo', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--black);
  font-family: var(--body); font-size: clamp(17px, 1.1vw, 21px); line-height: 1.6;
  direction: rtl; overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.on-cyan :focus-visible { outline-color: var(--black); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.outline { color: transparent; -webkit-text-stroke: var(--stroke, 2px) var(--sc, #000); }
.work, .leisure, .page-dark, .modal__card, .mobilemenu { --sc: #fff; }
.tracked { letter-spacing: var(--track); }
.skip { position: absolute; top: -60px; right: 16px; background: var(--black); color: var(--white); padding: 10px 18px; z-index: 999; border-radius: 99px; }
.skip:focus { top: 16px; }

/* ---------- כפתור כמוסה ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: .55em 1.6em; border-radius: 999px;
  border: 2.5px solid currentColor; font-weight: 500; line-height: 1.2; text-align: center;
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease), border-color .35s;
}
.pill--white { background: var(--white); color: var(--black); border-color: var(--black); }
.pill--ghost-w { color: var(--white); }
.pill--ghost-w:hover { background: var(--white); color: var(--black); }
.pill--cyan { color: var(--black); border-color: var(--cyan); }
.pill--cyan:hover { background: var(--cyan); }
.pill--black { background: var(--black); color: var(--white); border-color: var(--black); }
.pill--black:hover { background: var(--cyan); color: var(--black); border-color: var(--cyan); }

/* ---------- ניווט עליון ---------- */
.topbar {
  position: absolute; inset: 0 0 auto 0; z-index: 30;
  display: flex; flex-direction: row-reverse; align-items: center; justify-content: space-between;
  padding: clamp(20px, 3vw, 56px) var(--gutter) 0;
}
.topbar__logo { width: clamp(92px, 7.8vw, 150px); }
.topbar__logo img { width: 100%; }
.topbar--light .topbar__logo img { filter: invert(1); }
.topnav { display: flex; gap: clamp(14px, 2.2vw, 44px); font-size: clamp(14px, 1vw, 19px); font-weight: 600; letter-spacing: var(--track); }
.topnav a { position: relative; padding-block: 6px; }
.topnav a::after { content: ''; position: absolute; inset: auto 0 0 0; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.topnav a:hover::after, .topnav a[aria-current="page"]::after { transform: scaleX(1); }
.topbar--light { color: var(--white); }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 2px solid currentColor; position: relative; }
.burger span, .burger span::before, .burger span::after { position: absolute; right: 11px; width: 20px; height: 2px; background: currentColor; content: ''; transition: transform .3s var(--ease), opacity .3s; }
.burger span { top: 21px; } .burger span::before { top: -6px; right: 0; } .burger span::after { top: 6px; right: 0; }

/* ---------- תפריט צד נצמד ---------- */
.siderail {
  position: fixed; top: 50%; right: 0; z-index: 40; transform: translate(110%, -50%);
  display: flex; flex-direction: column; gap: 6px; padding: 18px 10px;
  background: var(--black); color: var(--white); border-radius: 22px 0 0 22px;
  transition: transform .6s var(--ease);
}
.siderail.is-visible { transform: translate(0, -50%); }
.siderail a {
  writing-mode: vertical-rl; font-size: 15px; font-weight: 500; letter-spacing: var(--track);
  padding: 12px 6px; border-radius: 99px; transition: background .3s, color .3s;
}
.siderail a:hover, .siderail a[aria-current="page"] { background: var(--cyan); color: var(--black); }

/* תפריט מובייל */
.mobilemenu {
  position: fixed; inset: 0; z-index: 90; background: var(--black); color: var(--white);
  display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 80px var(--gutter);
  clip-path: circle(0 at calc(100% - 44px) 44px); transition: clip-path .7s var(--ease); visibility: hidden;
}
.mobilemenu.is-open { clip-path: circle(150% at calc(100% - 44px) 44px); visibility: visible; }
.mobilemenu a { font-family: var(--display); font-size: clamp(48px, 15vw, 90px); line-height: 1; }
.mobilemenu a:nth-child(even) { color: transparent; -webkit-text-stroke: 1.5px var(--cyan); }
.mobilemenu__close { position: absolute; top: 20px; right: 16px; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--white); font-size: 24px; line-height: 1; }

/* =========================================================
   עמוד הבית — הירו
   ========================================================= */
.hero { position: relative; background: var(--cyan); padding: clamp(110px, 10vw, 200px) 0 clamp(90px, 14vw, 260px); overflow: hidden; }
.hero__tagline { position: absolute; top: clamp(26px, 3.4vw, 64px); left: 50%; transform: translateX(-50%); font-size: clamp(12px, .95vw, 18px); font-weight: 600; letter-spacing: var(--track); white-space: nowrap; direction: ltr; }
.headline {
  position: relative; margin: 0; font-family: var(--display); font-weight: 700;
  font-size: clamp(46px, 9.75vw, 196px); line-height: .82; letter-spacing: -.005em;
  padding-inline: clamp(16px, 3.6vw, 70px); --stroke: clamp(1.4px, .16vw, 3px);
}
.headline__line { display: flex; justify-content: space-between; gap: .18em; }
.headline .w { display: inline-block; will-change: transform; transform-origin: 50% 100%; animation: breeze var(--dur, 7s) ease-in-out var(--delay, 0s) infinite; }
.headline .w.outline { -webkit-text-stroke: var(--stroke) var(--black); }
.headline .w, .headline .wi { white-space: nowrap; }
.headline .wi { display: inline-block; will-change: transform; }
.headline .wl { display: inline-block; will-change: transform; }
.headline .w { cursor: default; }
.headline .w.flicker { animation: breeze var(--dur, 7s) ease-in-out var(--delay, 0s) infinite, fillflicker 9s steps(1) var(--fdelay, 0s) infinite; }
@keyframes breeze {
  0%, 100% { transform: translate3d(0,0,0) skewX(0deg); }
  25%  { transform: translate3d(calc(var(--amp, 1) * -3px), calc(var(--amp, 1) * -1.5px), 0) skewX(calc(var(--amp,1) * -1.4deg)); }
  50%  { transform: translate3d(calc(var(--amp, 1) * 1.5px), 0, 0) skewX(calc(var(--amp,1) * .6deg)); }
  75%  { transform: translate3d(calc(var(--amp, 1) * -1px), calc(var(--amp, 1) * 1px), 0) skewX(calc(var(--amp,1) * -.5deg)); }
}
@keyframes fillflicker { 0%, 88%, 100% { color: transparent; } 90%, 96% { color: var(--black); } }

/* כמוסות ההירו */
.hero-pill {
  position: absolute; z-index: 5; background: var(--white); color: var(--black);
  border: 2.5px solid var(--black); border-radius: 999px; font-weight: 700; letter-spacing: var(--track);
  font-size: clamp(13px, 1.05vw, 20px); padding: .8em 2.1em; white-space: nowrap;
  box-shadow: 0 0 0 0 rgba(0,0,0,0); transition: box-shadow .3s, background .3s;
}
.hero-pill:hover { background: var(--black); color: var(--white); }
.hero-pill--who { top: 24%; left: 13.6%; animation: swayX 4.8s ease-in-out infinite; }
.hero-pill--what { top: 37%; right: 11%; --r: 22deg; animation: swayX 5.6s ease-in-out .8s infinite; }
.hero-pill--port { top: 55%; left: 48.3%; writing-mode: vertical-rl; padding: 2.1em .8em; animation: swayY 5.2s ease-in-out .3s infinite; }
@keyframes swayX { 0%,100% { transform: translateX(0) rotate(var(--r,0deg)); } 50% { transform: translateX(clamp(10px, 1.3vw, 26px)) rotate(var(--r,0deg)); } }
@keyframes swayY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(clamp(10px, 1.3vw, 26px)); } }

/* =========================================================
   תשמעו מי אנחנו
   ========================================================= */
.about { background: var(--cyan); padding: clamp(40px, 6vw, 120px) 0 clamp(80px, 8vw, 160px); text-align: center; position: relative; }
.display-xl { font-family: var(--display); font-weight: 700; line-height: .85; margin: 0; }
.about__title { font-size: clamp(64px, 9.6vw, 184px); --stroke: clamp(1.4px, .14vw, 2.6px); }
.about__sub { margin: .8em auto 0; font-size: clamp(16px, 1.15vw, 22px); }
.qcloud { position: relative; width: min(1065px, 92%); aspect-ratio: 1065 / 300; margin: clamp(44px, 5vw, 96px) auto 0; container-type: inline-size; }
.q {
  position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); z-index: var(--z);
  width: 25.4%; height: 22%; translate: -50% -50%; transform: rotate(calc(var(--r) * 1deg));
  font-size: 2.75cqw; transition: transform .35s var(--ease);
}
.q:hover { z-index: 12; }
.q.is-open { z-index: 20; }
.q__inner { display: block; position: relative; width: 100%; height: 100%; transition: transform .16s cubic-bezier(.5,0,.75,0); }
.q.is-flipping .q__inner { transform: scaleY(0.04); }
.q__face {
  position: absolute; inset: 0; display: grid; place-items: center; padding: 0 1em; border-radius: 999px;
  border: clamp(2px, .28cqw, 3px) solid var(--white); font-weight: 600; line-height: 1.05; letter-spacing: -.02em; text-align: center; white-space: nowrap;
}
/* הטקסט מעל קווי הכמוסות שעוברים מעליו — הילה עדינה בצבע הרקע */
.q__face--front .q__t { position: relative; text-shadow: 0 0 3px var(--cyan), 0 0 6px var(--cyan), 0 0 10px var(--cyan); }
.q__face--front { transition: background .3s; }
.q:hover .q__face--front { background: rgba(255,255,255,.3); }
.q__face--back { visibility: hidden; background: var(--white); white-space: normal; font-size: .8em; line-height: 1.08; box-shadow: 0 10px 30px -12px rgba(0,0,0,.25); }
.q.is-open .q__face--front { visibility: hidden; }
.q.is-open .q__face--back { visibility: visible; }
/* תשובה ארוכה — הכמוסה הפתוחה מתרחבת קצת */
.q.is-open .q__inner { width: 128%; margin-inline-start: -14%; }

/* לוגואים — קנדי קראש */
.brands { background: var(--cyan); padding-bottom: clamp(140px, 17vw, 330px); text-align: center; }
.brands__title { font-family: var(--display); font-weight: 700; font-size: clamp(34px, 3.6vw, 68px); line-height: 1; margin: 0 0 .35em; }
/* "תעשו רוח" — שורה קטנה ועדינה, כמו דרך אגב */
.brands__play { font-size: clamp(14px, .95vw, 17px); font-weight: 500; margin: 0 0 clamp(30px, 4vw, 70px); opacity: .85; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 10px; }
.brands__play strong { font-weight: 700; }
.brands__hint, .brands__count { display: inline-block; font-size: .82em; font-weight: 600; letter-spacing: .04em; padding: .2em .8em; border: 1.5px solid rgba(0,0,0,.55); border-radius: 99px; }
.brands__count { border-color: transparent; background: rgba(0,0,0,.08); transition: transform .3s cubic-bezier(.3,1.8,.5,1); }
.brands__play.is-bump .brands__count { transform: scale(1.15) rotate(-3deg); }
.logogrid {
  --cols: 6; display: grid; grid-template-columns: repeat(calc(var(--cols) * 2), minmax(0, 1fr)); gap: clamp(10px, 2.2vw, 40px) clamp(10px, 3vw, 60px);
  width: min(1520px, 100%); margin-inline: auto; padding-inline: var(--gutter);
}
.logogrid__cell { grid-column: span 2; position: relative; aspect-ratio: 2 / 1; display: grid; place-items: center; }
.logo-tile { width: 100%; height: 100%; display: grid; place-items: center; will-change: transform; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-drag: none; }
.logo-tile:active { cursor: grabbing; }
.logo-tile img { max-width: 82%; max-height: 72%; object-fit: contain; pointer-events: none; user-select: none; }
.logo-tile img.is-tall { max-width: 60%; max-height: 62%; }
.logo-tile img.is-wide { max-width: 100%; max-height: 80%; object-fit: contain; pointer-events: none; user-select: none; }
.logo-tile:hover { animation: jelly .6s; }
a.logo-tile.is-link { cursor: pointer; border-radius: 16px; transition: background .3s; }
a.logo-tile.is-link:hover { background: rgba(255,255,255,.45); }
.logogrid.is-shake { animation: gridshake .32s cubic-bezier(.36,.07,.19,.97); }
@keyframes gridshake { 10%,90% { transform: translate(-1px,0); } 20%,80% { transform: translate(3px,-1px); } 30%,50%,70% { transform: translate(-5px,2px); } 40%,60% { transform: translate(5px,-2px); } }
@keyframes jelly { 0%,100% { transform: scale(1,1); } 30% { transform: scale(1.18,.84); } 50% { transform: scale(.9,1.1); } 70% { transform: scale(1.05,.96); } }
.logo-tile.is-pop { animation: pop .42s cubic-bezier(.5,0,.75,.2) forwards; }
@keyframes pop { 0% { transform: none; } 25% { transform: scale(1.3) rotate(-8deg); opacity: 1; } 100% { transform: translate(-60%, -160%) rotate(-35deg) scale(.6); opacity: 0; } }
.logo-tile.is-drop { animation: drop .55s cubic-bezier(.3,1.6,.5,1) both; }
@keyframes drop { 0% { transform: translateY(-160%); opacity: 0; } 60% { opacity: 1; } 100% { transform: translateY(0); } }
.logogrid__cell.is-sparkle::after {
  content: ''; position: absolute; inset: 15%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255,255,255,.95) 0 8%, rgba(255,255,255,0) 60%);
  animation: sparkle .55s ease-out forwards;
}
@keyframes sparkle { from { transform: scale(.2); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

/* =========================================================
   הפרויקטים (שחור)
   ========================================================= */
.work { position: relative; display: flow-root; background: var(--black); color: var(--white); padding-bottom: clamp(110px, 11vw, 220px); }
.work__giant {
  position: relative; margin: 0; margin-top: calc(-0.58 * 27vw); margin-bottom: -7vw; z-index: 2; pointer-events: none;
  font-family: var(--display); font-size: 27vw; line-height: .8; text-align: center; white-space: nowrap;
  color: transparent; -webkit-text-stroke: clamp(1px, .15vw, 3px) var(--white); letter-spacing: -.01em;
}
.tiles { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.8vw, 52px); width: min(1640px, 100%); margin: clamp(110px, 11vw, 210px) auto 0; padding-inline: var(--gutter); }
.tile { position: relative; aspect-ratio: 1; overflow: hidden; background: #062c2c; isolation: isolate; }
.tile img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: transform 1s var(--ease), filter .6s; }
.tile::before { content: ''; position: absolute; inset: 0; z-index: 1; background: var(--cyan); mix-blend-mode: multiply; opacity: .78; transition: opacity .6s; }
.tile::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(0,0,0,.45), rgba(0,0,0,.05) 60%); }
.tile__name {
  position: absolute; inset: auto 0 0 0; z-index: 2; padding: 1em; text-align: center; color: var(--white);
  font-weight: 700; letter-spacing: var(--track); font-size: clamp(15px, 1.35vw, 26px); line-height: 1.15; padding: 1.2em;
  transition: transform .5s var(--ease);
}
.tile:hover img, .tile:focus-visible img { transform: scale(1.07); filter: none; }
.tile:hover::before, .tile:focus-visible::before { opacity: 0; }
.tile:hover .tile__name { transform: translateY(-6px); }
.work__more { display: flex; justify-content: center; margin-top: clamp(60px, 6vw, 120px); }
.work__more .pill { min-width: min(460px, 90%); font-size: clamp(16px, 1.25vw, 24px); font-weight: 700; }
.work__more .pill:hover { background: var(--cyan); color: var(--black); border-color: var(--cyan); }
.arrows { display: inline-block; animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 0%,100% { transform: translateX(0); } 50% { transform: translateX(-8px); } }

/* =========================================================
   שעות הפנאי
   ========================================================= */
.leisure { background: var(--black); color: var(--white); padding: clamp(40px, 5vw, 90px) 0 clamp(80px, 9vw, 170px); overflow: hidden; }
.leisure__grid { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(220px, 1fr); gap: 0 clamp(30px, 5vw, 100px); align-items: end; }
.leisure__kicker { grid-column: 1 / -1; justify-self: start; font-weight: 700; letter-spacing: var(--track); font-size: clamp(15px, 1.1vw, 21px); margin: 0 0 -.2em; position: relative; z-index: 1; }
.topics { grid-column: 1; grid-row: 2; position: relative; display: flex; flex-direction: column; align-items: flex-start; }
.topic { position: relative; display: block; width: 100%; text-align: right; margin-top: -.12em; }
.topic:first-child { margin-top: 0; }
.topic__word {
  display: block; font-family: var(--display); font-size: clamp(64px, 13.4vw, 260px); line-height: .78;
  color: var(--cyan); transition: color .5s var(--ease), -webkit-text-stroke-color .5s, transform .6s var(--ease); --stroke: clamp(1.4px, .14vw, 2.6px);
}
.topic--outline .topic__word { color: transparent; -webkit-text-stroke: var(--stroke) var(--cyan); }
.topic:hover .topic__word { transform: translateX(-14px); }
.topic--fill:hover .topic__word { color: transparent; -webkit-text-stroke: var(--stroke) var(--cyan); }
.topic--outline:hover .topic__word { color: var(--cyan); }
.topic.is-open .topic__word { color: var(--dim); -webkit-text-stroke: var(--stroke) var(--dim); transform: none; }
.topic__plus { position: absolute; left: 0; top: 50%; translate: 0 -50%; width: clamp(38px, 3vw, 56px); height: clamp(38px, 3vw, 56px); border: 2px solid var(--cyan); border-radius: 50%; color: var(--cyan); display: grid; place-items: center; font-size: 26px; line-height: 1; transition: transform .5s var(--ease), background .3s, color .3s; }
.topic:hover .topic__plus { background: var(--cyan); color: var(--black); }
.topic.is-open .topic__plus { transform: rotate(45deg); }
.topic__text {
  position: absolute; top: 0; right: 0; width: min(100% - 4.5em, 44em); z-index: 2; display: flex; align-items: center; min-height: 100%;
  padding: .4em 0; font-size: clamp(16px, 1.15vw, 22px); line-height: 1.55; color: var(--white); text-align: right;
  opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.topic.is-open .topic__text { opacity: 1; transform: none; transition-delay: .12s; }
.leisure__side { grid-column: 2; grid-row: 2; align-self: end; justify-self: end; max-width: 300px; font-size: clamp(16px, 1.15vw, 22px); line-height: 1.5; }
.leisure__side strong { color: var(--cyan); }
.leisure__hint { font-size: 14px; letter-spacing: var(--track); opacity: .6; margin-top: 1.4em; }

/* =========================================================
   פוטר — בואו נדבר על זה
   ========================================================= */
.contact { background: var(--white); padding: clamp(70px, 8vw, 150px) 0 clamp(30px, 3vw, 50px); }
.contact__head { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.contact__title { font-size: clamp(56px, 8.7vw, 168px); }
.contact__en { margin-top: -.06em; line-height: .85; direction: ltr; font-size: clamp(44px, 7.2vw, 140px); color: transparent; -webkit-text-stroke: clamp(1px, .1vw, 2px) var(--black); }
.contact__pills { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: clamp(30px, 3vw, 54px); }
.contact__pills .pill { min-height: 58px; font-size: clamp(15px, 1.05vw, 19px); }
.contact__pills .magnet { will-change: transform; }
.footer-bottom { margin-top: clamp(50px, 6vw, 110px); padding-top: clamp(30px, 3vw, 54px); border-top: 2px solid var(--cyan); display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: 30px; font-size: clamp(15px, 1.02vw, 19px); line-height: 1.5; }
.footer-bottom p { margin: 0; }
.footer-bottom__logo { width: clamp(120px, 10vw, 190px); }
.footer-bottom__credits { text-align: left; direction: rtl; justify-self: end; text-align: right; }

/* קרדיטים — גלגלת כמו בסוף סרט */
.credits { position: relative; justify-self: end; width: min(100%, 360px); height: 11.5em; overflow: hidden; text-align: center; cursor: default;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent); }
.credits__reel { animation: creditsroll 26s linear infinite; }
.credits:hover .credits__reel, .credits:focus-within .credits__reel { animation-play-state: paused; }
@keyframes creditsroll { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.credits__item { padding: .55em 0; }
.credits__role { display: block; font-size: .72em; letter-spacing: var(--track); font-weight: 700; color: #00a5a5; }
.credits__name { display: block; font-family: var(--display); font-size: 1.45em; line-height: 1; }
.credits__note { display: block; font-size: .9em; line-height: 1.35; padding-top: .2em; }
.credits__end { font-family: var(--display); font-size: 2.2em; line-height: 1; padding: .4em 0 1.2em; }
.credits__end small { display: block; font-family: var(--body); font-size: .36em; letter-spacing: var(--track); font-weight: 700; margin-top: .5em; }

/* =========================================================
   מודל + קונפטי
   ========================================================= */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; visibility: hidden; }
.modal.is-open { visibility: visible; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.55); backdrop-filter: blur(6px); opacity: 0; transition: opacity .4s; }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal__card {
  position: relative; width: min(760px, 100%); background: var(--black); color: var(--white);
  border: 3px solid var(--cyan); border-radius: 36px; padding: clamp(36px, 5vw, 70px) clamp(24px, 4vw, 64px) clamp(30px, 4vw, 56px);
  text-align: center; transform: translateY(40px) scale(.94) rotate(-1.5deg); opacity: 0; transition: transform .6s cubic-bezier(.3,1.4,.5,1), opacity .4s;
}
.modal.is-open .modal__card { transform: none; opacity: 1; }
.modal__close { position: absolute; top: 18px; left: 18px; width: 48px; height: 48px; border-radius: 50%; border: 2.5px solid var(--white); font-size: 26px; line-height: 1; display: grid; place-items: center; transition: background .3s, color .3s; }
.modal__close:hover { background: var(--white); color: var(--black); }
.modal__kicker { font-weight: 700; letter-spacing: var(--track); color: var(--cyan); font-size: 15px; }
.modal__title { font-family: var(--display); font-size: clamp(40px, 5.6vw, 84px); line-height: .9; margin: .25em 0 .35em; }
.modal__title .outline { -webkit-text-stroke: clamp(1px,.12vw,2px) var(--cyan); }
.modal__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 10px; }
.modal__actions .pill { min-width: 180px; }
.modal__actions .pill--cyan { color: var(--white); }
.modal__actions .pill--cyan:hover { color: var(--black); }
.form-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 18px; }
.form-row input { flex: 1 1 220px; min-height: 54px; border-radius: 99px; border: 2.5px solid var(--white); background: transparent; color: var(--white); padding: 0 1.3em; font: inherit; }
.form-row input::placeholder { color: rgba(255,255,255,.6); }
.form-note { font-size: 14px; opacity: .65; margin-top: 14px; }
#confetti { position: fixed; inset: 0; z-index: 105; pointer-events: none; width: 100%; height: 100%; }

/* =========================================================
   עמודים פנימיים — פורטפוליו
   ========================================================= */
.page-dark { background: var(--black); color: var(--white); min-height: 100vh; }
.inner-head { padding-top: clamp(120px, 11vw, 210px); }
.page-title { font-family: var(--display); font-size: clamp(64px, 11vw, 210px); line-height: .8; margin: 0; }
.page-title .outline { -webkit-text-stroke: clamp(1px, .12vw, 2.4px) var(--white); }
.page-lead { max-width: 640px; margin: 1em 0 0; font-size: clamp(17px, 1.2vw, 22px); color: rgba(255,255,255,.8); }

.tabs { display: flex; justify-content: center; gap: clamp(8px, 1vw, 18px); margin-top: clamp(40px, 5vw, 80px); }
.tab {
  min-width: min(420px, 46vw); min-height: 58px; padding: 0 1.2em; font-weight: 700; letter-spacing: var(--track);
  font-size: clamp(14px, 1.15vw, 21px); background: var(--white); color: var(--black); transition: background .3s, color .3s;
}
.tab[aria-selected="true"] { background: var(--cyan); color: var(--black); }
.tab:not([aria-selected="true"]):hover { background: #d8ffff; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: clamp(30px, 3vw, 50px) 0 clamp(26px, 3vw, 50px); }
.chip { min-height: 40px; padding: 0 1.1em; border-radius: 99px; border: 1.5px solid rgba(255,255,255,.4); font-size: 15px; font-weight: 500; transition: background .3s, color .3s, border-color .3s; }
.chip:hover { border-color: var(--white); }
.chip[aria-pressed="true"] { background: var(--white); color: var(--black); border-color: var(--white); }
.chip sup { font-size: .7em; opacity: .6; margin-inline-start: 3px; }

/* כרטיסי פרויקט — בהשראת ברפלד + מרקרו */
.pgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.pcard { position: relative; display: block; padding: clamp(18px, 2vw, 34px); border-bottom: 1px solid var(--line); cursor: none; }
.pcard:nth-child(odd) { border-left: 1px solid var(--line); }
.pcard__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #0b0b0b; }
.pcard__media > img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .6s; }
.pcard__media::after { content: ''; position: absolute; inset: 0; background: var(--cyan); mix-blend-mode: color; opacity: 0; transition: opacity .5s; }
.pcard:hover .pcard__media > img { transform: scale(1.045); }
.pcard:hover .pcard__media::after { opacity: .5; }
.collage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 4%; padding: 6% 7%; background: var(--bg, #111); }
.collage img { height: 86%; width: auto; aspect-ratio: 1131/1600; object-fit: cover; box-shadow: 0 20px 40px -18px rgba(0,0,0,.7); transition: transform .9s var(--ease); }
.collage img:nth-child(1) { transform: rotate(-4deg) translateY(4%); }
.collage img:nth-child(3) { transform: rotate(4deg) translateY(4%); }
.pcard:hover .collage img:nth-child(1) { transform: rotate(-7deg) translate(-6%, 2%); }
.pcard:hover .collage img:nth-child(2) { transform: translateY(-3%); }
.pcard:hover .collage img:nth-child(3) { transform: rotate(7deg) translate(6%, 2%); }
.pcard__meta { display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: 18px; margin-top: 18px; }
.pcard__num { font-size: 14px; font-weight: 600; letter-spacing: var(--track); color: var(--cyan); padding-top: .55em; font-variant-numeric: tabular-nums; }
.pcard__name { font-family: var(--display); font-size: clamp(30px, 2.6vw, 50px); line-height: .95; margin: 0; }
.pcard__tag { margin: .35em 0 0; color: rgba(255,255,255,.72); font-size: clamp(15px, 1.02vw, 19px); line-height: 1.45; }
.pcard__info { text-align: left; font-size: 13px; letter-spacing: .06em; color: rgba(255,255,255,.6); padding-top: .6em; white-space: nowrap; }
.pcard__arrow { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-top: 8px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.5); font-size: 20px; transition: background .3s, color .3s, transform .5s var(--ease), border-color .3s; }
.pcard:hover .pcard__arrow { background: var(--cyan); color: var(--black); border-color: var(--cyan); transform: translateX(-6px); }
.pcard.is-hidden { display: none; }

/* בועת "צפייה" שעוקבת אחרי העכבר */
.cursor-bubble {
  position: fixed; top: 0; left: 0; z-index: 80; width: 108px; height: 108px; margin: -54px 0 0 -54px; border-radius: 50%;
  background: var(--cyan); color: var(--black); display: grid; place-items: center; font-weight: 700; letter-spacing: var(--track); font-size: 15px;
  pointer-events: none; transform: translate(var(--cx, -200px), var(--cy, -200px)) scale(0); transition: transform .35s var(--ease);
}
.cursor-bubble.is-on { transform: translate(var(--cx), var(--cy)) scale(1); }

/* גלריית המודעות */
.masonry { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: clamp(14px, 1.6vw, 28px); align-items: start; }
.ad { margin: 0; position: relative; display: block; width: 100%; text-align: right; }
.ad img { width: 100%; height: auto; background: #111; transition: transform .8s var(--ease), filter .5s; }
.ad__frame { overflow: hidden; position: relative; }
.ad__over { position: absolute; inset: auto 0 0 0; padding: 40px 14px 12px; background: linear-gradient(to top, rgba(0,0,0,.85), transparent); color: var(--white); transform: translateY(100%); transition: transform .5s var(--ease); }
.ad__over strong { display: block; font-size: 17px; line-height: 1.25; }
.ad__over span { font-size: 13px; letter-spacing: .05em; color: var(--cyan); }
.ad:hover img, .ad:focus-visible img { transform: scale(1.04); }
.ad:hover .ad__over, .ad:focus-visible .ad__over { transform: none; }
.ad.is-hidden { display: none; }

/* סוף הגלריה — כפתורי המשך */
.endnav { text-align: center; padding: clamp(60px, 7vw, 130px) 0 clamp(10px, 2vw, 30px); }
.endnav__title { font-family: var(--display); font-size: clamp(44px, 6vw, 110px); line-height: .9; margin: 0 0 .45em; }
.endnav__title .outline { -webkit-text-stroke: clamp(1px,.12vw,2.2px) var(--cyan); }
.endnav__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.endnav__btns .pill { min-width: 210px; min-height: 58px; font-size: clamp(16px, 1.15vw, 20px); font-weight: 700; }
.pill--cyan-fill { background: var(--cyan); color: var(--black); border-color: var(--cyan); }
.pill--cyan-fill:hover { background: var(--white); border-color: var(--white); }

/* לייטבוקס */
.lightbox { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: clamp(16px, 3vw, 60px); visibility: hidden; }
.lightbox.is-open { visibility: visible; }
.lightbox__bg { position: absolute; inset: 0; background: rgba(0,0,0,.82); backdrop-filter: blur(10px); opacity: 0; transition: opacity .4s; }
.lightbox.is-open .lightbox__bg { opacity: 1; }
.lightbox__body { position: relative; display: grid; grid-template-columns: auto minmax(240px, 420px); gap: clamp(20px, 3vw, 60px); align-items: start; max-height: 100%; color: var(--white); opacity: 0; transform: scale(.97); transition: opacity .4s, transform .5s var(--ease); }
.lightbox.is-open .lightbox__body { opacity: 1; transform: none; }
.lightbox__img { height: min(calc(100vh - 2 * clamp(16px, 3vw, 60px)), 1100px); max-width: 58vw; width: auto; object-fit: contain; box-shadow: 0 30px 80px -30px rgba(0,0,0,.9); }
.lightbox__text { padding-top: 10px; }
.lightbox__client { color: var(--cyan); font-weight: 600; letter-spacing: var(--track); font-size: 15px; }
.lightbox__title { font-family: var(--display); font-size: clamp(34px, 3.3vw, 62px); line-height: .95; margin: .25em 0 .4em; }
.lightbox__desc { font-size: clamp(16px, 1.15vw, 21px); line-height: 1.6; color: rgba(255,255,255,.85); margin: 0; }
.lightbox__link { margin-top: 26px; }
.lightbox__nav { display: flex; gap: 10px; margin-top: 30px; }
.lightbox__nav button, .lightbox__close { width: 52px; height: 52px; border-radius: 50%; border: 2.5px solid var(--white); color: var(--white); display: grid; place-items: center; font-size: 22px; transition: background .3s, color .3s; }
.lightbox__nav button:hover, .lightbox__close:hover { background: var(--white); color: var(--black); }
.lightbox__close { position: absolute; top: clamp(14px, 2vw, 34px); left: clamp(14px, 2vw, 34px); z-index: 2; }
.lightbox__count { font-size: 13px; letter-spacing: .1em; opacity: .6; margin-top: 12px; font-variant-numeric: tabular-nums; }

/* =========================================================
   עמוד פרויקט
   ========================================================= */
.project-head { padding-top: clamp(120px, 11vw, 210px); }
.project-title { text-align: center; border-block: 2px solid var(--cyan); padding: clamp(20px, 2.4vw, 44px) 0; margin: 0; }
.project-title h1 { font-family: var(--display); font-weight: 700; font-size: clamp(42px, 5.2vw, 100px); line-height: .9; margin: 0; }
.project-title p { margin: .5em 0 0; color: var(--cyan); letter-spacing: var(--track); font-weight: 600; font-size: clamp(13px, .95vw, 17px); }
.project-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(30px, 6vw, 120px); margin: clamp(40px, 5vw, 90px) 0; }
.project-tagline { font-family: var(--display); font-size: clamp(32px, 3.3vw, 64px); line-height: 1; margin: 0; color: var(--cyan); position: sticky; top: 40px; align-self: start; }
.project-body { font-size: clamp(17px, 1.2vw, 22px); line-height: 1.7; color: rgba(255,255,255,.88); }
.project-body p { margin: 0 0 1em; }
.project-body h2 { font-size: 15px; letter-spacing: var(--track); color: var(--cyan); margin: 2em 0 .5em; font-weight: 700; }
.project-body h2:first-child { margin-top: 0; }
.project-body strong { color: var(--white); }
.project-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2em; }
.project-meta span { border: 1.5px solid rgba(255,255,255,.35); border-radius: 99px; padding: .2em .9em; font-size: 14px; }

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(10px, 1.1vw, 20px); }
.bento figure { margin: 0; overflow: hidden; background: #0b0b0b; position: relative; cursor: zoom-in; }
.bento img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.bento figure:hover img { transform: scale(1.035); }
.bento .b-big { grid-column: span 4; grid-row: span 2; }
.bento .b-side { grid-column: span 2; }
.bento .b-half { grid-column: span 3; aspect-ratio: 3/2; }
.bento .b-full { grid-column: span 6; aspect-ratio: 16/8; }
.bento .b-big, .bento .b-side { aspect-ratio: auto; }
.bento .b-side { aspect-ratio: 3/2; }
.adrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(12px, 1.4vw, 26px); margin-top: clamp(12px, 1.4vw, 26px); }
.adrow figure { margin: 0; cursor: zoom-in; overflow: hidden; }
.adrow img { width: 100%; transition: transform .9s var(--ease); }
.adrow figure:hover img { transform: scale(1.035); }
.section-label { font-size: 15px; letter-spacing: var(--track); font-weight: 700; color: var(--cyan); margin: clamp(50px, 5vw, 90px) 0 18px; display: flex; align-items: center; gap: 16px; }
.section-label::after { content: ''; flex: 1; height: 1px; background: var(--line); }

.pn { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); margin-top: clamp(70px, 7vw, 130px); }
.pn a { padding: clamp(26px, 3vw, 50px) 0; display: block; }
.pn a:last-child { text-align: left; border-right: 1px solid var(--line); padding-right: 30px; }
.pn small { display: block; color: var(--cyan); letter-spacing: var(--track); font-weight: 600; font-size: 14px; }
.pn strong { font-family: var(--display); font-size: clamp(30px, 3vw, 58px); line-height: 1; font-weight: 700; display: inline-block; transition: transform .5s var(--ease); }
.pn a:first-child:hover strong { transform: translateX(10px); }
.pn a:last-child:hover strong { transform: translateX(-10px); }

.cta-band { background: var(--cyan); color: var(--black); text-align: center; padding: clamp(60px, 7vw, 130px) var(--gutter); }
.cta-band h2 { font-family: var(--display); font-size: clamp(44px, 6.4vw, 124px); line-height: .88; margin: 0 0 .4em; }
.cta-band h2 .outline { -webkit-text-stroke: clamp(1px,.12vw,2.4px) var(--black); }
.cta-band .pill { margin: 6px; min-width: 200px; }

/* footer קטן לעמודים פנימיים */
.mini-footer { background: var(--white); color: var(--black); padding: 34px var(--gutter); display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 15px; }
.mini-footer img { width: 110px; }

/* =========================================================
   אנימציות רוח (anim.js)
   ========================================================= */
.flagwrap { display: inline-block; line-height: 0; }
.flaglogo { width: 100%; height: auto; overflow: visible; display: block; }
.topbar__logo .flagwrap { width: 100%; color: var(--black); }
.topbar--light .topbar__logo .flagwrap { color: var(--white); }
.flagwrap.footer-bottom__logo { color: var(--black); }
.mini-footer .flagwrap { width: 110px; color: var(--black); }
.gust { position: fixed; inset: 0; z-index: 200; pointer-events: none; background: var(--cyan); transform: translateX(105%); visibility: hidden; overflow: hidden; }
.gust span { position: absolute; left: -30%; height: 3px; border-radius: 3px; background: var(--black); width: 60%; opacity: .85; }
.gust span:nth-child(1) { top: 34%; }
.gust span:nth-child(2) { top: 50%; left: -10%; width: 45%; }
.gust span:nth-child(3) { top: 64%; left: -40%; width: 70%; }
.gust.is-enter { visibility: visible; transform: translateX(0); transition: transform .5s cubic-bezier(.7,0,.3,1); }
.gust.is-enter span { animation: gustline .5s ease-out; }
.gust.is-cover { visibility: visible; transform: translateX(0); transition: none; }
.gust.is-leave { visibility: visible; transform: translateX(-105%); transition: transform .7s cubic-bezier(.7,0,.3,1); }
@keyframes gustline { from { transform: translateX(-60%); } to { transform: translateX(10%); } }

/* ---------- חשיפה בגלילה ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--rd, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   רספונסיביות
   ========================================================= */
@media (max-width: 1100px) {
  .pgrid { grid-template-columns: 1fr; }
  .pcard:nth-child(odd) { border-left: 0; }
  .contact__pills { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lightbox__body { grid-template-columns: 1fr; overflow-y: auto; max-height: calc(100vh - 40px); justify-items: center; }
  .lightbox__img { max-width: 100%; height: auto; max-height: 64vh; }
  .lightbox__text { text-align: center; }
  .lightbox__nav { justify-content: center; }
}
@media (max-width: 900px) {
  .topnav { display: none; }
  .burger { display: inline-block; }
  .siderail { display: none; }
  .hero__tagline { display: none; }
  .headline__line { display: block; }
  .headline__line .w { margin-left: .18em; }
  .headline { font-size: clamp(46px, 13.2vw, 120px); line-height: .86; }
  .hero { padding-bottom: 150px; }
  .hero-pill--who { top: auto; bottom: 78px; left: 6%; }
  .hero-pill--what { top: auto; bottom: 40px; right: 6%; --r: -6deg; }
  .hero-pill--port { top: auto; bottom: 24px; left: auto; right: 44%; writing-mode: horizontal-tb; padding: .8em 2.1em; display: none; }
  .contact__title { font-size: 14.5vw; }
  .contact__en { font-size: 12.2vw; }
  .logogrid { --cols: 4; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .leisure__grid { grid-template-columns: 1fr; }
  .topics, .leisure__side { grid-column: 1; grid-row: auto; }
  .leisure__side { max-width: none; }
  .topic__text { position: relative; inset: auto; min-height: 0; padding: 0; max-height: 0; overflow: hidden; transform: none; transition: max-height .5s var(--ease), opacity .4s, padding .4s; }
  .topic.is-open .topic__text { max-height: 600px; padding: .6em 0 1.2em; }
  .topic.is-open .topic__word { color: var(--cyan); -webkit-text-stroke: var(--stroke) var(--cyan); }
  .topic--outline.is-open .topic__word { color: transparent; }
  .footer-bottom { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .footer-bottom__credits { justify-self: center; text-align: center; }
  .credits { justify-self: center; }
  .project-intro { grid-template-columns: 1fr; }
  .project-tagline { position: static; }
  .bento .b-big, .bento .b-side, .bento .b-half, .bento .b-full { grid-column: span 6; grid-row: auto; aspect-ratio: 3/2; }
  .pn strong { font-size: 26px; }
  .cursor-bubble { display: none; }
  .pcard { cursor: pointer; }
}
@media (max-width: 560px) {
  .logogrid { --cols: 3; }
  .contact__pills { grid-template-columns: 1fr; }
  .tabs { flex-direction: column; align-items: stretch; }
  .tab { min-width: 0; }
  .pcard__meta { grid-template-columns: auto 1fr; }
  .pcard__info { display: none; }
  .masonry { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work__giant { margin-top: calc(-0.5 * 27vw); }
}

@media (max-width: 640px) {
  .qcloud { width: 100%; aspect-ratio: 375 / 330; }
  .q { left: calc(var(--mx) * 1%); top: calc(var(--my) * 1%); width: 46%; height: 15%; font-size: 4.1cqw; }
  .q__face { padding: 0 .7em; }
  .q.is-open .q__inner { width: 150%; margin-inline-start: -25%; }
}

/* ---------- כבוד להעדפת "פחות תנועה" ---------- */
@media (prefers-reduced-motion: reduce) {
  .credits { height: auto; -webkit-mask-image: none; mask-image: none; }
  .credits__reel .credits__dup { display: none; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
