/* ============================================================
   HAZEM CINEMATICS — styles
   ============================================================ */
@font-face { font-family: "Anek Latin";    src: url("../fonts/anek-latin.woff2") format("woff2");    font-weight: 100 800; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/ibm-plex-sans.woff2") format("woff2"); font-weight: 100 700; font-display: swap; }
@font-face { font-family: "Lato";          src: url("../fonts/lato-400.woff2") format("woff2");      font-weight: 400; font-display: swap; }
@font-face { font-family: "Lato";          src: url("../fonts/lato-700.woff2") format("woff2");      font-weight: 700; font-display: swap; }

:root {
  --bg: #0a0a0b;
  --bg-2: #101013;
  --surface: #161619;
  --line: rgba(255,255,255,.08);
  --line-2: rgba(255,255,255,.16);
  --text: #f3f2ee;
  --muted: #9b9a97;
  --accent: #e8b14a;
  --accent-ink: #1a1305;
  --display: "Anek Latin", "Helvetica Neue", Arial, sans-serif;   /* headlines */
  --body: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif; /* paragraphs */
  --ui: "IBM Plex Sans", system-ui, sans-serif;                     /* labels, meta, buttons */
  --gutter: clamp(20px, 5vw, 72px);
  --radius: 18px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.lb-open { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.0; letter-spacing: -.015em; margin: 0; }
p { margin: 0; }
::selection { background: var(--accent); color: var(--accent-ink); }

.wrap { padding-inline: var(--gutter); max-width: 1440px; margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 120px); scroll-margin-top: 60px; }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.eyebrow { font-family: var(--ui); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.h2 { font-size: clamp(32px, 5vw, 60px); margin-top: 14px; }
.lead { color: var(--muted); font-size: clamp(15px, 1.4vw, 18px); max-width: 60ch; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head .lead { margin-top: 12px; }

.btn {
  font-family: var(--ui);
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px;
  font-weight: 700; font-size: 15px; border: 1px solid var(--line-2); transition: transform .35s var(--ease), background .3s, border-color .3s, color .3s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.4); }
.btn--accent { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn--accent:hover { background: #f1c165; border-color: #f1c165; }
.btn--ghost { background: rgba(255,255,255,.04); backdrop-filter: blur(10px); }
.btn .ico { width: 18px; height: 18px; }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }

/* ---------- NAV ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 72px;
  display: flex; align-items: center; justify-content: space-between; padding-inline: var(--gutter);
  transition: background .4s, backdrop-filter .4s, border-color .4s; border-bottom: 1px solid transparent;
}
.nav.solid { background: rgba(10,10,11,.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-color: var(--line); }
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__mark { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(232,177,74,.18); }
.nav__word { font-family: var(--display); font-weight: 700; letter-spacing: .1em; font-size: 16px; }
.nav__word em { font-style: normal; color: var(--muted); font-weight: 700; margin-left: 6px; }
.nav__links { font-family: var(--ui); display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 600; }
.nav__links a:not(.btn) { position: relative; padding: 4px 0; color: rgba(243,242,238,.8); }
.nav__links a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--accent); transition: width .3s var(--ease); }
.nav__links a:not(.btn):hover::after { width: 100%; }
.nav__cta { padding: 10px 18px; font-size: 14px; }
.nav__burger { display: none; width: 44px; height: 44px; position: relative; }
.nav__burger span { position: absolute; left: 11px; width: 22px; height: 2px; background: var(--text); transition: transform .3s var(--ease), top .3s var(--ease); }
.nav__burger span:first-child { top: 17px; } .nav__burger span:last-child { top: 25px; }
.nav__burger.open span:first-child { top: 21px; transform: rotate(45deg); }
.nav__burger.open span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; padding-bottom: clamp(48px, 8vh, 96px); overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg video, .hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; opacity: 0; transition: opacity 1.2s ease; }
.hero__bg video.ready, .hero__bg img.ready { opacity: 1; }
.hero__veil { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(10,10,11,.55) 0%, rgba(10,10,11,.15) 40%, rgba(10,10,11,.82) 85%, var(--bg) 100%),
  radial-gradient(60% 50% at 20% 80%, rgba(232,177,74,.10), transparent 70%); }
.hero__inner { display: grid; gap: 28px; max-width: 980px; }
.hero__kicker { font-family: var(--ui); display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; }
.hero__kicker::before { content: ""; width: 36px; height: 1px; background: var(--accent); }
.hero h1 { font-size: clamp(40px, 8vw, 120px); text-wrap: balance; max-width: 12ch; }
.hero h1 .dim { color: rgba(243,242,238,.45); }
.hero__sub { color: rgba(243,242,238,.78); font-size: clamp(15px, 1.5vw, 19px); max-width: 56ch; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__scroll { font-family: var(--ui); position: absolute; right: var(--gutter); bottom: 28px; color: var(--muted); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; display: flex; align-items: center; gap: 12px; }
.hero__scroll i { width: 1px; height: 44px; background: linear-gradient(var(--accent), transparent); animation: drop 1.8s ease-in-out infinite; }
@keyframes drop { 0% { transform: scaleY(0); transform-origin: top } 50% { transform: scaleY(1); transform-origin: top } 51% { transform-origin: bottom } 100% { transform: scaleY(0); transform-origin: bottom } }

/* ---------- MARQUEE ---------- */
.marquee { border-block: 1px solid var(--line); padding-block: 26px; overflow: hidden; position: relative; background: var(--bg-2); }
.marquee__label { font-family: var(--ui); text-align: center; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; font-weight: 700; }
.marquee__track { display: flex; width: max-content; animation: marquee 45s linear infinite; will-change: transform; }
.marquee__set { display: flex; align-items: center; min-height: 86px; gap: 72px; padding-right: 72px; flex: none; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 1; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg-2), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--bg-2), transparent); }
.logo { display: flex; align-items: center; justify-content: center; height: 50px; opacity: .62; transition: opacity .3s; white-space: nowrap; }
.logo:hover { opacity: 1; }
.logo img { height: 100%; width: auto; max-width: 220px; object-fit: contain; }
.logo span { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: .06em; text-transform: uppercase; }
@keyframes marquee { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }

