/* Binge Media – portfolio styles */
:root {
  --dark-bg: #0A1116;
  --dark-card: #111B21;
  --dark-border: #1F2C33;
  --dark-text: #F3EDE6;
  --dark-muted: #93A6AA;
  --cream: #FBF7F2;
  --cream-2: #F4EEE6;
  --ink: #0A1116;
  --ink-muted: #5E6B6E;
  --teal: #4FB8B3;
  --teal-deep: #287470;
  --peach: #E8AE8A;
  --gradient: linear-gradient(90deg, #4FB8B3, #E8AE8A);
  --wa: #25D366;

  --font-en: "Cormorant Garamond", "Times New Roman", serif;
  --font-he-display: "Frank Ruhl Libre", serif;
  --font-body: "Noto Sans Hebrew", system-ui, sans-serif;

  --radius: 22px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--dark-bg); color: var(--dark-text);
  font-family: var(--font-body); font-size: 17px; line-height: 1.7; overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
p { margin: 0 0 1em; }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; }

.skip-link {
  position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100;
  background: var(--teal); color: var(--ink); padding: 10px 16px; border-radius: 10px; text-decoration: none;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

/* Sections */
.dark { background: var(--dark-bg); color: var(--dark-text); }
.cream { background: var(--cream); color: var(--ink); }
.cream :focus-visible { outline-color: var(--teal-deep); }
.muted { color: var(--dark-muted); }
.cream .muted { color: var(--ink-muted); }

/* Type */
.eyebrow {
  font-family: var(--font-en); letter-spacing: .32em; font-size: 15px; font-weight: 500;
  color: var(--peach); margin: 0 0 14px; direction: ltr;
}
.display {
  font-family: var(--font-en); font-weight: 300; text-transform: uppercase;
  font-size: clamp(42px, 8vw, 104px); line-height: 1; letter-spacing: .06em; margin: 0 0 24px; direction: ltr;
}
.section-title-en {
  font-family: var(--font-en); font-weight: 300; text-transform: uppercase; text-align: center;
  font-size: clamp(34px, 5vw, 60px); letter-spacing: .14em; line-height: 1.1; margin: 0; direction: ltr;
}
.section-title-en.small { font-size: clamp(22px, 3vw, 30px); letter-spacing: .3em; }
.he-display { font-family: var(--font-he-display); font-weight: 500; font-size: clamp(34px, 5vw, 56px); line-height: 1.15; margin: 0 0 18px; }
.title-line { width: 72px; height: 2px; background: var(--gradient); margin: 18px auto 22px; border-radius: 2px; }
.grad-text { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 19px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 26px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 500; text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-grad { background: var(--gradient); color: var(--ink); box-shadow: 0 10px 30px -12px rgba(79,184,179,.6); }
.btn-grad:hover { box-shadow: 0 16px 40px -12px rgba(232,174,138,.7); }
.btn-ghost { border-color: rgba(243,237,230,.35); color: var(--dark-text); background: rgba(10,17,22,.35); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--teal); }
.btn-wa { background: rgba(37,211,102,.12); color: var(--dark-text); border-color: rgba(37,211,102,.4); }
.btn-wa:hover { background: var(--wa); color: var(--ink); }
.btn-sm { min-height: 44px; padding: 8px 18px; font-size: 15px; }
.btn-block { width: 100%; }
.icon { width: 20px; height: 20px; flex: none; fill: currentColor; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center; transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(10,17,22,.95); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-color: var(--dark-border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; min-height: 44px; gap: 10px; text-decoration: none; }
.brand img { width: 40px; height: auto; mix-blend-mode: screen; }
.brand-word { font-family: var(--font-en); letter-spacing: .28em; font-size: 18px; direction: ltr; white-space: nowrap; }
.brand-word em { font-style: normal; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.main-nav { display: flex; gap: 30px; }
.main-nav a { text-decoration: none; font-size: 15px; color: var(--dark-muted); transition: color .2s; }
.main-nav a:hover { color: var(--dark-text); }
@media (max-width: 860px) { .main-nav { display: none; } }
@media (max-width: 420px) { .brand-word { font-size: 15px; letter-spacing: .2em; } .site-header .btn-wa span { display: none; } }

/* Hero */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; padding: calc(var(--header-h) + 40px) 0 90px; }
.hero-wall { position: absolute; inset: -6%; transform: rotate(-4deg) scale(1.06); opacity: .85; }
.hero-wall video { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(10,17,22,.72) 0%, rgba(10,17,22,.5) 70%),
    linear-gradient(180deg, rgba(10,17,22,.6) 0%, rgba(10,17,22,0) 25%, rgba(10,17,22,0) 70%, var(--dark-bg) 100%);
}
.hero-content { position: relative; text-align: center; }
.hero-sub { font-size: clamp(17px, 2vw, 21px); color: var(--dark-text); opacity: .9; max-width: 620px; margin: 0 auto 34px; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.scroll-cue { position: absolute; bottom: 26px; left: 50%; translate: -50% 0; width: 26px; height: 42px; border: 1px solid rgba(243,237,230,.4); border-radius: 20px; }
.scroll-cue::after { content: ""; position: absolute; inset: -2px -10px; }
.motion-toggle {
  position: absolute; bottom: 24px; inset-inline-end: 22px; z-index: 3; width: 44px; height: 44px; padding: 0; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid rgba(243,237,230,.4); background: rgba(10,17,22,.55); color: var(--dark-text);
}
.motion-toggle svg { width: 16px; height: 16px; fill: currentColor; }
.motion-toggle .i-play, .motion-toggle[aria-pressed="true"] .i-pause { display: none; }
.motion-toggle[aria-pressed="true"] .i-play { display: block; }
.motion-paused *, .motion-paused *::before, .motion-paused *::after { animation-play-state: paused !important; }
.scroll-cue span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--peach); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Film grain + ambient light shared by every dark scene */
.scene { position: relative; isolation: isolate; overflow: hidden; }
.scene::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Clients marquee */
.clients { padding: 64px 0 56px; border-block: 1px solid var(--dark-border); background: linear-gradient(180deg, var(--dark-bg), #0c161b); }
.clients .section-title-en { margin-bottom: 34px; color: var(--dark-muted); }
.marquee { position: relative; overflow: hidden; direction: ltr; }
/* Edge fades as overlays (a CSS mask over a moving strip blanks it on iPhone) */
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 12%; z-index: 1; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, #0b141a, rgba(11,20,26,0)); }
.marquee::after { right: 0; background: linear-gradient(270deg, #0b141a, rgba(11,20,26,0)); }
.marquee-track { display: flex; align-items: center; gap: 76px; width: max-content; animation: marquee 55s linear infinite; }
.marquee-track { animation-play-state: running !important; }
@media (hover: hover) { .marquee:hover .marquee-track { animation-play-state: paused !important; } }
/* The logo strip keeps moving on phones too; only the hero pause button stops it */
.marquee-stopped .marquee-track { animation-play-state: paused !important; }
.marquee-track img { flex: none; height: 44px; width: auto; max-width: 170px; object-fit: contain; filter: brightness(0) invert(1); opacity: .5; transition: opacity .3s; }
.marquee-track img:hover { opacity: .95; }
.marquee-track img.tall { height: 62px; }
@keyframes marquee { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }

/* Video frame (cinematic card) */
.phone {
  position: relative; aspect-ratio: 9/16; border-radius: 24px; padding: 1.5px;
  background: linear-gradient(160deg, rgba(79,184,179,.55), rgba(31,44,51,.4) 40%, rgba(31,44,51,.4) 60%, rgba(232,174,138,.55));
  box-shadow: 0 40px 70px -35px rgba(0,0,0,.9);
}
.phone .screen { position: relative; width: 100%; height: 100%; border-radius: 22.5px; overflow: hidden; background: #05090b; }
.phone .screen img, .phone .screen video { width: 100%; height: 100%; object-fit: cover; }
.phone .screen > img + video { position: absolute; inset: 0; }
.phone .screen::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,17,22,0) 55%, rgba(10,17,22,.75) 100%);
}

/* About */
.about { padding: 120px 0; }
.about::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(600px 420px at 78% 40%, rgba(79,184,179,.22), transparent 70%),
    radial-gradient(520px 380px at 18% 70%, rgba(232,174,138,.16), transparent 70%);
}
.about-grid { display: grid; grid-template-columns: minmax(240px, 320px) 1fr; gap: 80px; align-items: center; max-width: 1000px; }
.about-text .section-title-en, .about-text .title-line { text-align: center; margin-inline: auto; }
.about-text p { color: #D6D1CA; }
.about-text strong { color: var(--dark-text); }
.about-media .phone { max-width: min(320px, (100svh - 200px) * 9 / 16); margin-inline: auto; }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-media .phone { max-width: 250px; }
  .about-text .section-title-en, .about-text .title-line { text-align: center; margin-inline: auto; }
  .about-text { text-align: center; }
  .about-text .social-row { justify-content: center; }
}

/* Social icons */
.social-row { display: flex; gap: 12px; margin-top: 26px; }
.social {
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid rgba(243,237,230,.35); color: var(--dark-text); opacity: .85;
  transition: opacity .2s, background .2s, color .2s, border-color .2s, transform .2s;
}
.social svg { width: 20px; height: 20px; fill: currentColor; }
.social:hover { opacity: 1; transform: translateY(-2px); background: var(--dark-text); color: var(--ink); border-color: var(--dark-text); }

/* Portfolio */
.work { padding: 110px 0 0; }
.work-head { text-align: center; margin-bottom: 30px; }
.cat-nav {
  position: sticky; top: var(--header-h); z-index: 20;
  background: rgba(10,17,22,.95); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-block: 1px solid var(--dark-border);
}
.cat-nav-inner { display: flex; gap: 6px; overflow-x: auto; padding: 12px 16px; scrollbar-width: none; justify-content: safe center; }
.cat-nav-inner::-webkit-scrollbar { display: none; }
.cat-chip {
  flex: none; padding: 8px 13px; border-radius: 999px; border: 1px solid var(--dark-border); background: transparent;
  font-family: var(--font-body); font-size: 14px; font-weight: 500; letter-spacing: .04em; color: var(--dark-text); text-decoration: none; direction: ltr;
  border-color: rgba(243,237,230,.35); background: rgba(10,17,22,.35); cursor: pointer;
  transition: all .25s;
}
.cat-chip:hover { color: var(--dark-text); border-color: var(--teal); }
.cat-chip.active { background: var(--gradient); color: var(--ink); border-color: transparent; }

/* Each category = a cinematic scene with its own light */
.category { padding: 54px 0 56px; border-top: 1px solid rgba(31,44,51,.7); }
.scene-ambient { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.scene-ambient::after { content: ""; position: absolute; inset: 0; }
.category[data-tone="0"] .scene-ambient::after { background: radial-gradient(70% 60% at 85% 20%, rgba(79,184,179,.28), transparent 70%), linear-gradient(180deg, var(--dark-bg) 0%, rgba(10,17,22,.55) 30%, rgba(10,17,22,.7) 75%, var(--dark-bg) 100%); }
.category[data-tone="1"] .scene-ambient::after { background: radial-gradient(70% 60% at 15% 30%, rgba(232,174,138,.26), transparent 70%), linear-gradient(180deg, var(--dark-bg) 0%, rgba(10,17,22,.55) 30%, rgba(10,17,22,.7) 75%, var(--dark-bg) 100%); }
.category[data-tone="2"] .scene-ambient::after { background: radial-gradient(60% 55% at 20% 80%, rgba(79,184,179,.24), transparent 70%), radial-gradient(55% 50% at 85% 15%, rgba(232,174,138,.2), transparent 70%), linear-gradient(180deg, var(--dark-bg) 0%, rgba(10,17,22,.6) 30%, rgba(10,17,22,.72) 75%, var(--dark-bg) 100%); }
.category[data-tone="3"] .scene-ambient::after { background: radial-gradient(80% 50% at 50% 0%, rgba(232,174,138,.22), transparent 70%), radial-gradient(60% 50% at 50% 100%, rgba(79,184,179,.2), transparent 70%), linear-gradient(180deg, var(--dark-bg) 0%, rgba(10,17,22,.55) 30%, rgba(10,17,22,.7) 75%, var(--dark-bg) 100%); }

.category-head { text-align: center; margin-bottom: 14px; }
.scene-index { display: block; font-family: var(--font-en); letter-spacing: .4em; font-size: 13px; color: var(--peach); margin-bottom: 6px; direction: ltr; }
.category-head h3 {
  font-family: var(--font-en); font-weight: 300; font-size: clamp(30px, 3.6vw, 48px); letter-spacing: .14em;
  margin: 0; line-height: 1.05; direction: ltr;
}
.category-head .title-line { margin: 10px auto 8px; }
.category-head p { margin: 0; color: #C9C4BD; font-size: 16px; }

/* Category body: short English intro, a centred grid of videos, then client logos */
.cat-intro { width: min(720px, 100% - 40px); margin: 0 auto 26px; text-align: center; }
.cat-hook { margin: 0; font-family: "Bodoni Moda", "Didot", serif; font-style: italic; font-weight: 400; font-size: 25px; line-height: 1.25; color: var(--dark-text); letter-spacing: -.01em; }
.cat-pitch { margin: 6px 0 0; font-family: "Jost", var(--font-body); font-weight: 300; font-size: 16px; line-height: 1.5; color: #D6D1CA; letter-spacing: .01em; }

/* Card height follows the screen height, so a full row always fits on a laptop */
.video-grid {
  --columns: 5; --gap: 16px;
  --card-h: clamp(290px, 100svh - 424px, 440px);
  --card-w: min(calc(var(--card-h) * 9 / 16), calc((100vw - 48px - (var(--columns) - 1) * var(--gap)) / var(--columns)));
  display: grid; grid-template-columns: repeat(var(--columns), var(--card-w)); gap: var(--gap); justify-content: center;
}
.video-grid .card { width: 100%; max-width: none; }
.video-grid.collapsed .card:nth-child(n+6) { display: none; }
.more-videos { display: flex; justify-content: center; margin-top: 22px; }
.more-videos .btn { min-height: 44px; font-size: 15px; padding: 8px 24px; }
.more-videos[hidden] { display: none; }

.cat-clients { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 20px; width: min(1100px, 100% - 40px); margin: 24px auto 0; }
.cat-clients-label { font-family: "Jost", var(--font-body); font-size: 12px; letter-spacing: .32em; color: var(--dark-muted); }
.cat-clients img { height: 24px; width: auto; max-width: 100px; object-fit: contain; filter: brightness(0) invert(1); opacity: .6; transition: opacity .3s; }
.cat-clients img:hover { opacity: .95; }

@media (min-width: 1700px) {
  .video-grid { --columns: 6; }
  .video-grid.collapsed .card:nth-child(n+6) { display: block; }
  .video-grid.collapsed .card:nth-child(n+7) { display: none; }
}
@media (max-width: 1000px) {
  .video-grid { --columns: 3; --card-h: 480px; }
  .video-grid.collapsed .card:nth-child(n+6) { display: block; }
  .video-grid.collapsed .card:nth-child(n+7) { display: none; }
}
@media (max-width: 700px) {
  .video-grid { --columns: 2; --gap: 10px; --card-h: 620px; --card-w: calc((100vw - 32px - var(--gap)) / 2); }
  .video-grid.collapsed .card:nth-child(n+5) { display: none; }
  .video-grid .card .phone { border-radius: 16px; }
  .video-grid .card .screen { border-radius: 14.5px; }
  .video-grid .card .play { width: 44px; height: 44px; }
  .video-grid .card .num { bottom: 10px; font-size: 13px; }
  .cat-hook { font-size: 23px; }
  .cat-pitch { font-size: 15px; }
  .cat-clients img { height: 22px; }
}

.carousel-wrap { position: relative; width: min(1160px, 100%); margin-inline: auto; --gap: 24px; --per-view: 4; }
.carousel {
  display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-padding-inline: 20px; padding: 14px 20px 34px; scrollbar-width: none; overscroll-behavior-x: contain;
}
@media (max-width: 1100px) { .carousel-wrap { --per-view: 3; } }
@media (max-width: 700px) { .carousel-wrap { --per-view: 1.45; --gap: 16px; } }
.carousel::-webkit-scrollbar { display: none; }
.carousel.fits { justify-content: center; }
.card {
  flex: none; width: calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view)); max-width: 340px;
  scroll-snap-align: start; border: 0; padding: 0; background: none;
  color: inherit; text-align: inherit; transition: transform .45s var(--ease);
}
.card:hover { transform: translateY(-8px) scale(1.02); }
.card .phone { transition: box-shadow .45s var(--ease); }
.card:hover .phone { box-shadow: 0 40px 80px -30px rgba(79,184,179,.45), 0 20px 50px -30px rgba(232,174,138,.5); }
.card .play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 58px; height: 58px; border-radius: 50%; z-index: 3;
  display: grid; place-items: center; background: rgba(10,17,22,.35); backdrop-filter: blur(8px);
  border: 1px solid rgba(243,237,230,.5); transition: opacity .3s, transform .3s;
}
.card:hover .play { transform: scale(1.08); }
.card .play::after { content: ""; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent #fff; margin-left: 4px; }
.card.playing .play { opacity: 0; }
.card .num {
  position: absolute; bottom: 14px; inset-inline-start: 16px; z-index: 3; font-family: var(--font-en);
  font-size: 15px; letter-spacing: .2em; color: rgba(243,237,230,.85); direction: ltr;
}
.card .screen video { position: absolute; inset: 0; opacity: 0; transition: opacity .4s; }
.card.playing .screen video { opacity: 1; }

/* Arrows: a glass circle with a text cue underneath ("עוד X סרטונים" / "חזרה") */
.car-btn {
  position: absolute; top: 46%; z-index: 5; translate: 0 -50%; width: 96px; padding: 0; border: 0; background: none;
  display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--dark-text);
  transition: opacity .25s; direction: ltr;
}
.car-btn .arr {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; line-height: 1;
  border: 1px solid rgba(243,237,230,.3); background: rgba(10,17,22,.6); backdrop-filter: blur(10px);
  transition: background .2s, color .2s, border-color .2s;
}
.car-btn.next .arr { border-color: rgba(79,184,179,.75); box-shadow: 0 0 24px -6px rgba(79,184,179,.6); }
.car-btn:hover .arr { background: var(--dark-text); color: var(--ink); border-color: var(--dark-text); }
.car-btn .more-label {
  direction: rtl; white-space: nowrap; font-size: 13px; font-weight: 500; color: var(--peach);
  padding: 3px 10px; border-radius: 999px; background: rgba(10,17,22,.72); backdrop-filter: blur(8px);
}
.car-btn.prev .more-label { color: var(--dark-muted); }
.car-btn.pulse .arr { animation: nudge 1.6s var(--ease) 1s 3; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-7px); } }
/* RTL page: "previous" sits on the right, "next" on the left (physical sides, since the buttons are dir=ltr) */
.car-btn.prev { right: 4px; }
.car-btn.next { left: 4px; }
.car-btn[disabled] { opacity: 0; pointer-events: none; }
@media (hover: none), (max-width: 700px) { .car-btn { display: none; } }

