/* Hamza Sgour — portfolio. Brand: black / white / signal red (from his CV). */
:root {
  --bg: #0a0a0a;
  --bg-2: #121212;
  --card: #181818;
  --line: #2a2a2a;
  --text: #f4f2ef;
  --muted: #9b9893;
  --red: #e5352b;
  --red-2: #ff4a3d;
  --radius: 4px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --display: "Archivo", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --body: "IBM Plex Sans Arabic", "Archivo", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.7 var(--body); overflow-x: 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; }
:focus-visible { outline: 2px solid var(--red-2); outline-offset: 3px; }

/* language switching: show only the active language */
html[lang="ar"] [data-l="en"], html[lang="en"] [data-l="ar"] { display: none !important; }
html[lang="ar"] body { font-size: 18px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--red); padding: 8px 14px; z-index: 100; }
.skip:focus { inset-inline-start: 8px; }
.muted { color: var(--muted); }

/* ---------- NAV ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.is-solid { background: rgba(10, 10, 10, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-color: var(--line); }
.nav__in { display: flex; align-items: center; gap: 24px; height: 72px; }
.nav__logo { display: flex; align-items: center; gap: 12px; margin-inline-end: auto; }
.nav__logo img { width: 44px; height: auto; }
.nav__name { font: 500 15px/1 var(--display); letter-spacing: .18em; direction: ltr; }
.nav__name b { font-weight: 900; }
.nav__links { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav__links a { position: relative; color: #ddd; transition: color .2s; }
.nav__links a:hover { color: #fff; }
.nav__links a:not(.nav__cta)::after { content: ""; position: absolute; inset-inline: 0; bottom: -6px; height: 2px; background: var(--red); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__links a[aria-current="page"] { color: #fff; }
.nav__cta { background: var(--red); color: #fff !important; padding: 9px 18px; border-radius: var(--radius); font-weight: 500; }
.nav__cta:hover { background: var(--red-2); }
.lang { border: 1px solid #444; border-radius: var(--radius); padding: 6px 12px; font-size: 14px; min-width: 52px; }
.lang:hover { border-color: #fff; }
.burger { display: none; width: 40px; height: 40px; position: relative; }
.burger i { position: absolute; inset-inline: 9px; height: 2px; background: #fff; transition: transform .3s var(--ease); }
.burger i:first-child { top: 15px; } .burger i:last-child { top: 23px; }
.burger[aria-expanded="true"] i:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 900px) {
  .burger { display: block; }
  .nav__links { position: fixed; inset: 72px 0 auto; flex-direction: column; align-items: stretch; gap: 0; background: rgba(10,10,10,.97); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; transform: translateY(-120%); transition: transform .35s var(--ease); z-index: -1; }
  .nav__links.is-open { transform: none; }
  .nav__links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .nav__links a::after { display: none; }
  .nav__cta { margin-top: 14px; text-align: center; border: 0 !important; }
  .nav__name { display: none; }
}

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: #000; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 35%, rgba(0,0,0,.55) 70%, #0a0a0a 100%); }
.hero__in { position: relative; width: 100%; padding-bottom: clamp(72px, 12vh, 140px); padding-top: 120px; }
.eyebrow { margin: 0 0 18px; font: 500 13px/1 var(--display); letter-spacing: .28em; text-transform: uppercase; color: #ddd; display: flex; align-items: center; gap: 12px; }
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: 15px; }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--red); }
.hero__title { margin: 0; font: 900 clamp(64px, 13vw, 184px)/.86 var(--display); text-transform: uppercase; letter-spacing: -.02em; }
html[lang="ar"] .hero__title { font-family: "IBM Plex Sans Arabic", sans-serif; font-weight: 700; line-height: 1.05; letter-spacing: 0; font-size: clamp(64px, 12vw, 168px); }
.hero__role { margin: 22px 0 0; font: 400 clamp(24px, 3.4vw, 40px)/1.15 var(--display); text-transform: uppercase; letter-spacing: .04em; }
.hero__role i { font-style: normal; color: var(--red); }
html[lang="ar"] .hero__role { font-family: var(--body); text-transform: none; letter-spacing: 0; font-weight: 500; }
.hero__lede { max-width: 560px; margin: 26px 0 34px; font-size: clamp(17px, 1.6vw, 20px); color: #e2e0dc; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border-radius: var(--radius); font-weight: 500; transition: background .2s, border-color .2s, transform .2s; }
.btn:active { transform: translateY(1px); }
.btn--red { background: var(--red); }
.btn--red:hover { background: var(--red-2); }
.btn--ghost { border: 1px solid rgba(255,255,255,.45); }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.hero__scroll { position: absolute; bottom: 26px; inset-inline-end: var(--gutter); width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.6); border-radius: 14px; }
.hero__scroll i { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; background: #fff; border-radius: 2px; animation: drop 1.8s infinite; }
@keyframes drop { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- NETWORKS MARQUEE ---------- */
.networks { border-block: 1px solid var(--line); display: flex; align-items: center; background: var(--bg); }
.networks__label { flex: none; margin: 0; padding: 0 var(--gutter); font: 500 12px/1 var(--display); letter-spacing: .24em; text-transform: uppercase; color: var(--red); white-space: nowrap; }
html[lang="ar"] .networks__label { letter-spacing: 0; font-size: 15px; font-family: var(--body); }
.marquee { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); direction: ltr; }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee__track span { padding: 26px 34px; font: 700 clamp(18px, 2.2vw, 26px)/1 var(--display); text-transform: uppercase; letter-spacing: .04em; color: #cfccc7; white-space: nowrap; display: flex; align-items: center; gap: 34px; }
.marquee__track span::after { content: ""; width: 6px; height: 6px; background: var(--red); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- SECTIONS ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section--alt { background: var(--bg-2); }
.head { display: grid; grid-template-columns: auto 1fr; column-gap: 24px; align-items: end; margin-bottom: 36px; }
.kicker { margin: 0; font: 900 14px/1 var(--display); color: var(--red); letter-spacing: .1em; grid-row: 1; align-self: start; padding-top: 14px; }
.head h2, .about h2, .contact h2 { margin: 0; font: 900 clamp(40px, 6.4vw, 84px)/.95 var(--display); text-transform: uppercase; letter-spacing: -.015em; }
html[lang="ar"] .head h2, html[lang="ar"] .about h2 { font-family: var(--body); font-weight: 700; line-height: 1.15; letter-spacing: 0; }
.head__sub { grid-column: 2; margin: 14px 0 0; color: var(--muted); max-width: 640px; }
.sub { font: 700 13px/1 var(--display); letter-spacing: .22em; text-transform: uppercase; color: var(--red); margin: 0 0 18px; }
html[lang="ar"] .sub { letter-spacing: 0; font-size: 16px; font-family: var(--body); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: #ccc; transition: all .2s; }
.chip:hover { border-color: #666; color: #fff; }
.chip[aria-selected="true"] { background: var(--text); color: #0a0a0a; border-color: var(--text); }
.chip small { opacity: .55; margin-inline-start: 6px; font-size: 12px; }

/* ---------- FILMS ---------- */
.films { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 20px; }
.film { position: relative; text-align: start; display: block; width: 100%; }
.film__media { position: relative; aspect-ratio: 16/9; overflow: hidden; border-radius: var(--radius); background: var(--card); }
.film__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .4s; filter: saturate(.92); }
.film:hover .film__media img { transform: scale(1.05); filter: saturate(1.05); }
.film__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.55), transparent 50%); }
.film__play { position: absolute; z-index: 1; inset-inline-start: 14px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%; background: var(--red); display: grid; place-items: center; transition: transform .3s var(--ease); }
.film__play::before { content: ""; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent #fff; margin-left: 3px; }
.film:hover .film__play { transform: scale(1.12); }
.film__dur { position: absolute; z-index: 1; inset-inline-end: 12px; bottom: 14px; font: 500 12px/1 var(--display); background: rgba(0,0,0,.6); padding: 5px 8px; border-radius: 3px; direction: ltr; }
.film__meta { display: flex; gap: 10px; align-items: center; margin-top: 14px; font-size: 13px; color: var(--muted); }
.film__net { color: var(--red-2); font-weight: 500; }
.film__title { margin: 4px 0 0; font-size: 19px; font-weight: 500; line-height: 1.35; }
.film--feature { grid-column: 1 / -1; display: grid; grid-template-columns: 1.7fr 1fr; gap: 32px; align-items: end; margin-bottom: 12px; }
.film--feature .film__title { font: 900 clamp(28px, 3.4vw, 44px)/1.05 var(--display); text-transform: uppercase; }
html[lang="ar"] .film--feature .film__title { font-family: var(--body); font-weight: 700; line-height: 1.25; }
.film--feature .film__play { width: 64px; height: 64px; inset-inline-start: 22px; bottom: 20px; }
.film--feature .film__play::before { border-width: 10px 0 10px 17px; }
.film__feat-label { font: 700 12px/1 var(--display); letter-spacing: .22em; text-transform: uppercase; color: var(--red); }
html[lang="ar"] .film__feat-label { letter-spacing: 0; font-size: 14px; font-family: var(--body); }
.more { margin-top: 36px; text-align: center; }
@media (max-width: 1000px) { .films { grid-template-columns: repeat(2, 1fr); } .film--feature { grid-template-columns: 1fr; gap: 0; } }
@media (max-width: 600px) { .films { grid-template-columns: 1fr; } }

/* ---------- PHOTO MASONRY ---------- */
.masonry { columns: 3 300px; column-gap: 14px; }
.ph { display: block; width: 100%; margin: 0 0 14px; break-inside: avoid; overflow: hidden; border-radius: var(--radius); background: var(--card); position: relative; }
.ph img { width: 100%; height: auto; transition: transform .7s var(--ease), opacity .5s; opacity: 0; }
.ph img.is-loaded { opacity: 1; }
.ph:hover img { transform: scale(1.035); }
.ph::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 0 var(--red); transition: box-shadow .25s; }
.ph:hover::after { box-shadow: inset 0 0 0 3px var(--red); }

/* ---------- REELS ---------- */
.reels { --reel-pad: var(--gutter); display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--reel-pad) 18px; scroll-padding-inline: var(--reel-pad); scrollbar-width: thin; scrollbar-color: #444 transparent; }
@media (min-width: 1320px) { .reels { --reel-pad: calc((100vw - var(--wrap)) / 2 + var(--gutter)); } }
.reel { flex: none; width: clamp(200px, 22vw, 260px); scroll-snap-align: start; text-align: start; }
.reel__media { position: relative; aspect-ratio: 9/16; border-radius: var(--radius); overflow: hidden; background: var(--card); }
.reel__media img, .reel__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel__media video { opacity: 0; transition: opacity .3s; }
.reel.is-playing video { opacity: 1; }
.reel__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.7), transparent 40%); pointer-events: none; }
.reel__title { position: absolute; z-index: 1; inset-inline: 14px; bottom: 12px; font-size: 15px; font-weight: 500; line-height: 1.3; }
.reel__icon { position: absolute; z-index: 1; top: 12px; inset-inline-end: 12px; width: 30px; height: 30px; border-radius: 50%; background: rgba(0,0,0,.5); display: grid; place-items: center; }
.reel__icon::before { content: ""; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent #fff; margin-left: 2px; }

/* ---------- ABOUT ---------- */
.about { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 88px); align-items: start; margin-bottom: 80px; }
.about__photo { margin: 0; position: relative; }
.about__photo img:first-child { width: 100%; height: auto; border-radius: var(--radius); }
.about__photo::before { content: ""; position: absolute; top: -14px; inset-inline-start: -14px; width: 90px; height: 90px; border-top: 3px solid var(--red); border-inline-start: 3px solid var(--red); }
.about__sig { position: absolute; width: 130px; height: auto; bottom: -34px; inset-inline-end: -10px; filter: drop-shadow(0 4px 18px rgba(0,0,0,.6)); }
.about__text .kicker { padding: 0; margin-bottom: 10px; }
.about__text h2 { margin-bottom: 26px; }
.about__lede { font-size: clamp(20px, 2vw, 25px); line-height: 1.5; color: #fff; margin-top: 0; }
.about__text p { color: #d2cfca; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 36px 0 0; padding-top: 28px; border-top: 1px solid var(--line); }
.stats dt { font: 900 clamp(40px, 5vw, 60px)/1 var(--display); color: var(--red); }
.stats dd { margin: 8px 0 0; font-size: 14px; color: var(--muted); line-height: 1.45; }
.highlights { list-style: none; padding: 0; margin: 0 0 64px; counter-reset: h; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.highlights li { counter-increment: h; display: grid; grid-template-columns: 44px 1fr; padding: 18px 0; border-top: 1px solid var(--line); color: #d9d6d1; }
.highlights li::before { content: counter(h, decimal-leading-zero); font: 700 13px/1.9 var(--display); color: var(--red); }
.onjob { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-bottom: 64px; }
.onjob button { aspect-ratio: 3/4; overflow: hidden; border-radius: var(--radius); }
.onjob img { width: 100%; height: 100%; object-fit: cover; transition: filter .4s, transform .6s var(--ease); }
.onjob button:hover img { filter: none; transform: scale(1.04); }
.cv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.cv p { margin: 0 0 18px; line-height: 1.5; }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; font-size: 14px; color: #ccc; }
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
  .about__photo { max-width: 460px; }
  .highlights, .cv { grid-template-columns: 1fr; }
  .onjob { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
  .head { grid-template-columns: 1fr; } .kicker { padding: 0 0 8px; grid-row: auto; } .head__sub { grid-column: 1; }
}

/* ---------- CONTACT ---------- */
.contact { padding: clamp(90px, 12vw, 160px) 0; background: var(--red); color: #fff; position: relative; overflow: hidden; }
.contact::after { content: ""; position: absolute; width: 520px; height: 520px; background: url(img/logo-white.png) center/contain no-repeat; opacity: .08; bottom: -80px; inset-inline-end: -60px; pointer-events: none; }
.contact .kicker { color: #fff; opacity: .7; padding: 0 0 12px; }
.contact__title { font: 900 clamp(52px, 10vw, 140px)/.9 var(--display) !important; text-transform: uppercase; }
html[lang="ar"] .contact__title { font-family: var(--body) !important; font-weight: 700 !important; line-height: 1.1 !important; }
.contact__sub { max-width: 560px; margin: 28px 0 44px; font-size: 19px; color: rgba(255,255,255,.9); }
.contact__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; position: relative; z-index: 1; }
.ccard { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; background: rgba(0,0,0,.18); border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius); transition: background .2s, transform .2s; }
.ccard:hover { background: #0a0a0a; transform: translateY(-2px); }
.ccard__k { font-size: 13px; opacity: .75; }
.ccard__v { font: 500 17px/1.3 var(--display); word-break: break-all; text-align: start; }
html[dir="rtl"] .ccard__v { text-align: right; }

.foot { padding: 30px 0; border-top: 1px solid var(--line); }
.foot__in { display: flex; align-items: center; gap: 16px; color: var(--muted); font-size: 14px; }
.foot__in p { margin: 0; }

/* ---------- LIGHTBOX ---------- */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(5,5,5,.96); display: grid; grid-template-columns: 64px 1fr 64px; grid-template-rows: 1fr auto; align-items: center; padding: 56px 8px 16px; }
.lb[hidden] { display: none; }
.lb__stage { grid-column: 2; grid-row: 1; height: 100%; display: grid; place-items: center; min-height: 0; }
.lb__stage img, .lb__stage video { max-width: 100%; max-height: calc(100svh - 120px); object-fit: contain; border-radius: 2px; background: #000; }
.lb__stage video { width: min(100%, 1400px); }
.lb__stage video.is-vertical { width: auto; height: calc(100svh - 120px); }
.lb__cap { grid-column: 1 / -1; text-align: center; margin: 12px 0 0; color: #ccc; font-size: 15px; }
.lb__close { position: absolute; top: 10px; inset-inline-end: 14px; font-size: 38px; line-height: 1; width: 48px; height: 48px; }
.lb__nav { font-size: 44px; width: 56px; height: 56px; border-radius: 50%; opacity: .7; }
.lb__nav:hover { opacity: 1; background: rgba(255,255,255,.08); }
.lb__prev { grid-column: 1; } .lb__next { grid-column: 3; }
html[dir="rtl"] .lb__prev, html[dir="rtl"] .lb__next { transform: scaleX(-1); }
@media (max-width: 700px) { .lb { grid-template-columns: 0 1fr 0; } .lb__nav { position: absolute; bottom: 8px; } .lb__prev { inset-inline-start: 12px; } .lb__next { inset-inline-end: 12px; } }

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

/* ---------- HOME: two worlds ---------- */
.worlds { display: flex; height: min(88svh, 820px); min-height: 560px; background: #000; }
.world { position: relative; flex: 1; overflow: hidden; display: flex; align-items: flex-end; transition: flex-grow .8s var(--ease); isolation: isolate; }
.world + .world { border-inline-start: 1px solid rgba(255,255,255,.12); }
@media (hover: hover) and (min-width: 901px) { .worlds:hover .world { flex-grow: .75; } .worlds .world:hover { flex-grow: 1.35; } }
.world__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease), filter .8s; filter: saturate(.75) brightness(.8); }
.world:hover .world__bg { transform: scale(1.04); filter: saturate(1) brightness(.95); }
.world__slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 1.4s ease, transform 6s linear; }
.world__slides img.is-on { opacity: 1; transform: scale(1); }
.world__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,.15) 100%); }
.world__body { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 4vw, 56px); max-width: 560px; }
.world__num { font: 900 14px/1 var(--display); color: var(--red); letter-spacing: .1em; }
.world__title { font: 900 clamp(56px, 8.5vw, 132px)/.88 var(--display); text-transform: uppercase; letter-spacing: -.02em; }
html[lang="ar"] .world__title { font-family: var(--body); font-weight: 700; line-height: 1.1; letter-spacing: 0; }
.world__desc { color: #ddd; font-size: 17px; line-height: 1.55; }
.world__meta { color: var(--muted); font-size: 14px; }
.world__go { display: inline-flex; align-items: center; gap: 12px; align-self: flex-start; margin-top: 6px; padding: 12px 22px; border: 1px solid rgba(255,255,255,.45); border-radius: var(--radius); font-weight: 500; transition: background .25s, border-color .25s; }
.world__go i { font-style: normal; transition: transform .3s var(--ease); }
html[dir="rtl"] .world__go i, html[dir="rtl"] .crosslink__t i { display: inline-block; transform: scaleX(-1); }
.world:hover .world__go { background: var(--red); border-color: var(--red); }
.world:hover .world__go i { transform: translateX(4px); }
html[dir="rtl"] .world:hover .world__go i { transform: scaleX(-1) translateX(4px); }
@media (max-width: 900px) { .worlds { flex-direction: column; height: auto; min-height: 0; } .world { min-height: 72svh; } .world + .world { border-inline-start: 0; border-top: 1px solid rgba(255,255,255,.12); } }

/* ---------- PAGE HERO (video / photo pages) ---------- */
.pagehero { position: relative; min-height: 78svh; display: flex; align-items: flex-end; overflow: hidden; background: #000; }
.pagehero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); animation: kenburns 18s ease-out both; }
.pagehero--photo .pagehero__bg { object-position: center 30%; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.pagehero__shade { position: absolute; inset: 0; background: linear-gradient(0deg, #0a0a0a 0%, rgba(10,10,10,.55) 40%, rgba(0,0,0,.35) 100%); }
.pagehero__in { position: relative; width: 100%; padding-top: 130px; padding-bottom: clamp(48px, 8vh, 90px); }
.pagehero__title { margin: 0; font: 900 clamp(84px, 16vw, 230px)/.82 var(--display); text-transform: uppercase; letter-spacing: -.03em; }
html[lang="ar"] .pagehero__title { font-family: var(--body); font-weight: 700; line-height: 1.05; letter-spacing: 0; font-size: clamp(72px, 13vw, 180px); }
.pagehero__lede { max-width: 620px; margin: 24px 0 0; font-size: clamp(17px, 1.5vw, 20px); color: #e2e0dc; }
.pagehero__stats { display: flex; flex-wrap: wrap; gap: 14px 44px; margin: 34px 0 0; }
.pagehero__stats dt { font: 900 clamp(32px, 3.6vw, 48px)/1 var(--display); color: var(--red); }
.pagehero__stats dd { margin: 6px 0 0; font-size: 14px; color: #bbb; }
.chips--sticky { position: sticky; top: 72px; z-index: 5; background: rgba(10,10,10,.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 12px 0; margin-top: -12px; }

/* ---------- CROSS-LINK to the other world ---------- */
.crosslink { position: relative; display: block; overflow: hidden; background: #000; isolation: isolate; }
.crosslink__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; opacity: .35; transition: opacity .6s, filter .6s, transform 1.2s var(--ease); }
.crosslink:hover .crosslink__bg { opacity: .55; filter: none; transform: scale(1.03); }
.crosslink__in { display: flex; flex-direction: column; gap: 8px; padding-top: clamp(70px, 10vw, 130px); padding-bottom: clamp(70px, 10vw, 130px); }
.crosslink__k { font: 700 13px/1 var(--display); letter-spacing: .24em; text-transform: uppercase; color: var(--red); }
html[lang="ar"] .crosslink__k { letter-spacing: 0; font-family: var(--body); font-size: 16px; }
.crosslink__t { font: 900 clamp(56px, 10vw, 140px)/.9 var(--display); text-transform: uppercase; }
html[lang="ar"] .crosslink__t { font-family: var(--body); font-weight: 700; line-height: 1.1; }
.crosslink__t i { font-style: normal; color: var(--red); }

/* phones: one swipeable row of category chips */
@media (max-width: 700px) {
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
}

/* music toggle (equalizer bars) */
.snd { display: inline-flex; align-items: flex-end; justify-content: center; gap: 2px; width: 38px; height: 34px; padding: 9px 0; border: 1px solid #444; border-radius: var(--radius); opacity: .85; }
.snd:hover { border-color: #fff; opacity: 1; }
.snd i { display: block; width: 2px; height: 3px; background: currentColor; border-radius: 1px; transition: height .3s; }
.snd[aria-pressed="true"] { border-color: var(--red); }
.snd[aria-pressed="true"] i { animation: eq 1.1s ease-in-out infinite; background: var(--red-2); }
.snd[aria-pressed="true"] i:nth-child(2) { animation-delay: -.35s; } .snd[aria-pressed="true"] i:nth-child(3) { animation-delay: -.7s; } .snd[aria-pressed="true"] i:nth-child(4) { animation-delay: -.2s; }
@keyframes eq { 0%, 100% { height: 3px; } 50% { height: 14px; } }
@media (max-width: 900px) { .nav__in { gap: 12px; } }

/* vertical works (reels / fashion) inside the 16:9 film grid */
.film__media--v img:not(.film__blur) { object-fit: contain; position: relative; z-index: 0; }
.film__media--v .film__blur { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(22px) brightness(.55) saturate(1.2); transform: scale(1.2); }
.film:hover .film__media--v .film__blur { transform: scale(1.25); }
.pagehero--behind .pagehero__bg { object-position: center 25%; }
.crosslink--behind .crosslink__bg { object-position: center 25%; opacity: .5; }
.crosslink--behind .crosslink__t { font-size: clamp(44px, 8vw, 120px); }

/* photo page: stacked category sections */
.pcat { padding-top: clamp(40px, 6vw, 72px); }
.pcat:first-child { padding-top: 0; }
.pcat + .pcat { margin-top: clamp(24px, 4vw, 48px); border-top: 1px solid var(--line); }
.pcat__head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 26px; }
.pcat__num { font: 900 14px/1 var(--display); color: var(--red); letter-spacing: .1em; }
.pcat__title { margin: 0; font: 900 clamp(34px, 5vw, 64px)/1 var(--display); text-transform: uppercase; letter-spacing: -.01em; }
html[lang="ar"] .pcat__title { font-family: var(--body); font-weight: 700; line-height: 1.2; letter-spacing: 0; }
.pcat__count { margin-inline-start: auto; font: 500 14px/1 var(--display); color: var(--muted); }
@media (max-width: 700px) {
  .masonry { columns: 2; column-gap: 8px; }
  .ph { margin-bottom: 8px; }
  .pcat__head { margin-bottom: 18px; }
}