/* ---------- SERVICES ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.service { background: var(--bg); padding: 30px 28px; display: grid; gap: 14px; transition: background .3s; }
.service:hover { background: var(--surface); }
.service__ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(232,177,74,.1); color: var(--accent); }
.service__ico svg { width: 22px; height: 22px; }
.service h3 { font-size: 18px; font-weight: 700; }
.service p { color: var(--muted); font-size: 14px; }

/* ---------- RAIL (horizontal scroll) ---------- */
.rail-wrap { position: relative; }
.rail {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding-inline: var(--gutter); padding-bottom: 12px;
  scrollbar-width: none; cursor: grab; -webkit-overflow-scrolling: touch;
}
.rail::-webkit-scrollbar { display: none; }
.rail.dragging { cursor: grabbing; scroll-snap-type: none; }
.rail.dragging .card { pointer-events: none; }
.rail > * { scroll-snap-align: start; flex: 0 0 auto; }
.rail__ctrl { display: flex; align-items: center; gap: 18px; }
.rail__arrows { display: flex; gap: 8px; }
.rail__arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 22px; transition: background .3s, border-color .3s, opacity .3s; }
.rail__arrow:hover { background: var(--surface); border-color: rgba(255,255,255,.4); }
.rail__arrow[disabled] { opacity: .3; cursor: default; }
.rail__bar { position: relative; height: 2px; width: 140px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.rail__bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 30%; background: var(--accent); border-radius: 2px; transition: transform .2s linear; transform-origin: left; }

/* category card */
.card {
  position: relative; width: clamp(260px, 26vw, 380px); aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: var(--surface);
  isolation: isolate; transition: transform .6s var(--ease);
}
.card:hover { transform: translateY(-6px); }
.card__media { position: absolute; inset: 0; }
.card__media img, .card__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .5s; }
.card__media video { opacity: 0; }
.card.playing .card__media video { opacity: 1; }
.card:hover .card__media img { transform: scale(1.06); }
.card__veil { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(10,10,11,.92) 100%); }
.card__body { position: absolute; inset: auto 0 0 0; padding: 24px; display: grid; gap: 6px; }
.card__idx { font-family: var(--ui); font-size: 12px; letter-spacing: .2em; color: var(--accent); font-weight: 700; }
.card h3 { font-size: clamp(20px, 2vw, 28px); font-weight: 800; }
.card p { color: rgba(243,242,238,.7); font-size: 14px; }
.card__meta { font-family: var(--ui); display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-size: 13px; color: var(--muted); }
.card__go { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .3s, transform .4s var(--ease); background: rgba(10,10,11,.4); backdrop-filter: blur(8px); }
.card:hover .card__go { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); transform: rotate(-45deg); }