/* Phones: swipe hint under the row instead of arrows */
.swipe-hint { display: none; }
@media (hover: none), (max-width: 700px) {
  .swipe-hint { display: block; margin: -12px 0 0; text-align: center; font-size: 14px; color: var(--peach); transition: opacity .5s; }
  .swipe-hint.seen, .swipe-hint.done { opacity: 0; }
}

/* Testimonials */
.testimonials { padding: 64px 0 70px; border-top: 1px solid var(--dark-border); background: radial-gradient(60% 50% at 50% 0%, rgba(79,184,179,.12), transparent 70%), var(--dark-bg); }
.testimonials .muted { max-width: 560px; margin-inline: auto; font-size: 15px; }
.testi-track { padding-top: 30px; }
.testi-card { flex: none; width: clamp(210px, min(26vw, (100svh - 324px) * 9 / 17), 310px); scroll-snap-align: start; margin: 0; }
.testi-card .phone { aspect-ratio: 9/17; background: linear-gradient(145deg, #2a3338, #0d1418); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.08); }
.testi-card .screen { background: #0b141a; display: flex; flex-direction: column; }
.wa-bar { display: flex; align-items: center; gap: 10px; padding: 34px 14px 10px; background: #1f2c33; flex: none; }
.wa-bar .avatar { width: 32px; height: 32px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #6b7c82, #34444b); filter: blur(1.5px); }
.wa-bar .who { font-size: 14px; line-height: 1.3; color: #e9edef; }
.wa-bar .who small { display: block; color: #8696a0; font-size: 12px; }
.wa-bar svg { width: 18px; height: 18px; fill: var(--wa); margin-inline-start: auto; }
.testi-card .screen::after { display: none; }
/* Whole screenshot always visible (long messages scale down instead of being cut) */
.testi-card .shot { flex: 1; min-height: 0; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; padding: 6px 6px 10px; }
.testi-card .shot img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 8px; }

/* FAQ */
.faq { padding: 96px 0 86px; border-top: 1px solid var(--dark-border); background: radial-gradient(55% 45% at 50% 0%, rgba(79,184,179,.09), transparent 70%), var(--dark-bg); }
.faq-sub { text-align: center; font-size: clamp(18px, 2.4vw, 22px); font-weight: 400; letter-spacing: .02em; margin: 0 0 40px; color: var(--dark-muted); }
.faq-list { max-width: 820px; margin-inline: auto; display: grid; gap: 14px; }
.faq-item { position: relative; border-radius: 18px; transition: background .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease), border-color .4s var(--ease); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 22px 26px; border-radius: 18px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { flex: 1; font-size: clamp(16px, 1.9vw, 18px); font-weight: 500; line-height: 1.55; color: var(--dark-text); }
.faq-icon { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; transition: background .4s var(--ease), border-color .4s var(--ease), transform .5s var(--ease); }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px;
  border-radius: 2px; transition: transform .5s var(--ease), background-color .4s var(--ease);
}
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon { transform: rotate(180deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }
.faq-a { padding: 0 26px 24px; color: #B9C6C8; font-size: 15.5px; line-height: 1.85; }
.faq-a p { margin: 0; max-width: 640px; }
.faq-item[open] .faq-a { animation: faqIn .5s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.faq-more { text-align: center; margin: 36px 0 0; color: var(--dark-muted); font-size: 15px; }
.faq-more a { color: var(--teal); text-underline-offset: 4px; }
@media (min-width: 1000px) {
  .faq-layout {
    display: grid; grid-template-columns: minmax(0, 660px) 1fr; column-gap: 80px; align-items: start;
    grid-template-areas: "list head" "more head"; max-width: 1100px;
  }
  .faq-head { grid-area: head; position: sticky; top: calc(var(--header-h) + 48px); padding-top: 14px; }
  .faq-list { grid-area: list; max-width: none; margin: 0; }
  .faq-more { grid-area: more; }
  .faq-sub { margin-bottom: 0; }
}
@media (max-width: 700px) {
  .faq { padding: 66px 0 58px; }
  .faq-sub { margin-bottom: 28px; }
  .faq-list { gap: 12px; }
  .faq-item summary { padding: 18px 18px; }
  .faq-q { font-size: 16px; }
  .faq-icon { width: 32px; height: 32px; }
  .faq-a { padding: 0 18px 20px; font-size: 15px; }
}
.faq-item { background: linear-gradient(rgba(17,27,33,.92), rgba(17,27,33,.92)) padding-box, linear-gradient(90deg, rgba(79,184,179,.55), rgba(232,174,138,.55)) border-box; border: 1px solid transparent; }
.faq-item:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -24px rgba(79,184,179,.55); }
.faq-item[open] { background: linear-gradient(rgba(19,33,38,.96), rgba(19,33,38,.96)) padding-box, var(--gradient) border-box; box-shadow: 0 20px 44px -26px rgba(232,174,138,.5); }
.faq-icon { background: var(--gradient); }
.faq-icon::before, .faq-icon::after { background: var(--ink); }

/* Contact */
.contact { padding: 110px 0; border-top: 1px solid var(--dark-border); position: relative; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; width: 640px; height: 640px; border-radius: 50%; inset-inline-end: -220px; top: -260px;
  background: radial-gradient(circle, rgba(79,184,179,.16), transparent 65%); pointer-events: none;
}
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 70px; align-items: start; position: relative; }
.contact-text { padding-top: 28px; }
.contact-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.contact-list a { display: inline-flex; align-items: center; min-height: 44px; gap: 12px; text-decoration: none; font-size: 18px; direction: ltr; }
.contact-list a:hover { color: var(--teal); }
.contact-form {
  background: var(--dark-card); border-radius: var(--radius); padding: 34px;
  border: 1px solid transparent;
  background: linear-gradient(var(--dark-card), var(--dark-card)) padding-box, linear-gradient(135deg, rgba(79,184,179,.55), rgba(31,44,51,.8) 45%, rgba(232,174,138,.55)) border-box;
}
.contact-form label { display: block; font-size: 14px; color: var(--dark-muted); margin: 0 0 6px; }
.contact-form input {
  width: 100%; min-height: 50px; margin-bottom: 18px; padding: 12px 16px; border-radius: 14px;
  border: 1px solid var(--dark-border); background: #0c151a; color: var(--dark-text); font: inherit; font-size: 16px;
}
.contact-form input::placeholder { color: #5f7176; }
.contact-form input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(79,184,179,.2); }
.form-error { color: var(--peach); font-size: 14px; }
.form-note { font-size: 13px; color: var(--dark-muted); text-align: center; margin: 14px 0 0; }
.form-note a { color: var(--dark-text); text-underline-offset: 3px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 48px; } .contact-form { padding: 26px 20px; } }

/* Footer */
.site-footer { padding: 60px 0 40px; border-top: 1px solid var(--dark-border); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.footer-logo { width: 150px; height: auto; }
.footer-meta { margin: 24px 0 0; font-size: 14px; color: var(--dark-muted); }
.footer-meta a { color: var(--dark-muted); display: inline-block; padding-block: 12px; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; bottom: 22px; inset-inline-start: 22px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: var(--wa); color: #fff;
  box-shadow: 0 12px 30px -8px rgba(37,211,102,.55); transition: transform .25s var(--ease);
}
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }
.wa-float:hover { transform: scale(1.08); }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ping 2.6s ease-out infinite; }
@keyframes ping { 0% { opacity: .7; transform: scale(1); } 80%, 100% { opacity: 0; transform: scale(1.5); } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(5,9,11,.94); display: grid; place-items: center; padding: 20px; }
.lightbox[hidden] { display: none; }
.lightbox video { max-height: 88svh; max-width: min(100%, 1100px); border-radius: 16px; background: #000; }
.lb-close, .lb-nav {
  position: absolute; border: 1px solid rgba(243,237,230,.3); background: rgba(17,27,33,.8); color: var(--dark-text);
  width: 50px; height: 50px; border-radius: 50%; font-size: 26px; display: grid; place-items: center; direction: ltr;
}
.lb-close { top: 18px; left: 18px; font-size: 20px; }
.lb-prev { right: 18px; top: 50%; translate: 0 -50%; }
.lb-next { left: 18px; top: 50%; translate: 0 -50%; }
.lb-close:hover, .lb-nav:hover { background: var(--dark-text); color: var(--ink); }
@media (max-width: 700px) {
  .lb-nav { top: auto; bottom: 18px; translate: none; }
  .lightbox video { max-height: calc(100svh - 164px); }  /* keeps the player controls clear of the buttons */
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: marquee 55s linear infinite !important; }
}

/* ?static – used for full-page review screenshots */
.static .hero { min-height: 900px; }
.static .reveal { opacity: 1; transform: none; }
.static html, html.static { scroll-behavior: auto; }

/* Mobile layout: tighter rhythm, centred contact */
@media (max-width: 700px) {
  .about { padding: 72px 0; }
  .work { padding-top: 64px; }
  .category { padding: 44px 0; }
  .site-footer { padding-bottom: 96px; }
  .testimonials .carousel { padding-inline: 20px; scroll-padding-inline: 20px; }
  .testimonials { padding: 72px 0 60px; }
  .testi-card { width: 78vw; }
  .contact { padding: 72px 0 90px; }
  .contact-text { text-align: center; padding-top: 0; }
  .contact-list { justify-items: center; }
  .contact-text .social-row { justify-content: center; }
  .he-display { font-size: 34px; }
  .clients { padding: 48px 0 40px; }
  .marquee-track { gap: 52px; }
  .marquee-track img { height: 34px; }
  .marquee-track img.tall { height: 48px; }
}

/* Social icons inside the contact form */
.form-social { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--dark-border); text-align: center; }
.form-social-label { font-size: 14px; color: var(--dark-muted); }
.form-social .social-row { justify-content: center; margin-top: 14px; gap: 14px; }
.form-social .social { width: 50px; height: 50px; }
.form-social .social.ig:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); border-color: transparent; color: #fff; }
.form-social .social.tt:hover { background: #000; border-color: #25F4EE; color: #fff; box-shadow: 2px 2px 0 #FE2C55; }
.form-social .social.fb:hover { background: #1877F2; border-color: transparent; color: #fff; }
.form-social .social.wa:hover { background: var(--wa); border-color: transparent; color: #fff; }

/* Accessibility menu (js/a11y.js) */
.header-actions { display: flex; align-items: center; gap: 10px; }
.a11y-btn {
  width: 44px; height: 44px; padding: 0; border-radius: 50%; display: grid; place-items: center; flex: none;
  border: 1px solid rgba(243,237,230,.35); background: rgba(17,27,33,.75); color: var(--dark-text);
}
.a11y-btn:hover, .a11y-btn[aria-expanded="true"] { background: var(--dark-text); color: var(--ink); }
.a11y-btn svg { width: 24px; height: 24px; fill: currentColor; }
.a11y-btn.a11y-fixed { position: fixed; top: 16px; left: 16px; z-index: 70; }
.a11y-panel {
  position: fixed; top: calc(var(--header-h) + 6px); left: 16px; z-index: 80; width: min(300px, calc(100vw - 32px));
  max-height: calc(100svh - var(--header-h) - 24px); overflow-y: auto;
  background: var(--dark-card); color: var(--dark-text); border: 1px solid var(--dark-border); border-radius: 18px;
  padding: 16px; display: grid; gap: 8px; box-shadow: 0 24px 60px -20px rgba(0,0,0,.8);
}
.a11y-panel[hidden] { display: none; }
.a11y-head { display: flex; align-items: center; justify-content: space-between; }
.a11y-head h2 { margin: 0; font-family: var(--font-he-display); font-weight: 500; font-size: 22px; }
.a11y-panel button, .a11y-link {
  min-height: 44px; border-radius: 12px; border: 1px solid var(--dark-border); background: #0c151a; color: var(--dark-text);
  font-size: 15px; padding: 8px 14px; text-align: start;
}
.a11y-close { width: 44px; padding: 0 !important; text-align: center !important; }
.a11y-size { display: flex; align-items: center; gap: 8px; }
.a11y-size span { flex: 1; font-size: 15px; }
.a11y-size button { width: 48px; text-align: center; padding: 0; }
.a11y-size output { min-width: 48px; text-align: center; font-size: 15px; }
.a11y-opt[aria-pressed="true"] { border-color: var(--teal); background: rgba(79,184,179,.18); }
.a11y-opt[aria-pressed="true"]::before { content: "✓ "; color: var(--teal); }
.a11y-reset { color: var(--peach) !important; }
.a11y-link { display: flex; align-items: center; text-decoration: underline; color: var(--teal); }

/* Menu effects */
html.a11y-zoom body { zoom: var(--a11y-zoom); }
html.a11y-contrast {
  --dark-bg: #000; --dark-card: #0b0b0b; --dark-border: #8a9a9e; --dark-text: #fff; --dark-muted: #e4ecee;
  --teal: #7fe3de; --peach: #ffc9a6;
}
html.a11y-contrast .hero-overlay { background: rgba(0,0,0,.82); }
html.a11y-contrast .grad-text, html.a11y-contrast .brand-word em { background: none; -webkit-text-fill-color: currentColor; color: #fff; }
html.a11y-contrast :focus-visible { outline: 3px solid #ffeb3b; }
html.a11y-links a { text-decoration: underline !important; text-underline-offset: 3px; }
html.a11y-links a:not(.btn):not(.social):not(.wa-float) { color: #ffeb3b !important; }
html.a11y-font body, html.a11y-font body * { font-family: Arial, "Noto Sans Hebrew", sans-serif !important; letter-spacing: normal !important; }
html.a11y-spacing body p, html.a11y-spacing body li { line-height: 2 !important; letter-spacing: .06em !important; word-spacing: .16em !important; }
html.a11y-still *, html.a11y-still *::before, html.a11y-still *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.a11y-still .reveal { opacity: 1; transform: none; }

/* Legal pages (accessibility.html, privacy.html) */
.doc { padding: 120px 0 80px; max-width: 760px; }
.doc h1 { font-family: var(--font-he-display); font-weight: 500; font-size: clamp(32px, 5vw, 48px); margin: 0 0 8px; }
.doc h2 { font-family: var(--font-he-display); font-weight: 500; font-size: 24px; margin: 36px 0 10px; }
.doc ul { padding-inline-start: 22px; }
.doc a { color: var(--teal); }
.doc-back { display: inline-block; padding-block: 12px; }
.nowrap { white-space: nowrap; }
/* Hero title: "SOCIAL & PRODUCTIONS" always on one line */
.hero .display { font-size: clamp(20px, 7vw, 92px); letter-spacing: .05em; }
@media (max-width: 700px) { .hero .display { font-size: 7.6vw; letter-spacing: .02em; } }
