:root {
  --bg: #322f3a;
  --bg-alt: #393542;
  --surface: #3f3b4a;
  --border: #524d5f;
  --text: #f5f4f7;
  --text-dim: #b0abbd;
  --accent: #ffffff;
  --accent-soft: #cac5d9;
  --whatsapp: #25d366;
  --instagram-1: #833ab4;
  --instagram-2: #fd1d1d;
  --instagram-3: #fcb045;
  --radius: 14px;
  --container: 1160px;
  --transition: 0.25s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Heebo', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  color: var(--accent-soft);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

h1, h2, h3 { font-weight: 900; line-height: 1.2; }

h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }

.section-head { text-align: center; max-width: 620px; margin: 0 auto 48px; }

.section-sub { color: var(--text-dim); margin-top: 12px; font-size: 1.05rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  border: none;
  cursor: pointer;
}

.btn:hover { transform: translateY(-3px); }

.btn-primary {
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-ghost:hover { border-color: var(--accent); }

.btn-ghost-light {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--text);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #06210f;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

.btn-instagram {
  background: linear-gradient(45deg, var(--instagram-3), var(--instagram-2), var(--instagram-1));
  color: #fff;
  box-shadow: 0 8px 24px rgba(253, 29, 29, 0.25);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(50, 47, 58, 0.55);
  backdrop-filter: blur(8px);
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(50, 47, 58, 0.9);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 42px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-weight: 500;
}

.nav-links a:not(.nav-cta):hover { color: var(--accent); }

.nav-cta {
  background: var(--accent);
  color: var(--bg);
  padding: 10px 22px;
  border-radius: 100px;
  font-weight: 700;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 200;
}

.burger span {
  width: 26px;
  height: 2px;
  background: var(--text);
  transition: transform var(--transition), opacity var(--transition);
}

.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--bg);
  z-index: -1;
}

.hero-inner {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-logo {
  width: clamp(170px, 20vw, 280px);
  height: auto;
  margin-bottom: 28px;
}

.hero-tagline { margin-bottom: 28px; }

.tagline-en {
  display: block;
  font-size: clamp(1.3rem, 2.8vw, 1.8rem);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.tagline-he {
  display: block;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--accent-soft);
  font-weight: 500;
  margin-top: 6px;
}

.hero-about {
  font-size: 1.05rem;
  color: var(--text-dim);
  max-width: 620px;
  line-height: 1.75;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-hint span {
  display: block;
  width: 22px;
  height: 36px;
  border: 2px solid var(--text-dim);
  border-radius: 100px;
  position: relative;
}

.scroll-hint span::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--accent);
  border-radius: 100px;
  animation: scrollDot 1.6s infinite;
}

@keyframes scrollDot {
  0% { opacity: 1; top: 6px; }
  70% { opacity: 0; top: 18px; }
  100% { opacity: 0; top: 18px; }
}

/* Work / Selected Projects */
.work { padding: 120px 0; background: var(--bg-alt); }

.work-list {
  display: flex;
  flex-direction: column;
  gap: 110px;
}

.work-item {
  display: flex;
  align-items: center;
  gap: 64px;
}

.work-item:nth-child(even) { flex-direction: row-reverse; }

.work-media {
  position: relative;
  flex: 0 0 clamp(240px, 30vw, 380px);
  aspect-ratio: 9 / 16;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
}

.work-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.work-info { flex: 1; min-width: 0; }

.work-category {
  color: var(--accent-soft);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.work-info h3 {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  margin-bottom: 16px;
}

.work-desc {
  color: var(--text-dim);
  font-size: 1.05rem;
  max-width: 480px;
}

/* Multi-clip project cards: full-width, header above a shared clip grid */
.work-item.work-item--multi {
  flex-direction: column;
  align-items: stretch;
  gap: 32px;
}

.work-item--multi .work-info { text-align: center; }

.work-item--multi .work-desc { max-width: 560px; margin: 0 auto; }

.work-clip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 640px;
  width: 100%;
  margin: 0 auto;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.work-clip-grid--three {
  grid-template-columns: repeat(3, 1fr);
  max-width: 820px;
}

.work-clip-tile {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
}

.work-clip-tile video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.work-clip-headers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 640px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.work-clip-headers--three {
  grid-template-columns: repeat(3, 1fr);
  max-width: 820px;
}

.clip-title {
  color: var(--text);
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
}

.clip-subtitle {
  color: var(--text-dim);
  font-size: 0.85rem;
  line-height: 1.4;
}

.sound-toggle {
  position: absolute;
  bottom: 10px;
  left: 10px;
  width: 30px;
  height: 30px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.5);
  color: var(--text);
  cursor: pointer;
  z-index: 2;
  transition: background var(--transition), border-color var(--transition);
}

.sound-toggle:hover {
  background: rgba(0, 0, 0, 0.7);
  border-color: rgba(255, 255, 255, 0.45);
}

.sound-toggle svg { display: block; }

.sound-toggle .icon-unmuted { display: none; }

.sound-toggle.is-unmuted .icon-muted { display: none; }

.sound-toggle.is-unmuted .icon-unmuted { display: block; }

/* Services */
.services { padding: 120px 0; background: var(--bg-alt); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: transform var(--transition), border-color var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
}

.service-icon { font-size: 2.2rem; margin-bottom: 18px; }

.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; }

.service-card p { color: var(--text-dim); font-size: 0.95rem; }

/* Contact */
.contact {
  padding: 130px 0;
  text-align: center;
  background: var(--bg);
}

.contact-inner { max-width: 640px; margin: 0 auto; }

.contact-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 36px;
}

/* Footer */
.footer {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.music-credit {
  margin-top: 6px;
  font-size: 0.75rem;
  opacity: 0.6;
}

.music-credit a { color: inherit; text-decoration: underline; }

/* Responsive */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }

  .work-list { gap: 70px; }
  .work-item, .work-item:nth-child(even) {
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
  }
  .work-media { flex: none; width: min(100%, 340px); margin: 0 auto; }
  .work-info { text-align: center; }
  .work-desc { margin-inline: auto; }

  .work-clip-grid { max-width: 420px; }
  .work-clip-headers { max-width: 420px; }
}

@media (max-width: 420px) {
  .work-clip-grid { grid-template-columns: 1fr; max-width: 240px; padding: 14px; }
  .work-clip-headers { grid-template-columns: 1fr; max-width: 280px; }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--bg-alt);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    transform: translateX(100%);
    transition: transform var(--transition);
    border-left: 1px solid var(--border);
  }
  .nav-links.open { transform: translateX(0); }
  .burger { display: flex; }
  .nav-cta { margin-top: 8px; }

  .work, .services { padding: 80px 0; }
  .contact { padding: 90px 0; }

  .hero { padding: 150px 0 60px; }
  .hero-about { font-size: 1rem; }
  .scroll-hint { display: none; }
}

@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .hero-actions .btn, .contact-actions .btn { width: 100%; }
  .hero-actions, .contact-actions { flex-direction: column; }
}