/* ---------- BEFORE / AFTER ---------- */
.grades { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.cmp { --x: 50%; position: relative; width: 100%; border-radius: var(--radius); overflow: hidden; background: var(--surface); cursor: ew-resize; user-select: none; -webkit-user-select: none; touch-action: pan-y; isolation: isolate; }
.cmp img, .cmp canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.cmp video { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.cmp__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.cmp__handle { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; background: #fff; transform: translateX(-1px); box-shadow: 0 0 0 1px rgba(0,0,0,.25); }
.cmp__handle span { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; transform: translate(-50%,-50%); border-radius: 50%; background: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.45); display: grid; place-items: center; }
.cmp__handle span::before { content: "◀ ▶"; font-size: 11px; letter-spacing: 2px; color: var(--accent-ink); font-family: var(--ui); font-weight: 700; }
.cmp__tag { position: absolute; top: 14px; font-family: var(--ui); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; padding: 6px 10px; border-radius: 6px; background: rgba(10,10,11,.6); backdrop-filter: blur(6px); pointer-events: none; }
.cmp__tag--b { left: 14px; } .cmp__tag--a { right: 14px; color: var(--accent); }
.cmp__title { position: absolute; left: 14px; bottom: 12px; font-size: 13px; font-weight: 600; text-shadow: 0 2px 12px rgba(0,0,0,.7); pointer-events: none; }
.grades .cmp:first-child { grid-column: 1 / -1; }

/* ---------- AWARDS ---------- */
.awards { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 18px; }
.award { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); display: grid; grid-template-rows: auto 1fr; transition: border-color .3s, transform .5s var(--ease); }
.award:hover { border-color: var(--line-2); transform: translateY(-4px); }
.award__img { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-2); }
.award__img img { width: 100%; height: 100%; object-fit: cover; }
.award__img--empty { display: grid; place-items: center; color: var(--accent); }
.award__img--empty svg { width: 56px; height: 56px; opacity: .7; }
.award__body { padding: 24px; display: grid; gap: 10px; align-content: start; }
.award__year { font-family: var(--ui); font-size: 13px; letter-spacing: .2em; color: var(--accent); }
.award h3 { font-size: 22px; }
.award p { color: var(--muted); font-size: 14px; }

/* ---------- PRESS ---------- */
.press { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.press .press__item:only-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(280px, 420px) 1fr; column-gap: 32px; align-items: start; }
.press .press__item:only-child > a:first-child, .press .press__item:only-child > div:first-child { grid-row: 1 / 6; }
.press__item { display: grid; gap: 14px; }
.press__img { aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.press__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1s var(--ease); }
.press__item:hover .press__img img { transform: scale(1.04); }
.press__outlet { font-family: var(--ui); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.press h3 { font-size: 18px; font-weight: 700; line-height: 1.35; }
.press__meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.press__lang { font-family: var(--ui); font-size: 12px; color: var(--muted); border: 1px solid var(--line-2); border-radius: 999px; padding: 5px 12px; transition: border-color .3s, color .3s; }
.press__lang:hover { color: var(--text); border-color: rgba(255,255,255,.4); }
.press__lang b { color: var(--accent); }
.press__s { color: var(--muted); font-size: 14px; line-height: 1.7; }
.press__item[data-lang="en"] .press__t--ar, .press__item[data-lang="en"] .press__s--ar, .press__item[data-lang="ar"] .press__t--en, .press__item[data-lang="ar"] .press__s--en { display: none; }
.press__item[data-lang="ar"] .press__t, .press__item[data-lang="ar"] .press__s { text-align: right; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
.press__more { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }

/* ---------- REVIEWS ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 28px; display: grid; gap: 16px; align-content: start; }
.review__stars { color: var(--accent); letter-spacing: 2px; font-size: 15px; }
.review p { font-size: 15px; line-height: 1.7; }
.review__who { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.review__avatar { font-family: var(--display); width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), #8b5a12); display: grid; place-items: center; font-family: var(--display); font-weight: 800; color: var(--accent-ink); }
.review__name { font-weight: 700; font-size: 14px; } .review__role { color: var(--muted); font-size: 13px; }
.review--img { padding: 0; overflow: hidden; }
.review--img img { width: 100%; height: 100%; object-fit: cover; }
.review__g { font-family: var(--ui); margin-left: auto; font-size: 11px; color: var(--muted); letter-spacing: .1em; }

/* ---------- WHATSAPP SCREENSHOTS ---------- */
.shot { display: block; width: clamp(220px, 22vw, 300px); border-radius: 26px; overflow: hidden; background: var(--surface); border: 1px solid var(--line-2); box-shadow: 0 20px 50px rgba(0,0,0,.45); transition: transform .5s var(--ease), border-color .3s; }
.shot:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.35); }
.shot img { width: 100%; height: auto; display: block; }

/* ---------- PHOTOS ---------- */
.photo { display: block; position: relative; height: clamp(240px, 32vw, 420px); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.photo img { height: 100%; width: auto; object-fit: cover; transition: transform 1.2s var(--ease); }
.photo:hover img { transform: scale(1.05); }
.photo__cap { position: absolute; left: 16px; bottom: 14px; font-size: 13px; font-weight: 600; text-shadow: 0 2px 12px rgba(0,0,0,.6); }

/* ---------- ABOUT ---------- */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.about__photo { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; background: var(--surface); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__photo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--line); }
.about__badge { position: absolute; left: 20px; bottom: 20px; background: rgba(10,10,11,.7); backdrop-filter: blur(10px); border: 1px solid var(--line-2); padding: 10px 16px; border-radius: 999px; font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.about__badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3dd68c; box-shadow: 0 0 0 4px rgba(61,214,140,.2); }
.about__text { display: grid; gap: 20px; }
.about__text p { color: rgba(243,242,238,.8); font-size: clamp(15px, 1.3vw, 17px); }
.stats { display: flex; gap: 32px; flex-wrap: wrap; margin-top: 12px; padding-top: 24px; border-top: 1px solid var(--line); }
.stat b { display: block; font-family: var(--display); font-size: clamp(30px, 3.2vw, 44px); font-weight: 700; color: var(--accent); line-height: 1; }
.stat span { color: var(--muted); font-size: 13px; }

/* ---------- CONTACT ---------- */
.contact { border: 1px solid var(--line); border-radius: 28px; padding: clamp(32px, 5vw, 72px); background:
  radial-gradient(70% 90% at 90% 10%, rgba(232,177,74,.14), transparent 60%), var(--surface); display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.contact h2 { font-size: clamp(34px, 5vw, 64px); }
.contact__list { display: grid; gap: 14px; }
.contact__row { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(10,10,11,.4); transition: border-color .3s, transform .4s var(--ease); }
.contact__row:hover { border-color: var(--accent); transform: translateX(4px); }
.contact__row svg { width: 20px; height: 20px; color: var(--accent); flex: none; }
.contact__row small { font-family: var(--ui); display: block; color: var(--muted); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.contact__row b { font-weight: 600; font-size: 15px; }

.footer { font-family: var(--ui); padding: 40px var(--gutter); border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }

/* ---------- WHATSAPP FLOAT ---------- */
.wa { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37,211,102,.35); transition: transform .4s var(--ease); }
.wa:hover { transform: scale(1.08); }

/* ---------- CATEGORY PAGE ---------- */
.cat-hero { position: relative; padding-top: 140px; padding-bottom: 40px; overflow: hidden; isolation: isolate; }
.cat-hero__bg { position: absolute; inset: 0; z-index: -1; }
.cat-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; filter: blur(2px) saturate(.8); transform: scale(1.05); }
.cat-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,11,.5), var(--bg)); }
.back { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 600; margin-bottom: 26px; transition: color .3s; }
.back:hover { color: var(--text); }
.cat-hero h1 { font-size: clamp(40px, 7vw, 96px); }
.cat-hero__row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-top: 18px; }
.cat-hero .lead { max-width: 52ch; }
.count { font-family: var(--ui); color: var(--muted); font-size: 14px; letter-spacing: .1em; }
.count b { color: var(--accent); font-size: 26px; margin-right: 6px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; padding-block: 24px 8px; }
.chip { font-family: var(--ui); padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; font-weight: 600; color: var(--muted); transition: all .3s; }
.chip:hover { color: var(--text); border-color: rgba(255,255,255,.4); }
.chip.on { background: var(--text); color: var(--bg); border-color: var(--text); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); grid-auto-rows: 8px; grid-auto-flow: dense; gap: 16px; padding-block: 24px 0; }
.tile { position: relative; border-radius: 16px; overflow: hidden; background: var(--surface); isolation: isolate; cursor: pointer; opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.tile.in { opacity: 1; transform: none; }
.tile.hide { display: none; }
.tile__media { position: absolute; inset: 0; }
.tile__media img, .tile__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile__media video { opacity: 0; transition: opacity .4s; }
.tile.playing .tile__media video { opacity: 1; }
.tile__veil { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(10,10,11,.85)); opacity: .9; transition: opacity .4s; }
.tile__play { position: absolute; top: 50%; left: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; background: rgba(10,10,11,.55); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.25); display: grid; place-items: center; transition: transform .4s var(--ease), background .3s; }
.tile__play::after { content: ""; border-left: 16px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 4px; }
.tile:hover .tile__play { transform: scale(1.1); background: var(--accent); border-color: var(--accent); }
.tile:hover .tile__play::after { border-left-color: var(--accent-ink); }
.tile__body { position: absolute; inset: auto 0 0 0; padding: 18px; display: grid; gap: 2px; }
.tile h3 { font-size: 17px; font-weight: 700; }
.tile small { font-family: var(--ui); color: var(--muted); font-size: 12px; }
.tile__tag { font-family: var(--ui); position: absolute; top: 12px; left: 12px; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; padding: 5px 9px; border-radius: 6px; background: rgba(10,10,11,.6); backdrop-filter: blur(6px); color: rgba(243,242,238,.8); font-weight: 700; }

/* ---------- LIGHTBOX ---------- */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(6,6,7,.94); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); display: grid; place-items: center; padding: 72px 72px 40px; animation: fade .3s ease; }
.lb[hidden] { display: none; }
@keyframes fade { from { opacity: 0 } }
.lb__close { position: absolute; top: 18px; right: 22px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); font-size: 18px; z-index: 3; transition: background .3s; }
.lb__close:hover { background: var(--surface); }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); font-size: 30px; line-height: 1; z-index: 3; transition: background .3s, opacity .3s; display: grid; place-items: center; padding-bottom: 4px; }
.lb__nav:hover { background: var(--surface); }
.lb__nav[disabled] { opacity: .2; cursor: default; }
.lb__nav--prev { left: 16px; } .lb__nav--next { right: 16px; }
.lb__stage { width: 100%; height: 100%; display: grid; grid-template-rows: 1fr auto; gap: 16px; align-items: center; justify-items: center; min-height: 0; }
.player { position: relative; max-width: 100%; max-height: 100%; border-radius: 14px; overflow: hidden; background: #000; box-shadow: 0 30px 80px rgba(0,0,0,.6); animation: pop .4s var(--ease); }
@keyframes pop { from { transform: scale(.96); opacity: 0 } }
.player video { max-width: 100%; max-height: calc(100svh - 190px); width: auto; height: auto; }
.player.vertical video { height: calc(100svh - 190px); }
.player__big { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity .3s; }
.player__big::after { content: ""; width: 84px; height: 84px; border-radius: 50%; background: rgba(232,177,74,.95); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6.5v11l9-5.5z' fill='%231a1305'/%3E%3C/svg%3E"); background-size: 44px; background-position: 54% 50%; background-repeat: no-repeat; }
.player.paused .player__big { opacity: 1; }
.player__bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 14px 16px 12px; background: linear-gradient(transparent, rgba(0,0,0,.75)); opacity: 0; transition: opacity .3s; }
.player:hover .player__bar, .player.paused .player__bar, .player.touch .player__bar { opacity: 1; }
.player__btn { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; background: rgba(255,255,255,.08); transition: background .3s; }
.player__btn:hover { background: rgba(255,255,255,.18); }
.player__btn svg { width: 18px; height: 18px; }
.player__vol { display: flex; align-items: center; gap: 6px; }
.player__vol input { -webkit-appearance: none; appearance: none; width: 0; opacity: 0; height: 20px; background: transparent; cursor: pointer; transition: width .3s var(--ease), opacity .3s; --v: 100%; }
.player__vol:hover input, .player__vol input:focus, .player.touch .player__vol input { width: 80px; opacity: 1; }
.player__vol input::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--accent) var(--v), rgba(255,255,255,.25) var(--v)); }
.player__vol input::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; border-radius: 50%; background: #fff; margin-top: -4.5px; }
.player__vol input::-moz-range-track { height: 3px; border-radius: 3px; background: rgba(255,255,255,.25); }
.player__vol input::-moz-range-progress { height: 3px; background: var(--accent); }
.player__vol input::-moz-range-thumb { width: 12px; height: 12px; border: 0; border-radius: 50%; background: #fff; }
/* fill screen mode: video covers the viewport */
.lb.fill { padding: 0; }
.lb.fill .lb__stage { grid-template-rows: 1fr; gap: 0; }
.lb.fill .lb__info { display: none; }
.lb.fill .player { width: 100vw; height: 100svh; max-height: none; border-radius: 0; box-shadow: none; }
.lb.fill .player video, .lb.fill .player.vertical video { width: 100%; height: 100%; max-height: none; object-fit: cover; }
.lb.fill .lb__close { top: 14px; right: 14px; }
.player__time { font-family: var(--ui); font-variant-numeric: tabular-nums; font-size: 12px; color: rgba(255,255,255,.8); min-width: 36px; text-align: center; }
.player__track { flex: 1; height: 20px; position: relative; cursor: pointer; }
.player__track::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.2); }
.player__buf, .player__prog { position: absolute; left: 0; top: 9px; height: 3px; border-radius: 3px; width: 0; }
.player__buf { background: rgba(255,255,255,.3); }
.player__prog { background: var(--accent); }
.player__prog::after { content: ""; position: absolute; right: -6px; top: -4.5px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); transform: scale(0); transition: transform .2s; }
.player__track:hover .player__prog::after { transform: scale(1); }
.lb__img { max-width: 100%; max-height: calc(100svh - 150px); border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.6); animation: pop .4s var(--ease); object-fit: contain; }
.lb__img[hidden] { display: none; }
.player[hidden] { display: none; }
.lb__info { font-family: var(--ui); display: flex; gap: 28px; align-items: center; flex-wrap: wrap; justify-content: center; color: var(--muted); font-size: 13px; }
.lb__info h3 { font-size: 20px; color: var(--text); }
.lb__info span b { color: var(--text); font-weight: 600; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .awards { grid-template-columns: 1fr 1fr; } .awards .award:first-child { grid-column: 1 / -1; }
  .press, .reviews { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 800px) {
  .nav { height: 64px; align-items: flex-start; }
  .nav__brand, .nav__burger { height: 64px; display: flex; align-items: center; }
  .nav.menu-open { bottom: 0; height: auto; background: rgba(10,10,11,.97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-color: var(--line); }
  .nav__links { position: absolute; top: 64px; left: 0; right: 0; height: calc(100svh - 64px); flex-direction: column; align-items: flex-start; justify-content: flex-start; padding: 32px var(--gutter); gap: 22px; font-size: 26px; font-family: var(--display); font-weight: 800; opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .35s var(--ease), transform .45s var(--ease); }
  .nav__links.open { opacity: 1; pointer-events: auto; transform: none; }
  .hero h1 { font-size: clamp(36px, 10.5vw, 112px); }
  .hero__kicker { font-size: 11px; letter-spacing: .14em; }
  .nav__cta { margin-top: 12px; font-size: 16px; padding: 14px 24px; font-family: var(--ui); }
  .nav__burger { display: block; }
  .hero { min-height: 92svh; }
  .hero__scroll { display: none; }
  .card { width: min(76vw, 340px); }
  .awards, .press, .grades { grid-template-columns: 1fr; }
  .press .press__item:only-child { grid-template-columns: 1fr; }
  .press .press__item:only-child > a:first-child, .press .press__item:only-child > div:first-child { grid-row: auto; }
  .about { grid-template-columns: 1fr; }
  .about__photo { aspect-ratio: 4/4.4; }
  .contact { grid-template-columns: 1fr; padding: 28px 22px; border-radius: 22px; }
  .lb { padding: 64px 0 18px; }
  .lb__nav { width: 44px; height: 44px; font-size: 26px; top: auto; bottom: 18px; transform: none; }
  .lb__nav--prev { left: 18px; } .lb__nav--next { right: 18px; }
  .lb__stage { gap: 10px; }
  .player { border-radius: 0; box-shadow: none; }
  .player video { max-height: calc(100svh - 170px); }
  .player__vol input { width: 56px !important; opacity: 1 !important; }
  .player.vertical video { height: calc(100svh - 170px); }
  .shot { width: 68vw; }
  .lb__img { border-radius: 0; max-height: calc(100svh - 140px); }
  .lb__info { padding-inline: 70px; font-size: 12px; gap: 10px 18px; }
  .lb__info h3 { font-size: 16px; width: 100%; text-align: center; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; grid-auto-rows: 8px; }
  .tile__play { width: 46px; height: 46px; margin: -23px 0 0 -23px; }
  .tile__body { padding: 12px; } .tile h3 { font-size: 14px; }
  .rail__bar { display: none; }
  .wa { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .marquee__track { animation-duration: 26s; }
  .marquee__set { gap: 40px; padding-right: 40px; }
  .logo span { font-size: 18px; }
}
@media (max-width: 480px) {
  .services { grid-template-columns: 1fr; }
  .stats { gap: 20px; }
}
