/* ============================================================
   EZORW — DESIGN & MOTION
   1. Tokens & base
   2. Background
   3. Navigation
   4. Hero
   5. Marquee
   6. Sections
   7. Work gallery
   8. Services
   9. Process
   10. About
   11. Contact & footer
   12. Media viewer
   13. Video & utilities
   14. Responsive
   15. Arabic / RTL
   ============================================================ */

/* ---------------- 1. Tokens & base ---------------- */

:root {
  --bg: #06001a;
  --panel: #0e0733;
  --line: #27196b;
  --text: #efeafc;
  --muted: #a39dcc;
  --mag: #f03cf0;
  --pink: #f29cf8;
  --label: #f5b9ff;
  --violet: #9b6bff;
  --ice: #bcc8f0;
  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(104px + env(safe-area-inset-top, 0px));
  scrollbar-gutter: stable;
  scrollbar-color: var(--violet) var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 Manrope, system-ui, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.lb-open { overflow: hidden; }

h1, h2, h3 {
  margin: 0;
  font-family: Michroma, Manrope, system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.05;
}

p { margin: 0; }
ul { margin: 0; padding: 0; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }

::selection { background: var(--pink); color: #1a0f33; }

:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: -80px;
  inset-inline-start: 16px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.wrap {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.noscript-note {
  padding: 18px 24px;
  margin: 20px auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  color: var(--muted);
  text-align: center;
}

/* ---------------- 2. Background ---------------- */

.bg-art {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: url("../img/background.jpg") center / cover no-repeat;
  filter: brightness(calc(.68 - var(--d, 0) * .38));
  transition: filter .45s ease-out;
  animation: kb 45s ease-in-out infinite alternate;
  pointer-events: none;
}

.bg-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(38% 42% at 18% 28%, rgba(155, 107, 255, .42), transparent 70%),
    radial-gradient(34% 38% at 82% 72%, rgba(240, 60, 240, .30), transparent 70%),
    radial-gradient(30% 34% at 70% 18%, rgba(90, 120, 255, .22), transparent 70%);
}

.bg-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 45%, rgba(6, 0, 26, .55), rgba(6, 0, 26, .2) 75%);
}

/* ---------------- 3. Navigation ---------------- */

.nav {
  position: sticky;
  top: calc(env(safe-area-inset-top, 0px) + 14px);
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 14px;
  padding: 8px 10px 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: linear-gradient(135deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .04));
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 18px 40px -22px rgba(0, 0, 0, .7);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  text-decoration: none;
}

.brand img {
  height: 38px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-inline-start: auto;
}

.nav-links a {
  position: relative;
  padding: 6px 1px;
  color: var(--muted);
  font: 400 11px/1 Michroma, sans-serif;
  font-style: italic;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color .25s;
  white-space: nowrap;
}

.nav-links a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -2px;
  height: 1px;
  background: linear-gradient(90deg, var(--pink), var(--violet));
  transform: scaleX(0);
  transform-origin: inline-start;
  transition: transform .3s;
}

.nav-links a:hover,
.nav-links a.is-active { color: var(--text); }
.nav-links a:hover::after,
.nav-links a.is-active::after { transform: scaleX(1); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.lang {
  padding: 7px 16px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  color: var(--text);
  font: 600 13px/1 Cairo, Manrope, sans-serif;
  cursor: pointer;
  transition: border-color .25s, transform .25s, background .25s;
}

.lang:hover {
  border-color: var(--pink);
  background: rgba(255, 255, 255, .12);
  transform: translateY(-2px);
}

.menu-btn {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
  cursor: pointer;
}

.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 16px;
  height: 1.5px;
  margin-left: -8px;
  border-radius: 2px;
  background: var(--text);
  transition: transform .3s, opacity .2s;
}

.menu-btn span { top: 50%; margin-top: -1px; }
.menu-btn span::before { top: -5px; }
.menu-btn span::after { top: 5px; }

.nav.menu-open .menu-btn span { transform: rotate(45deg); }
.nav.menu-open .menu-btn span::before { transform: translateY(5px) rotate(-90deg); }
.nav.menu-open .menu-btn span::after { opacity: 0; }

/* ---------------- 4. Hero ---------------- */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: calc(100vh - 118px);
  min-height: calc(100svh - 118px);
  padding: 42px 0 96px;
  text-align: center;
}

.frame {
  position: absolute;
  inset-inline-start: 0;
  top: 36px;
  width: clamp(120px, 20vw, 250px);
  height: clamp(70px, 10vw, 125px);
  border-top: 2px solid #fff;
  border-inline-start: 2px solid #fff;
  transform-origin: 0 0;
  animation: draw 1.2s .2s cubic-bezier(.2, .8, .2, 1) both;
  pointer-events: none;
}

.frame::before,
.frame::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  background: #fff;
}
.frame::before { top: -5px; inset-inline-end: -5px; }
.frame::after { bottom: -5px; inset-inline-start: -5px; }

.vert {
  position: absolute;
  inset-inline-end: -4px;
  top: 60px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font: 400 12px Michroma, sans-serif;
  font-style: italic;
  letter-spacing: .9em;
  color: rgba(239, 234, 252, .6);
  animation: rise 1s .9s both;
  pointer-events: none;
}

.logo {
  position: relative;
  display: grid;
  place-items: center;
  margin-bottom: 30px;
  animation: pop 1s cubic-bezier(.2, .8, .2, 1) both;
}

.logo::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: radial-gradient(closest-side, rgba(240, 60, 240, .3), rgba(155, 107, 255, .26) 45%, transparent 72%);
  filter: blur(12px);
  animation: pulse 5.5s ease-in-out infinite;
  pointer-events: none;
}

.logo img {
  position: relative;
  width: clamp(140px, 17vw, 210px);
  height: auto;
  filter: drop-shadow(0 18px 40px rgba(155, 107, 255, .35));
  animation: float 7s ease-in-out infinite;
}

.hero h1 {
  font-size: clamp(26px, 4.4vw, 54px);
  line-height: 1.28;
  font-style: italic;
  letter-spacing: -.01em;
}

.hero h1 i {
  display: block;
  font-style: italic;
  animation: rise .9s .2s cubic-bezier(.2, .8, .2, 1) both;
}

.hero h1 span {
  display: block;
  background-image: linear-gradient(100deg, var(--pink), var(--violet), var(--ice), var(--pink));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation:
    rise .9s .38s cubic-bezier(.2, .8, .2, 1) both,
    shift 7s 1.4s linear infinite;
}

.hero > p:not(.avail) {
  max-width: 52ch;
  margin: 24px auto 0;
  color: var(--text);
  font-size: clamp(17px, 1.9vw, 21px);
  font-weight: 500;
  line-height: 1.75;
  animation: rise .9s .55s cubic-bezier(.2, .8, .2, 1) both;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
  animation: rise .9s .72s cubic-bezier(.2, .8, .2, 1) both;
}

.avail {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 26px;
  color: var(--muted);
  font: 400 11px/1 Michroma, sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
  animation: rise .9s .9s cubic-bezier(.2, .8, .2, 1) both;
}

.avail i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #67f5b6;
  box-shadow: 0 0 0 0 rgba(103, 245, 182, .55);
  animation: ping 2.4s ease-out infinite;
}

.scroll-cue {
  position: absolute;
  bottom: 20px;
  inset-inline-start: 50%;
  translate: -50% 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font: 400 9px/1 Michroma, sans-serif;
  letter-spacing: .35em;
  text-transform: uppercase;
  text-decoration: none;
  animation: rise 1s 1.1s both;
}

.scroll-cue i {
  position: relative;
  width: 1px;
  height: 38px;
  background: rgba(255, 255, 255, .18);
  overflow: hidden;
}

.scroll-cue i::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: -100%;
  height: 100%;
  background: linear-gradient(var(--pink), transparent);
  animation: scrollLine 2.2s ease-in-out infinite;
}

/* ---------------- 5. Marquee ---------------- */

.marquee {
  overflow: hidden;
  margin: 6px 0 0;
  padding: 15px 0;
  border-block: 1px solid rgba(255, 255, 255, .13);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}

.mq-group {
  display: flex;
  align-items: center;
  flex: none;
}

.mq-group span {
  padding: 0 24px;
  color: var(--ice);
  font: 400 11px/1 Michroma, sans-serif;
  letter-spacing: .3em;
  text-transform: uppercase;
  white-space: nowrap;
}

.mq-group b {
  color: var(--pink);
  font-size: 10px;
  font-weight: 400;
}

/* ---------------- 6. Sections ---------------- */

.section { padding-top: clamp(64px, 8vw, 108px); }

.sec-head {
  max-width: 700px;
  margin-bottom: 32px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--label);
  font: 600 13px/1.4 Michroma, sans-serif;
  font-style: italic;
  letter-spacing: .5em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--pink), transparent);
}

.section h2 {
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -.02em;
}

.sub {
  max-width: 54ch;
  margin-top: 14px;
  color: var(--muted);
}

/* ---------------- 7. Work gallery & motion ---------------- */

.gal-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-bottom: 22px;
}

.gal-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gal-total {
  margin-inline-start: auto;
  color: var(--muted);
  font: 400 9.5px/1 Michroma, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px 9px 15px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  color: var(--muted);
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: color .25s, border-color .25s, background .25s, transform .25s;
}

.chip:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, .32);
  transform: translateY(-1px);
}

.chip:active { transform: translateY(0); }

.chip:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
}

.chip.is-on {
  color: #1a0f33;
  border-color: transparent;
  background: linear-gradient(135deg, var(--pink), var(--violet));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 12px 28px -16px rgba(240, 60, 240, .95);
}

.chip-n {
  min-width: 19px;
  padding: 3px 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  color: var(--ice);
  font: 400 9.5px/1 Michroma, sans-serif;
  text-align: center;
  transition: background .25s, color .25s;
}

.chip.is-on .chip-n {
  background: rgba(6, 0, 26, .2);
  color: #1a0f33;
}

.gal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.gal-card {
  --mx: 50%;
  --my: 0%;
  position: relative;
  display: grid;
  flex: 0 1 calc((100% - 36px) / 3);
  min-width: 0;
  gap: 12px;
  padding: 10px 10px 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 24px;
  background: linear-gradient(150deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .02) 55%, rgba(155, 107, 255, .07));
  -webkit-backdrop-filter: blur(16px) saturate(1.35);
  backdrop-filter: blur(16px) saturate(1.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 26px 55px -34px rgba(0, 0, 0, .9);
  animation: galIn .55s cubic-bezier(.2, .8, .2, 1) both;
  animation-delay: calc(var(--i, 0) * 55ms);
  transition: transform .45s cubic-bezier(.2, .8, .2, 1), border-color .3s, box-shadow .45s;
}

.gal-card[hidden] { display: none; }
.gal-card-extra { animation: none; }
.gal-card-extra.is-revealing {
  animation: galIn .38s cubic-bezier(.2, .8, .2, 1) backwards;
  animation-delay: clamp(0ms, calc((var(--i, 6) - 6) * 45ms), 180ms);
}

.gal-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(320px circle at var(--mx) var(--my), rgba(240, 60, 240, .16), transparent 62%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}

.gal-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, .3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .26), 0 36px 70px -34px rgba(155, 107, 255, .8);
}

.gal-card:hover::before { opacity: 1; }

.gal-mosaic {
  position: relative;
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 7px;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 16px;
}

.gal-mosaic[data-tiles="1"] {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  aspect-ratio: 1 / 1;
}

.gal-mosaic[data-tiles="2"] {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  aspect-ratio: 2 / 1;
}

/* Wide-only projects keep their native 3:2 shape in a 2x2 board. */
.gal-mosaic[data-layout="wide"] {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  aspect-ratio: 3 / 2;
}

.gal-tile {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 11px;
  background: #06001a;
  cursor: pointer;
}

.gal-tile.big { grid-row: span 2; }
.gal-mosaic[data-tiles="1"] .gal-tile.big,
.gal-mosaic[data-tiles="2"] .gal-tile.big { grid-row: auto; }

.gal-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2, .8, .2, 1);
}

.gal-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(4, 0, 20, .32));
  pointer-events: none;
}

.gal-card:hover .gal-tile img { transform: scale(1.045); }
.gal-tile:focus-visible { outline: 2px solid var(--pink); outline-offset: -3px; }

.gal-tile .play {
  position: absolute;
  top: 50%;
  inset-inline-start: 50%;
  z-index: 4;
  width: 38px;
  height: 38px;
  translate: -50% -50%;
  background: rgba(6, 0, 26, .48);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.gal-tile .play::before {
  left: 15px;
  top: 11px;
  border-left-width: 12px;
  border-top-width: 7px;
  border-bottom-width: 7px;
}

.gal-num {
  position: absolute;
  top: 10px;
  inset-inline-start: 10px;
  z-index: 3;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 7px;
  background: rgba(6, 0, 26, .52);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--ice);
  font: 400 9.5px/1 Michroma, sans-serif;
  letter-spacing: .1em;
  pointer-events: none;
}

.gal-eye {
  position: absolute;
  inset-inline-end: 10px;
  bottom: 10px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  background: rgba(6, 0, 26, .55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--text);
  opacity: 0;
  transform: translateY(6px) scale(.9);
  transition: opacity .3s, transform .35s, background .3s;
  pointer-events: none;
}

.gal-eye svg { width: 15px; height: 15px; }

.gal-card:hover .gal-eye,
.gal-card:focus-within .gal-eye {
  opacity: 1;
  transform: none;
  background: linear-gradient(135deg, var(--pink), var(--violet));
  color: #1a0f33;
  border-color: transparent;
}

.gal-meta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 2px 6px 6px;
  border: 0;
  background: none;
  color: inherit;
  text-align: start;
  cursor: pointer;
}

.gal-meta:focus-visible { outline-offset: 2px; }

.gal-txt {
  display: grid;
  flex: 1;
  gap: 5px;
  min-width: 0;
}

.gal-cat {
  overflow: hidden;
  color: var(--label);
  font: 600 11px/1.5 Michroma, sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gal-title {
  overflow: hidden;
  font: 400 17px/1.25 Michroma, sans-serif;
  letter-spacing: -.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gal-role {
  overflow: hidden;
  color: var(--muted);
  font-size: 12.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gal-go {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  background: rgba(255, 255, 255, .04);
  color: var(--text);
  transition: background .3s, border-color .3s, color .3s, transform .35s;
}

.gal-go svg { width: 15px; height: 15px; }

.gal-card:hover .gal-go {
  border-color: transparent;
  background: linear-gradient(135deg, var(--pink), var(--violet));
  color: #1a0f33;
  transform: translate(1px, -1px);
}

.gal-more-wrap[hidden] { display: none; }
.gal-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.gal-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px 12px 26px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: radial-gradient(120% 140% at 50% 0%, rgba(240, 60, 240, .22), transparent 70%),
    rgba(255, 255, 255, .04);
  color: var(--text);
  font-size: 14px;
  letter-spacing: .02em;
  cursor: pointer;
  transition: transform .3s, border-color .3s, box-shadow .3s, background .3s;
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  backdrop-filter: blur(10px) saturate(1.2);
}

.gal-more:hover {
  transform: translateY(-3px);
  border-color: rgba(240, 60, 240, .7);
  box-shadow: 0 30px 60px -30px rgba(240, 60, 240, .8);
}

.gal-more:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 4px;
}

.gal-more-ic {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .24);
  background: rgba(255, 255, 255, .06);
}

.gal-more-ic svg {
  width: 14px;
  height: 14px;
}

[aria-expanded="true"] .gal-more-ic svg {
  transform: rotate(180deg);
}
  flex: 1 1 100%;
  padding: 48px 24px;
  border: 1px dashed rgba(155, 107, 255, .35);
  border-radius: 22px;
  color: var(--muted);
  text-align: center;
}

/* Motion panel: two vertical posters next to the project story. */
.motion { display: grid; gap: 18px; }

.motion-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(22px, 3vw, 34px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 26px;
  background:
    radial-gradient(90% 130% at 0% 0%, rgba(155, 107, 255, .16), transparent 58%),
    linear-gradient(150deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02));
  -webkit-backdrop-filter: blur(16px) saturate(1.35);
  backdrop-filter: blur(16px) saturate(1.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 30px 60px -38px rgba(0, 0, 0, .9);
}

.motion-txt {
  display: grid;
  gap: 11px;
  max-width: 46ch;
}

.motion-title { font-size: clamp(22px, 2.8vw, 30px); }

.motion-role { color: var(--ice); font-size: 14px; }

.motion-desc {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.motion-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
  list-style: none;
}

.motion-tags li {
  padding: 5px 11px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  color: var(--ice);
  font-size: 12px;
}

.motion-shots {
  display: flex;
  gap: 12px;
}

.motion-shot {
  position: relative;
  display: block;
  width: clamp(142px, 15vw, 198px);
  aspect-ratio: 9 / 16;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 18px;
  background: #06001a;
  cursor: pointer;
  box-shadow: 0 26px 50px -26px rgba(0, 0, 0, .95);
  transition: transform .45s cubic-bezier(.2, .8, .2, 1), border-color .3s, box-shadow .45s;
}

.motion-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2, .8, .2, 1);
}

.motion-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(4, 0, 20, .86));
  pointer-events: none;
}

.motion-shot:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, .4);
  box-shadow: 0 34px 60px -26px rgba(155, 107, 255, .75);
}

.motion-shot:hover img { transform: scale(1.05); }

.motion-shot:focus-visible { outline-offset: 3px; }

.motion-label {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 2;
  padding: 34px 12px 12px;
  overflow: hidden;
  color: var(--text);
  font-size: 12px;
  text-align: start;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.play {
  position: relative;
  z-index: 2;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  background: rgba(155, 107, 255, .18);
  transition: transform .4s, background .3s;
}

.play::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 14px;
  border-left: 14px solid var(--text);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}

.motion-shot .play {
  position: absolute;
  top: 50%;
  inset-inline-start: 50%;
  z-index: 3;
  translate: -50% -50%;
  background: rgba(6, 0, 26, .48);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.motion-shot:hover .play {
  background: linear-gradient(135deg, var(--pink), var(--violet));
  transform: scale(1.1);
}

@keyframes galIn {
  from { opacity: 0; transform: translateY(18px) scale(.985); }
  to { opacity: 1; transform: none; }
}

/* ---------------- 8. Services ---------------- */

.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 34px;
}

.svc {
  position: relative;
  padding: 24px 22px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .02));
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), border-color .3s, box-shadow .35s;
}

.svc:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, .34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .24), 0 28px 55px -26px rgba(155, 107, 255, .7);
}

.svc-ic {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--pink), var(--violet));
  color: #1a0f33;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 10px 24px -8px rgba(240, 60, 240, .65);
}

.svc-ic svg { width: 27px; height: 27px; }

.svc h3 {
  margin-bottom: 9px;
  font-size: 17px;
  line-height: 1.35;
}

.svc p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
}

.svc ul {
  display: grid;
  gap: 7px;
  margin-top: 16px;
  list-style: none;
  color: var(--ice);
  font-size: 13.5px;
}

.svc li {
  position: relative;
  padding-inline-start: 17px;
}

.svc li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: .58em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
}

/* ---------------- 9. Process ---------------- */

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 34px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 20px 4px 0;
  border-top: 1px solid rgba(255, 255, 255, .16);
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  color: var(--label);
  font: 600 13px/1.3 Michroma, sans-serif;
  letter-spacing: .22em;
}

.step::after {
  content: "";
  position: absolute;
  top: -1px;
  inset-inline-start: 0;
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, var(--pink), transparent);
}

.step h3 {
  margin: 16px 0 8px;
  font-size: 16px;
}

.step p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
}

/* Payment options between the process and about sections. */
.payments-panel {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 52px);
  padding: clamp(22px, 3vw, 38px);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 24px;
  background: radial-gradient(ellipse at 0% 0%, rgba(155, 107, 255, .17), transparent 65%),
    linear-gradient(135deg, rgba(255, 255, 255, .055), rgba(9, 2, 26, .55));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.payments-copy { flex: 1; }
.payments-copy h2 { font-size: clamp(24px, 3vw, 34px); line-height: 1.3; }
.payments-copy p { margin-top: 10px; color: var(--muted); font-size: 14px; }
.payment-methods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  flex: 1.7;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.payment-method {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 86px;
  padding: 16px 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  background: rgba(255, 255, 255, .035);
}
.payment-icon { display: flex; flex: none; color: var(--pink); }
.payment-icon svg { width: 25px; height: 25px; }
.payment-name { color: var(--text); font: 700 16px/1.3 Manrope, sans-serif; white-space: nowrap; }
.payment-paypal { font-style: italic; }
@media (max-width: 800px) {
  .payments-panel { flex-direction: column; align-items: stretch; }
  .payment-methods { flex: auto; }
}
@media (max-width: 480px) {
  .payment-methods { gap: 8px; }
  .payment-method { flex-direction: column; gap: 10px; padding: 14px 6px; }
  .payment-name { font-size: 13px; }
}

/* ---------------- 10. About ---------------- */

.about {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

.about-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 15px;
}

.about-card {
  position: relative;
  display: grid;
  gap: 18px;
  margin-top: 32px;
  padding: 22px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 22px;
  background:
    radial-gradient(120% 130% at 8% 0%, rgba(155, 107, 255, .3), transparent 58%),
    linear-gradient(155deg, rgba(255, 255, 255, .1), rgba(6, 0, 26, .35) 58%);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .24), 0 30px 60px -38px rgba(0, 0, 0, .9);
}

/* fine grid texture so the panel reads as a crafted card, not a flat box */
.about-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(90% 90% at 80% 0%, #000, transparent 72%);
  mask-image: radial-gradient(90% 90% at 80% 0%, #000, transparent 72%);
  pointer-events: none;
}

.about-glow {
  position: absolute;
  inset: auto -30% -60% -30%;
  z-index: -1;
  height: 90%;
  background: radial-gradient(closest-side, rgba(240, 60, 240, .34), transparent);
  filter: blur(24px);
}

.about-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.about-card img {
  flex: none;
  width: 62px;
  height: auto;
  filter: drop-shadow(0 12px 26px rgba(155, 107, 255, .5));
}

.about-id {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.about-word {
  font: 400 19px/1 Michroma, sans-serif;
  letter-spacing: .34em;
  color: var(--ice);
  margin-inline-start: .34em;
}

.about-role {
  color: var(--label);
  font: 600 11px/1.4 Michroma, sans-serif;
  letter-spacing: .26em;
  text-transform: uppercase;
}

.about-live {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  justify-self: start;
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: var(--ice);
  font-size: 12.5px;
  line-height: 1.2;
}

.about-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5ef2a0;
  box-shadow: 0 0 0 4px rgba(94, 242, 160, .14);
  animation: pulseDot 2.6s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(94, 242, 160, .12); }
  50% { box-shadow: 0 0 0 6px rgba(94, 242, 160, .04); }
}

.about-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.about-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ice);
  font-size: 13px;
  text-decoration: none;
  transition: color .2s;
}

.about-links a::after {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 1.5px solid currentColor;
  border-inline-end: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: .6;
  transition: transform .2s, opacity .2s;
}

.about-links a:hover { color: #fff; }
.about-links a:hover::after { opacity: 1; transform: translate(2px, -2px) rotate(45deg); }

.about-body > p {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.85;
}

.about-body > p.about-lead {
  position: relative;
  margin-bottom: 18px;
  padding-inline-start: 18px;
  color: var(--text);
  font-size: clamp(18px, 1.7vw, 20px);
  line-height: 1.75;
}

.about-lead::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: .3em;
  bottom: .3em;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(var(--pink), var(--violet));
}

.about-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.about-facts div { display: grid; gap: 6px; }

.about-facts dt {
  color: var(--label);
  font: 600 11px/1.4 Michroma, sans-serif;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.about-facts dd {
  margin: 0;
  color: var(--ice);
  font-size: 13.5px;
  line-height: 1.5;
}

.about-body h3 {
  margin: 28px 0 12px;
  color: var(--label);
  font: 600 12px/1.4 Michroma, sans-serif;
  letter-spacing: .4em;
  text-transform: uppercase;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.tags span {
  padding: 6px 15px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  color: var(--ice);
  font-size: 14px;
}

/* ---------------- 11. Contact & footer ---------------- */

footer {
  margin-top: clamp(64px, 8vw, 104px);
  color: var(--text);
}

.endcap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
  align-items: center;
  gap: clamp(24px, 5vw, 56px);
  margin-bottom: 30px;
  padding: clamp(34px, 5vw, 62px) clamp(22px, 4vw, 52px);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 28px;
  background:
    radial-gradient(85% 130% at 92% -20%, rgba(155, 107, 255, .42), transparent 58%),
    radial-gradient(60% 90% at 0% 120%, rgba(240, 60, 240, .18), transparent 62%),
    linear-gradient(140deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .02) 50%, rgba(155, 107, 255, .07));
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .24), 0 30px 70px -42px rgba(0, 0, 0, .95);
  text-align: start;
}

.endcap::before {
  content: "";
  position: absolute;
  inset-inline: 8%;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(242, 156, 248, .75), transparent);
}

.endcap-word {
  position: absolute;
  inset-inline-start: -0.02em;
  bottom: -0.22em;
  z-index: -1;
  color: transparent;
  font: 400 clamp(96px, 13.2vw, 190px)/1 Michroma, sans-serif;
  letter-spacing: .02em;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .07);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.endcap-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  padding: 7px 14px 7px 11px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: var(--ice);
  font-size: 12.5px;
  line-height: 1.2;
}

.endcap-kicker i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5ef2a0;
  box-shadow: 0 0 0 4px rgba(94, 242, 160, .14);
  animation: pulseDot 2.6s ease-in-out infinite;
}

.endcap h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4.6vw, 56px);
  font-style: italic;
  line-height: 1.12;
  background: linear-gradient(100deg, #fff, var(--ice) 45%, var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.endcap p {
  max-width: 44ch;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.7;
}

.endcap-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.endcap .btn.ghost { gap: 10px; }

.endcap .btn.ghost svg {
  flex: none;
  width: 17px;
  height: 17px;
}

.endcap-side {
  display: grid;
  place-items: center;
}

.stamp {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(168px, 19vw, 214px);
  aspect-ratio: 1;
  direction: ltr;
}

.stamp::before,
.stamp::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.stamp::before {
  inset: 0;
  border: 1px solid rgba(255, 255, 255, .15);
  background: radial-gradient(circle at 50% 32%, rgba(155, 107, 255, .3), rgba(6, 0, 26, .5) 68%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 26px 50px -30px rgba(240, 60, 240, .55);
}

.stamp::after {
  inset: 16%;
  border: 1px dashed rgba(255, 255, 255, .16);
}

.stamp-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: stampSpin 34s linear infinite;
}

.stamp-ring text {
  fill: var(--ice);
  font: 400 10px Michroma, sans-serif;
  letter-spacing: .14em;
}

.stamp img {
  position: relative;
  z-index: 1;
  width: 32%;
  height: auto;
  filter: drop-shadow(0 12px 26px rgba(155, 107, 255, .55));
}

@keyframes stampSpin {
  to { transform: rotate(360deg); }
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow: hidden;
  padding: 13px 26px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(100deg, var(--pink), var(--violet));
  color: #1a0f33;
  font-weight: 700;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65), inset 0 -10px 18px rgba(110, 60, 255, .35), 0 14px 34px -12px rgba(155, 107, 255, .8);
  transition: transform .2s, box-shadow .2s;
}

.btn::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 52%;
  background: linear-gradient(rgba(255, 255, 255, .4), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 18px 40px -12px rgba(155, 107, 255, .95);
}

.btn.ghost {
  border: 1px solid rgba(255, 255, 255, .24);
  background: rgba(255, 255, 255, .07);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-weight: 600;
}

.btn.ghost::before { display: none; }
.btn.ghost:hover { border-color: var(--pink); background: rgba(255, 255, 255, .11); }

.btn.big {
  padding: 17px 38px;
  font-size: 17px;
}

.btn.big::after {
  content: "";
  width: 9px;
  height: 9px;
  border-inline-end: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .3s;
}

.btn.big:hover::after { transform: translateX(5px) rotate(45deg); }

.ch-label {
  margin-bottom: 14px;
  color: var(--label);
  font: 600 13px/1.4 Michroma, sans-serif;
  font-style: italic;
  letter-spacing: .6em;
  text-transform: uppercase;
}

.channels {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.ch {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .03) 55%, rgba(155, 107, 255, .08));
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22);
  color: var(--text);
  text-decoration: none;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), border-color .3s, box-shadow .35s;
}

.ch:hover {
  transform: translateY(-6px);
  border-color: var(--pink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 24px 50px -22px rgba(240, 60, 240, .6);
}

.ch-ic {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: #fff;
  color: #06001a;
  box-shadow: inset 0 -6px 12px rgba(155, 107, 255, .25), 0 8px 20px -8px rgba(255, 255, 255, .5);
}

.ch-ic svg { width: 25px; height: 25px; }

.ch-t {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 2px;
}

.ch-t b { font-size: 16px; font-weight: 600; }

.ch-t small {
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 13px;
}

.arr {
  flex: none;
  width: 9px;
  height: 9px;
  border-inline-end: 2px solid var(--muted);
  border-top: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform .3s, border-color .3s;
}

.ch:hover .arr {
  transform: translate(4px, -4px) rotate(45deg);
  border-color: var(--pink);
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
  padding: 22px 0 36px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: var(--muted);
  font-size: 13px;
}

.bar-l {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  font: 400 13px/1 Michroma, sans-serif;
}

.bar-l img { height: 26px; width: auto; }

/* Zero-height target so "#top" lands on the first pixel of the page,
   not on the sticky nav (which is always on screen). */
.anchor-top {
  display: block;
  height: 0;
  outline: none;
}

.top {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: none;
  padding-block: 7px;
  padding-inline: 16px 9px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: var(--text);
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .25s, background .25s, transform .25s;
}

.top-ic {
  flex: none;
  width: 22px;
  height: 22px;
  padding: 4.5px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), border-color .3s, background .3s;
}

.top:hover {
  border-color: var(--pink);
  background: rgba(240, 60, 240, .12);
  transform: translateY(-2px);
}

.top:hover .top-ic {
  border-color: var(--pink);
  background: rgba(240, 60, 240, .18);
  transform: translateY(-3px);
}

.top:active { transform: translateY(0) scale(.98); }

/* ---------------- 12. Lightbox ---------------- */

.lightbox {
  width: min(1180px, 96vw);
  max-width: 1180px;
  max-height: 94dvh;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  overflow: visible;
}

.lightbox::backdrop {
  background: rgba(3, 0, 18, .84);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  animation: lbBackdrop .3s ease both;
}

.lb-panel {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  max-height: 92dvh;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 24px;
  background:
    radial-gradient(120% 90% at 10% 0%, rgba(155, 107, 255, .18), transparent 55%),
    radial-gradient(100% 80% at 100% 100%, rgba(240, 60, 240, .12), transparent 60%),
    rgba(10, 4, 48, .96);
  box-shadow: 0 50px 140px -30px #000, inset 0 1px 0 rgba(255, 255, 255, .2);
  animation: lbIn .4s cubic-bezier(.2, .8, .2, 1) both;
}

.lb-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px 14px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.lb-id {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.lb-cat {
  flex: none;
  padding: 5px 10px;
  border: 1px solid rgba(240, 60, 240, .35);
  border-radius: 999px;
  background: rgba(240, 60, 240, .14);
  color: var(--pink);
  font: 400 9px/1 Michroma, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.lb-cat[hidden] { display: none; }

.lb-title {
  margin: 0;
  overflow: hidden;
  font: 400 15px/1.3 Michroma, sans-serif;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lb-count {
  flex: none;
  color: var(--muted);
  font: 400 10px/1 Michroma, sans-serif;
  letter-spacing: .16em;
}

.lb-close {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
  color: var(--text);
  cursor: pointer;
  transition: background .25s, transform .3s, border-color .25s;
}

.lb-close svg { width: 15px; height: 15px; }

.lb-close:hover {
  border-color: var(--pink);
  background: rgba(240, 60, 240, .18);
  transform: rotate(90deg);
}

.lb-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  min-height: min(46dvh, 480px);
}

.lb-stage-wrap {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 20px 62px;
  background: radial-gradient(80% 90% at 50% 40%, rgba(155, 107, 255, .12), transparent 70%);
  touch-action: pan-y;
}

.lb-stage {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.lb-stage img,
.lb-stage video {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(92dvh - 230px);
  border-radius: 10px;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .9);
  user-select: none;
  -webkit-user-drag: none;
  animation: lbMedia .45s cubic-bezier(.2, .8, .2, 1) both;
}

.lb-stage iframe {
  display: block;
  width: min(100%, 900px);
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 10px;
  animation: lbMedia .45s cubic-bezier(.2, .8, .2, 1) both;
}

.lb-stage.is-vertical iframe {
  width: min(380px, 100%, calc((92dvh - 260px) * 9 / 16));
  aspect-ratio: 9 / 16;
}

.lb-cap {
  position: absolute;
  inset-inline-start: 50%;
  bottom: 14px;
  z-index: 3;
  max-width: 70%;
  padding: 6px 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(6, 0, 26, .6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--ice);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
  translate: -50% 0;
}

.lb-nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  background: rgba(6, 0, 26, .55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--text);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background .25s, border-color .25s;
}

.lb-nav svg { width: 18px; height: 18px; }

.lb-nav:hover {
  border-color: transparent;
  background: linear-gradient(135deg, var(--pink), var(--violet));
  color: #1a0f33;
}

.lb-nav[hidden] { display: none; }
.lb-nav.prev { inset-inline-start: 14px; }
.lb-nav.next { inset-inline-end: 14px; }

.lb-info {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: 24px 22px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-inline-start: 1px solid rgba(255, 255, 255, .08);
  background: rgba(6, 0, 26, .3);
}

.lb-desc {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.8;
}

.lb-kicker {
  margin: 0;
  color: var(--label);
  font: 600 12px/1.4 Michroma, sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.lb-kicker[hidden] { display: none; }

.lb-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.lb-tags li {
  padding: 5px 11px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  color: var(--ice);
  font-size: 12px;
}

.lb-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px 11px 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  background: rgba(255, 255, 255, .05);
  color: var(--text);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color .25s, background .25s;
}

.lb-cta:hover {
  border-color: var(--pink);
  background: rgba(240, 60, 240, .1);
}

.lb-cta-ic {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--violet));
  color: #1a0f33;
  transition: transform .3s;
}

.lb-cta-ic svg { width: 14px; height: 14px; }
.lb-cta:hover .lb-cta-ic { transform: translateX(2px); }

.lb-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 18px 14px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  scrollbar-width: thin;
}

.lb-strip[hidden] { display: none; }

.lb-thumb {
  position: relative;
  flex: none;
  width: 58px;
  height: 58px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 12px;
  background: #06001a;
  cursor: pointer;
  opacity: .62;
  transition: opacity .25s, border-color .25s, transform .25s, box-shadow .25s;
}

.lb-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lb-thumb:hover {
  opacity: 1;
  border-color: rgba(255, 255, 255, .4);
}

.lb-thumb.is-on {
  opacity: 1;
  border-color: var(--pink);
  box-shadow: 0 0 0 2px rgba(240, 60, 240, .28);
  transform: translateY(-2px);
}

.lb-thumb-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-left: 8px solid #fff;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  filter: drop-shadow(0 1px 3px #000);
  transform: translate(-35%, -50%);
}

.lb-thumb-fallback {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(155, 107, 255, .35), rgba(240, 60, 240, .25));
}

@keyframes lbIn {
  from { opacity: 0; transform: translateY(14px) scale(.98); }
  to { opacity: 1; transform: none; }
}

@keyframes lbBackdrop {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes lbMedia {
  from { opacity: 0; transform: scale(.985); }
  to { opacity: 1; transform: none; }
}

/* ---------------- 13. Utilities & reveals ---------------- */

@keyframes float {
  50% { transform: translateY(-14px) rotate(-1.5deg); }
}

@keyframes pulse {
  50% { opacity: .55; transform: scale(1.06); }
}

@keyframes pop {
  from { opacity: 0; transform: translateX(40px) scale(.86); }
  to { opacity: 1; transform: none; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

@keyframes shift {
  to { background-position: 200% 0; }
}

@keyframes draw {
  from { opacity: 0; transform: scale(.2); }
  to { opacity: 1; transform: none; }
}

@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(103, 245, 182, .55); }
  70%, 100% { box-shadow: 0 0 0 7px rgba(103, 245, 182, 0); }
}

@keyframes scrollLine {
  0% { top: -100%; }
  60%, 100% { top: 100%; }
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@keyframes kb {
  from { transform: scale(1); }
  to { transform: scale(1.07); }
}

@keyframes fsw {
  from { opacity: .25; }
  to { opacity: 1; }
}

@keyframes navIn {
  from { opacity: 0; translate: 0 -8px; }
  to { opacity: 1; translate: 0 0; }
}

.fade-sw { animation: fsw .4s ease-out both; }

.rv {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .75s ease, transform .75s cubic-bezier(.2, .8, .2, 1);
}

.rv.in { opacity: 1; transform: none; }

.progress {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 60;
  height: 2px;
  background: linear-gradient(90deg, var(--pink), var(--violet));
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

/* ---------------- 14. Responsive ---------------- */

@media (max-width: 1024px) {
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .gal-card { flex-basis: calc((100% - 18px) / 2); }
  .about { grid-template-columns: 1fr; }
  .about-card { max-width: 420px; }
}

@media (max-width: 900px) {
  .nav { padding: 8px 10px 8px 16px; }
  .nav-actions { margin-inline-start: auto; }
  .menu-btn { display: block; }

  .nav-links {
    counter-reset: navitem;
    position: absolute;
    top: calc(100% + 12px);
    inset-inline: 0;
    z-index: 2;
    display: grid;
    gap: 4px;
    margin: 0;
    padding: 10px;
    max-height: calc(100dvh - 130px);
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 26px;
    background:
      radial-gradient(120% 130% at 100% 0%, rgba(240, 60, 240, .20), transparent 58%),
      radial-gradient(120% 120% at 0% 100%, rgba(155, 107, 255, .24), transparent 58%),
      rgba(8, 2, 32, .96);
    -webkit-backdrop-filter: blur(22px) saturate(1.5);
    backdrop-filter: blur(22px) saturate(1.5);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, .18),
      0 30px 60px -24px rgba(0, 0, 0, .85);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(.98);
    transform-origin: top center;
    transition: opacity .28s ease, transform .34s cubic-bezier(.2, .8, .2, 1), visibility .28s;
  }

  .nav.menu-open .nav-links {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-links a {
    counter-increment: navitem;
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 52px;
    padding: 14px 16px;
    border-radius: 17px;
    font-size: 11px;
    letter-spacing: .16em;
    color: var(--muted);
    transition: color .25s, background .3s;
  }

  .nav-links a::before {
    content: "0" counter(navitem);
    flex: none;
    font: 400 9px/1 Michroma, sans-serif;
    font-style: normal;
    letter-spacing: .08em;
    color: rgba(230, 226, 255, .34);
    transition: color .3s;
  }

  .nav-links a::after {
    content: "\2192";
    position: static;
    inset: auto;
    display: block;
    flex: none;
    margin-inline-start: auto;
    width: auto;
    height: auto;
    background: none;
    font-size: 13px;
    line-height: 1;
    opacity: .3;
    transform: none;
    transition: opacity .25s, translate .25s;
  }

  html[dir="rtl"] .nav-links a::after { content: "\2190"; }

  .nav-links a:hover,
  .nav-links a:focus-visible,
  .nav-links a.is-active {
    color: var(--text);
    background: linear-gradient(90deg, rgba(240, 60, 240, .18), rgba(155, 107, 255, .05));
  }

  .nav-links a:hover::before,
  .nav-links a.is-active::before { color: rgba(255, 255, 255, .8); }

  .nav-links a:hover::after,
  .nav-links a.is-active::after { opacity: .9; translate: 3px 0; }

  html[dir="rtl"] .nav-links a:hover::after,
  html[dir="rtl"] .nav-links a.is-active::after { translate: -3px 0; }

  .nav.menu-open .nav-links a {
    animation: navIn .42s cubic-bezier(.2, .8, .2, 1) both;
  }

  .nav.menu-open .nav-links a:nth-child(1) { animation-delay: .03s; }
  .nav.menu-open .nav-links a:nth-child(2) { animation-delay: .06s; }
  .nav.menu-open .nav-links a:nth-child(3) { animation-delay: .09s; }
  .nav.menu-open .nav-links a:nth-child(4) { animation-delay: .12s; }
  .nav.menu-open .nav-links a:nth-child(5) { animation-delay: .15s; }
  .nav.menu-open .nav-links a:nth-child(6) { animation-delay: .18s; }

  .hero { min-height: auto; padding-top: 76px; }
  .vert { display: none; }
  .about-card { margin-top: 24px; }

  .lb-body {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) auto;
  }

  .lb-info {
    gap: 12px;
    padding: 16px 20px;
    overflow-y: visible;
    border-inline-start: 0;
    border-top: 1px solid rgba(255, 255, 255, .08);
  }

  .lb-desc {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .lb-stage img,
  .lb-stage video { max-height: calc(92dvh - 330px); }
}

@media (max-width: 760px) {
  .wrap { padding: 0 18px; }

  .hero { padding: 54px 0 64px; }
  .hero .logo { margin-bottom: 24px; }
  .frame { width: 90px; height: 56px; top: 16px; }

  .hero h1 { font-size: clamp(25px, 6.2vw, 34px); }
  .hero > p:not(.avail) { font-size: 16.5px; line-height: 1.8; }
  .scroll-cue { display: none; }

  .marquee { margin-top: 4px; }

  .section { padding-top: 68px; }
  .sec-head { margin-bottom: 24px; }

  .gal { gap: 14px; }
  .gal-card { flex-basis: 100%; padding: 8px 8px 6px; border-radius: 20px; }
  .gal-more { padding: 11px 18px 11px 22px; font-size: 13.5px; }
  .gal-title { font-size: 16px; }
  .gal-total { display: none; }

  .motion-card { grid-template-columns: 1fr; gap: 22px; }
  .motion-shots {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    max-width: 420px;
  }
  .motion-shot { width: 100%; }

  .svc-grid { grid-template-columns: 1fr; gap: 12px; }
  .svc { padding: 20px; }

  .process { grid-template-columns: 1fr; gap: 20px; }

  .about-card { max-width: none; }

  .channels { grid-template-columns: 1fr; }

  .endcap {
    grid-template-columns: 1fr;
    padding: 42px 22px 46px;
  }

  .endcap-side { display: none; }
  .endcap-word { font-size: 17vw; bottom: -0.24em; }
  .endcap-kicker { margin-bottom: 16px; }

  .bar { justify-content: center; text-align: center; }

  .lightbox {
    width: 100vw;
    max-width: none;
    height: 100dvh;
    max-height: 100dvh;
  }

  .lb-panel {
    height: 100dvh;
    max-height: 100dvh;
    border: 0;
    border-radius: 0;
  }

  .lb-head { padding: 12px 12px 12px 16px; }
  .lb-title { font-size: 13px; }
  .lb-cat { padding: 4px 8px; font-size: 8px; }
  .lb-count { font-size: 9px; }

  .lb-stage-wrap { padding: 10px 42px 16px; }
  .lb-stage img,
  .lb-stage video { max-height: calc(100dvh - 310px); }
  .lb-cap { display: none; }

  .lb-info { gap: 10px; padding: 12px 16px 14px; }
  .lb-desc { font-size: 13.5px; -webkit-line-clamp: 2; }
  .lb-tags { display: none; }
  .lb-cta { padding: 10px 10px 10px 14px; font-size: 12.5px; }

  .lb-strip { padding: 8px 12px 10px; }
  .lb-thumb { width: 46px; height: 46px; border-radius: 10px; }

  .lb-nav { width: 38px; height: 38px; }
  .lb-nav.prev { inset-inline-start: 6px; }
  .lb-nav.next { inset-inline-end: 6px; }
}

@media (max-width: 480px) {
  .wrap { padding: 0 14px; }
  .nav { padding-inline: 12px; }
  .brand img { height: 34px; }
  .lang { padding: 6px 13px; }

  .hero { padding-top: 44px; }
  .hero-cta { width: 100%; }
  .hero-cta .btn { flex: 1; padding-inline: 18px; }

  .gal-mosaic { gap: 5px; }
  .gal-num { top: 8px; inset-inline-start: 8px; padding: 3px 6px; }
  .gal-eye { display: none; }

  .motion-title { font-size: 22px; }
  .motion-desc { font-size: 14px; }

  .about-facts { grid-template-columns: 1fr; gap: 12px; }
  .endcap-actions .btn { width: 100%; }
}

/* ---------------- 15. Arabic / RTL ---------------- */

html[dir="rtl"] .progress { transform-origin: 100% 50%; }
html[dir="rtl"] .frame { transform-origin: 100% 0; }
html[dir="rtl"] .arr { transform: rotate(-135deg); }
html[dir="rtl"] .ch:hover .arr { transform: translate(-4px, -4px) rotate(-135deg); }
html[dir="rtl"] .btn.big::after { transform: rotate(-135deg); }
html[dir="rtl"] .btn.big:hover::after { transform: translateX(-5px) rotate(-135deg); }
html[dir="rtl"] :is(.gal-go svg, .lb-cta-ic svg) { transform: scaleX(-1); }
html[dir="rtl"] .lb-nav { transform: translateY(-50%) scaleX(-1); }
html[dir="rtl"] .marquee-track { animation-direction: reverse; }

html[lang="ar"] body {
  font-family: Cairo, Manrope, system-ui, sans-serif;
}

html[lang="ar"] :is(
  .hero h1, .hero h1 i, .hero h1 span, .hero p, .avail, .scroll-cue,
  .sub, .eyebrow, .section h2, .chip, .gal-total, .gal-cat, .gal-title, .gal-role,
  .gal-num, .gal-empty, .motion-title, .motion-role, .motion-desc, .motion-tags li,
  .motion-label, .lb-kicker, .lb-cat, .lb-title, .lb-count, .lb-desc, .lb-tags li,
  .lb-cta, .btn, .ch-label, .ch-t b, .ch-t small,
  .endcap p, .about p, .about h3, .about-role, .tags span,
  .svc h3, .svc p, .svc li, .step h3, .step p,
  .bar, .top, .lb-close,
  .mq-group span
) {
  font-family: Cairo, Manrope, system-ui, sans-serif;
  font-style: normal;
  letter-spacing: 0;
}

html[lang="ar"] :is(.hero h1, .section h2, .endcap h2, .gal-title, .motion-title, .lb-title) {
  font-weight: 700;
  line-height: 1.45;
}

html[lang="ar"] .hero h1 {
  font-size: clamp(28px, 4.4vw, 52px);
  line-height: 1.55;
}

html[lang="ar"] :is(.hero p, .sub, .about-body > p, .motion-desc, .lb-desc, .svc p, .step p) {
  line-height: 1.95;
}

html[lang="ar"] .gal-role {
  font-size: 13px;
  line-height: 1.8;
}

html[lang="ar"] nav a {
  font-family: Cairo, Manrope, system-ui, sans-serif;
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0;
}

html[lang="ar"] .eyebrow,
html[lang="ar"] .ch-label {
  letter-spacing: 0;
}

html[lang="ar"] .vert {
  letter-spacing: .5em;
  font-style: normal;
}

html[lang="ar"] .about-word,
html[lang="ar"] .bar-l {
  font-family: Michroma, sans-serif;
}

html[lang="ar"] .about-facts dt {
  font-family: Cairo, Manrope, system-ui, sans-serif;
  font-size: 13px;
  letter-spacing: 0;
}

/* Arabic has no true italic: keep the closing headline upright and in Cairo
   instead of a slanted Latin face, and let the gradient flow right to left. */
html[lang="ar"] .endcap h2 {
  padding-bottom: .1em;
  font-family: Cairo, Manrope, system-ui, sans-serif;
  font-size: clamp(28px, 4.2vw, 50px);
  font-style: normal;
  letter-spacing: 0;
  line-height: 1.4;
  filter: drop-shadow(0 12px 30px rgba(240, 60, 240, .22));
}

html[dir="rtl"] .endcap h2 {
  background-image: linear-gradient(260deg, #fff, var(--ice) 45%, var(--pink));
}

@media (max-width: 900px) {
  html[dir="rtl"] .nav { padding: 8px 16px 8px 10px; }
  html[dir="rtl"] .nav-links a { text-align: right; }
}

/* ---------------- 16. Reduced motion ---------------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .rv { opacity: 1; transform: none; }
  .bg-art { transform: none; }
  .marquee-track { transform: none; }
}

/* ---------------- 17. Portfolio viewer refresh ----------------
   A focused media canvas, readable project details, and real-image filmstrip.
   These rules override the earlier lightbox layout without changing the site.
   ------------------------------------------------------------ */

.lightbox { width: min(1240px, 96vw); }

.lb-panel {
  background:
    radial-gradient(80% 80% at 100% 0%, rgba(112, 52, 224, .18), transparent 68%),
    linear-gradient(145deg, #10082c 0%, #08051b 58%, #13082f 100%);
  border-color: rgba(189, 151, 255, .22);
  box-shadow: 0 44px 120px -28px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(255, 255, 255, .12);
}

.lb-head {
  position: relative;
  min-height: 78px;
  padding: 16px 22px 20px;
  gap: 16px;
  background: rgba(16, 8, 46, .7);
  border-bottom: 0;
}

.lb-title { font-size: 17px; letter-spacing: .02em; }
.lb-cat {
  padding: 7px 11px;
  background: rgba(240, 60, 240, .09);
  border-color: rgba(240, 60, 240, .3);
}

.lb-count {
  min-width: 56px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  background: rgba(255, 255, 255, .055);
  color: var(--ice);
  text-align: center;
  letter-spacing: .04em;
}

.lb-close {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, .045);
  border-color: rgba(255, 255, 255, .22);
}
.lb-close svg { width: 18px; height: 18px; }

.lb-progress {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 3px;
  overflow: hidden;
  background: rgba(255, 255, 255, .075);
}

.lb-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #a778ff, #f06df5);
  box-shadow: 0 0 22px rgba(240, 109, 245, .6);
  transition: width .3s cubic-bezier(.2, .8, .2, 1);
}

.lb-body { grid-template-columns: minmax(0, 1fr) 310px; min-height: 0; }

.lb-stage-wrap {
  isolation: isolate;
  overflow: hidden;
  padding: 26px 68px;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(101, 47, 188, .18), transparent 64%),
    #09051b;
}

.lb-stage-wrap::before {
  content: "";
  position: absolute;
  inset: 16px;
  z-index: -1;
  border: 1px solid rgba(191, 164, 255, .09);
  border-radius: 18px;
  pointer-events: none;
}

.lb-stage img,
.lb-stage video {
  max-height: calc(92dvh - 240px);
  border-radius: 12px;
  box-shadow: 0 22px 65px -18px rgba(0, 0, 0, .7);
}

.lb-nav {
  width: 46px;
  height: 46px;
  border-color: rgba(255, 255, 255, .18);
  background: rgba(18, 9, 49, .76);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .22);
}
.lb-nav.prev { inset-inline-start: 18px; }
.lb-nav.next { inset-inline-end: 18px; }

.lb-info {
  gap: 16px;
  padding: 30px 25px;
  background: linear-gradient(160deg, rgba(126, 56, 218, .09), rgba(9, 5, 29, .68));
  border-color: rgba(255, 255, 255, .09);
}
.lb-kicker { color: var(--label); font-size: 12px; }
.lb-desc { font-size: 14px; line-height: 1.85; color: #c4b9df; }
.lb-tags { gap: 7px; }
.lb-cta {
  margin-top: auto;
  min-height: 52px;
  border-color: rgba(182, 129, 255, .3);
  border-radius: 16px;
  background: linear-gradient(105deg, rgba(144, 86, 235, .18), rgba(240, 60, 240, .13));
}
.lb-cta-ic {
  width: 32px;
  height: 32px;
  box-shadow: 0 5px 18px rgba(173, 76, 242, .28);
}

.lb-strip {
  gap: 12px;
  padding: 13px 22px 17px;
  border-color: rgba(255, 255, 255, .1);
  background: rgba(7, 3, 23, .68);
  scrollbar-width: none;
}
.lb-strip::-webkit-scrollbar { display: none; }
.lb-thumb {
  width: 66px;
  height: 66px;
  border-radius: 14px;
  border-color: rgba(255, 255, 255, .14);
  opacity: .58;
}
.lb-thumb.is-on {
  border-color: #f087f9;
  box-shadow: 0 0 0 2px rgba(240, 135, 249, .25), 0 8px 25px rgba(0, 0, 0, .26);
}

@media (max-width: 900px) {
  .lb-body {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) auto;
    overflow: hidden;
  }
  .lb-info {
    gap: 10px;
    padding: 14px 22px 16px;
    border-inline-start: 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
    overflow-y: auto;
  }
  .lb-desc { -webkit-line-clamp: 2; }
}

@media (max-width: 760px) {
  .lightbox {
    width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
  }

  .lb-panel {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    height: 100dvh;
    max-height: 100dvh;
    border: 0;
    border-radius: 0;
  }

  .lb-head {
    min-height: 75px;
    padding: 12px 15px 17px;
    gap: 9px;
  }
  .lb-id { gap: 9px; }
  .lb-title { font-size: 15px; line-height: 1.4; }
  .lb-cat { padding: 5px 9px; font-size: 9px; }
  .lb-count { min-width: 54px; padding: 7px 9px; font-size: 10px; }
  .lb-close { width: 38px; height: 38px; }

  .lb-body {
    min-height: 0;
    grid-template-rows: minmax(0, 1fr) auto;
  }
  .lb-stage-wrap {
    min-height: 0;
    padding: 18px 14px 62px;
    background:
      radial-gradient(ellipse at center, rgba(116, 66, 211, .19), transparent 72%),
      #09051b;
  }
  .lb-stage-wrap::before { inset: 12px; border-radius: 18px; }
  .lb-stage { min-height: 0; height: 100%; }
  .lb-stage img,
  .lb-stage video {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
  }
  .lb-stage iframe {
    max-width: 100%;
    max-height: 100%;
  }
  .lb-stage.is-vertical iframe {
    width: auto;
    height: 100%;
    max-width: 100%;
    aspect-ratio: 9 / 16;
  }
  .lb-cap { display: none; }
  .lb-nav {
    top: auto;
    bottom: 14px;
    width: 42px;
    height: 42px;
    transform: none;
    background: rgba(29, 15, 68, .86);
  }
  .lb-nav.prev { inset-inline-start: 18px; }
  .lb-nav.next { inset-inline-end: 18px; }
  html[dir="rtl"] .lb-nav { transform: scaleX(-1); }

  .lb-info {
    gap: 8px;
    padding: 13px 18px 15px;
    background: rgba(24, 12, 55, .66);
  }
  .lb-kicker { font-size: 12px; }
  .lb-desc { font-size: 12.5px; line-height: 1.65; -webkit-line-clamp: 2; }
  .lb-tags { display: none; }
  .lb-cta {
    min-height: 43px;
    margin-top: 2px;
    padding: 7px 8px 7px 13px;
    border-radius: 12px;
    font-size: 12px;
  }
  .lb-cta-ic { width: 29px; height: 29px; }

  .lb-strip {
    min-height: 86px;
    gap: 10px;
    padding: 10px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    background: rgba(8, 3, 28, .97);
  }
  .lb-thumb { width: 62px; height: 62px; border-radius: 12px; }
}

@media (max-height: 620px) and (max-width: 760px) {
  .lb-head { min-height: 62px; padding-top: 7px; padding-bottom: 12px; }
  .lb-info { padding: 8px 14px; }
  .lb-desc { -webkit-line-clamp: 1; }
  .lb-cta { min-height: 36px; padding-block: 3px; }
  .lb-strip { min-height: 63px; padding-block: 6px; }
  .lb-thumb { width: 48px; height: 48px; }
}

/* 18. Crystal glass viewer — matches the violet EZORW theme */

.lightbox::backdrop {
  background:
    radial-gradient(ellipse at 24% 18%, rgba(155, 107, 255, .22), transparent 48%),
    radial-gradient(ellipse at 85% 86%, rgba(240, 60, 240, .14), transparent 48%),
    rgba(3, 0, 20, .52);
  -webkit-backdrop-filter: blur(22px) saturate(1.38);
  backdrop-filter: blur(22px) saturate(1.38);
}

.lb-panel {
  isolation: isolate;
  border: 1px solid rgba(226, 204, 255, .34);
  border-radius: 28px;
  background:
    radial-gradient(circle at 3% 0%, rgba(178, 126, 255, .29), transparent 46%),
    radial-gradient(circle at 98% 100%, rgba(240, 60, 240, .18), transparent 52%),
    linear-gradient(135deg, rgba(49, 27, 99, .78), rgba(18, 10, 55, .62) 55%, rgba(41, 17, 86, .69));
  -webkit-backdrop-filter: blur(38px) saturate(1.7);
  backdrop-filter: blur(38px) saturate(1.7);
  box-shadow:
    0 42px 110px -24px rgba(0, 0, 0, .78),
    0 15px 55px rgba(94, 38, 177, .19),
    inset 0 1px 0 rgba(255, 255, 255, .44),
    inset 1px 0 0 rgba(255, 255, 255, .13),
    inset 0 -1px 0 rgba(224, 164, 255, .14);
}

.lb-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
  pointer-events: none;
}

.lb-head {
  background: linear-gradient(105deg, rgba(255, 255, 255, .11), rgba(163, 111, 255, .06) 48%, rgba(8, 4, 35, .15));
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .11);
}

.lb-cat,
.lb-count,
.lb-tags li {
  border-color: rgba(231, 207, 255, .24);
  background: linear-gradient(145deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .035));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14);
}

.lb-cat { color: #f4c4ff; }
.lb-count { color: #e9ddff; }

.lb-close,
.lb-nav {
  border: 1px solid rgba(255, 255, 255, .33);
  background: linear-gradient(145deg, rgba(255, 255, 255, .2), rgba(158, 109, 255, .07));
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .29), 0 8px 26px rgba(0, 0, 0, .2);
}

.lb-nav:hover,
.lb-close:hover {
  border-color: rgba(255, 255, 255, .6);
  background: linear-gradient(135deg, rgba(240, 60, 240, .76), rgba(155, 107, 255, .87));
  color: #fff;
  box-shadow: 0 8px 24px rgba(183, 76, 234, .3);
}

.lb-stage-wrap {
  margin-block: 14px;
  margin-inline-start: 14px;
  padding: 24px 64px;
  border: 1px solid rgba(230, 210, 255, .16);
  border-radius: 22px;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(159, 97, 255, .22), transparent 72%),
    linear-gradient(150deg, rgba(5, 2, 27, .51), rgba(35, 18, 75, .22));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09), 0 10px 35px rgba(3, 0, 20, .16);
}

.lb-stage-wrap::before {
  inset: 12px;
  border-color: rgba(232, 202, 255, .09);
}

.lb-stage img,
.lb-stage video,
.lb-stage iframe {
  box-shadow: 0 16px 55px rgba(4, 0, 21, .48), 0 0 36px rgba(176, 114, 255, .08);
}

.lb-info {
  margin-block: 14px;
  margin-inline-end: 14px;
  padding: 23px 21px;
  border: 1px solid rgba(239, 217, 255, .22);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .12), rgba(130, 77, 227, .09) 49%, rgba(9, 5, 37, .17));
  -webkit-backdrop-filter: blur(24px) saturate(1.45);
  backdrop-filter: blur(24px) saturate(1.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 8px 28px rgba(5, 1, 25, .13);
}

.lb-desc { color: #d5caed; }
.lb-kicker { color: var(--label); }

.lb-cta {
  border: 1px solid rgba(238, 196, 255, .37);
  background: linear-gradient(115deg, rgba(187, 115, 255, .29), rgba(240, 60, 240, .16));
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .21), 0 10px 28px rgba(77, 31, 130, .2);
}
.lb-cta:hover {
  border-color: rgba(255, 222, 255, .7);
  background: linear-gradient(115deg, rgba(187, 115, 255, .39), rgba(240, 60, 240, .24));
}

.lb-strip {
  background: linear-gradient(110deg, rgba(255, 255, 255, .10), rgba(40, 19, 85, .30));
  border-top: 1px solid rgba(255, 255, 255, .17);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}

.lb-thumb {
  border-color: rgba(255, 255, 255, .27);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 6px 20px rgba(0, 0, 0, .18);
}
.lb-thumb.is-on {
  border-color: #ffc0ff;
  box-shadow: 0 0 0 2px rgba(240, 135, 249, .34), 0 0 20px rgba(188, 109, 255, .29);
}

@media (max-width: 900px) {
  .lb-stage-wrap { margin-inline-end: 14px; }
  .lb-info {
    margin-block: 0 12px;
    margin-inline: 14px;
    border: 1px solid rgba(239, 217, 255, .22);
  }
}

@media (max-width: 760px) {
  .lightbox {
    width: calc(100vw - 24px);
    height: calc(100dvh - 24px);
    max-height: calc(100dvh - 24px);
    margin: auto;
  }

  .lb-panel {
    height: calc(100dvh - 24px);
    max-height: calc(100dvh - 24px);
    border: 1px solid rgba(226, 204, 255, .4);
    border-radius: 23px;
  }

  .lb-head { min-height: 68px; padding: 11px 13px 15px; }
  .lb-id { gap: 7px; }
  .lb-title { font-size: 14px; }
  .lb-cat { padding: 4px 7px; }
  .lb-count { min-width: 46px; padding: 7px 8px; }
  .lb-close { width: 36px; height: 36px; }

  .lb-stage-wrap {
    margin: 10px 10px 0;
    padding: 12px 11px 57px;
    border-radius: 18px;
    background:
      radial-gradient(ellipse at 50% 50%, rgba(159, 97, 255, .18), transparent 75%),
      rgba(5, 2, 27, .34);
  }
  .lb-stage-wrap::before { inset: 7px; border-radius: 12px; }
  .lb-nav { bottom: 10px; width: 38px; height: 38px; }
  .lb-nav.prev { inset-inline-start: 13px; }
  .lb-nav.next { inset-inline-end: 13px; }

  .lb-info {
    margin: 9px 10px 0;
    padding: 10px 12px;
    border-radius: 15px;
  }
  .lb-desc { font-size: 12px; line-height: 1.55; }
  .lb-cta { min-height: 41px; }
  .lb-strip {
    min-height: 80px;
    padding: 10px 12px calc(11px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(110deg, rgba(255, 255, 255, .12), rgba(48, 26, 92, .35));
  }
  .lb-thumb { width: 56px; height: 56px; }
}

@media (max-height: 620px) and (max-width: 760px) {
  .lb-head { min-height: 58px; padding: 7px 11px 12px; }
  .lb-stage-wrap { margin-top: 7px; padding-bottom: 50px; }
  .lb-info { margin-top: 6px; padding: 7px 11px; }
  .lb-strip { min-height: 59px; padding-block: 5px; }
  .lb-thumb { width: 46px; height: 46px; }
}

/* 19. EZORW Cinema — focused gallery, polished motion, understated glass */

.lightbox::backdrop {
  background:
    radial-gradient(ellipse at 70% 20%, rgba(109, 52, 201, .15), transparent 55%),
    rgba(3, 0, 15, .79);
  -webkit-backdrop-filter: blur(20px) saturate(1.18);
  backdrop-filter: blur(20px) saturate(1.18);
}

.lb-panel {
  border: 1px solid rgba(218, 187, 255, .26);
  border-radius: 26px;
  background:
    radial-gradient(ellipse at 94% -20%, rgba(151, 80, 244, .19), transparent 49%),
    radial-gradient(ellipse at 8% 110%, rgba(233, 63, 229, .10), transparent 50%),
    rgba(9, 6, 30, .96);
  -webkit-backdrop-filter: blur(28px) saturate(1.2);
  backdrop-filter: blur(28px) saturate(1.2);
  box-shadow:
    0 50px 145px -23px rgba(0, 0, 0, .93),
    0 0 80px -24px rgba(130, 57, 216, .28),
    inset 0 1px 0 rgba(255, 255, 255, .21);
}

.lb-panel::before {
  box-shadow:
    inset 0 1px 0 rgba(241, 212, 255, .17),
    inset 0 0 0 1px rgba(255, 255, 255, .035);
}

.lb-head {
  min-height: 80px;
  background: linear-gradient(110deg, rgba(38, 22, 76, .45), rgba(10, 7, 33, .82));
  border-bottom: 1px solid rgba(222, 174, 255, .13);
}
.lb-title { font-size: 17px; color: #f8f5ff; }
.lb-cat {
  border-color: rgba(233, 121, 245, .25);
  background: rgba(240, 60, 240, .085);
  color: #edaff9;
}
.lb-count {
  min-width: 66px;
  border-color: rgba(226, 204, 255, .15);
  background: rgba(255, 255, 255, .035);
  color: #e3d5f3;
}
.lb-progress { height: 2px; background: rgba(205, 157, 255, .12); }
.lb-progress span {
  background: linear-gradient(90deg, var(--violet), var(--mag), #ffd5ff);
  box-shadow: 0 0 22px rgba(230, 109, 250, .58);
  transition: width .56s cubic-bezier(.16, 1, .3, 1);
}

.lb-close, .lb-nav {
  border-color: rgba(238, 209, 255, .21);
  background: rgba(32, 23, 68, .78);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .13), 0 8px 28px rgba(0, 0, 0, .24);
}
.lb-close:hover, .lb-nav:hover {
  color: #fff;
  border-color: rgba(252, 181, 255, .6);
  background: linear-gradient(125deg, rgba(152, 85, 255, .86), rgba(226, 78, 222, .85));
}

.lb-body { gap: 0; }
.lb-stage-wrap {
  margin: 14px 0 14px 14px;
  margin-inline-start: 14px;
  margin-inline-end: 0;
  padding: 25px 62px;
  border: 1px solid rgba(212, 168, 255, .13);
  border-radius: 20px;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(98, 44, 169, .19), transparent 64%),
    linear-gradient(155deg, #0d0829, #08051a 62%, #140b32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .075), 0 14px 35px rgba(0, 0, 0, .22);
}
html[dir="rtl"] .lb-stage-wrap { margin-left: 0; margin-right: 14px; }
.lb-stage-wrap::before { inset: 10px; border-color: rgba(192, 134, 255, .08); }
.lb-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 13px;
}
.lb-stage img, .lb-stage video, .lb-stage iframe {
  animation: none;
  box-shadow: 0 18px 60px -20px rgba(0, 0, 0, .72);
}
.lb-stage > .lb-media-exit {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  pointer-events: none;
  animation: ezSlideOut .46s cubic-bezier(.4, 0, 1, 1) both;
  will-change: opacity, transform;
}
.lb-stage > .lb-media-enter {
  z-index: 2;
  animation: ezSlideIn .62s cubic-bezier(.16, 1, .3, 1) both;
  will-change: opacity, transform, filter;
}
.lb-stage.is-moving[data-motion="next"] { --ez-in: 56px; --ez-out: -40px; }
.lb-stage.is-moving[data-motion="prev"] { --ez-in: -56px; --ez-out: 40px; }
html[dir="rtl"] .lb-stage.is-moving[data-motion="next"] { --ez-in: -56px; --ez-out: 40px; }
html[dir="rtl"] .lb-stage.is-moving[data-motion="prev"] { --ez-in: 56px; --ez-out: -40px; }

@keyframes ezSlideIn {
  from { opacity: 0; filter: blur(8px); transform: translate3d(var(--ez-in, 0px), 0, 0) scale(.96); }
  to { opacity: 1; filter: blur(0); transform: translate3d(0, 0, 0) scale(1); }
}
@keyframes ezSlideOut {
  from { opacity: 1; filter: blur(0); transform: translate3d(0, 0, 0) scale(1); }
  to { opacity: 0; filter: blur(5px); transform: translate3d(var(--ez-out, 0px), 0, 0) scale(1.035); }
}

.lb-info {
  display: flex;
  flex-direction: column;
  position: relative;
  gap: 17px;
  margin: 14px 14px 14px 0;
  margin-inline-start: 0;
  margin-inline-end: 14px;
  padding: 30px 24px;
  border: 1px solid rgba(218, 187, 255, .12);
  border-radius: 20px;
  background: linear-gradient(158deg, rgba(41, 22, 87, .40), rgba(12, 8, 35, .65));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .075);
}
.lb-info::after {
  content: "E Z O R W";
  position: absolute;
  bottom: 97px;
  inset-inline-start: 24px;
  color: rgba(195, 142, 255, .11);
  font: 500 20px/1 Michroma, sans-serif;
  letter-spacing: .06em;
  pointer-events: none;
}
.lb-kicker { color: var(--label); letter-spacing: .14em; }
.lb-desc { color: #d3c8eb; font-size: 13.5px; }
.lb-tags li {
  background: rgba(255, 255, 255, .045);
  border-color: rgba(224, 189, 255, .15);
}
.lb-cta {
  margin-top: auto;
  border-color: rgba(218, 143, 255, .37);
  border-radius: 13px;
  background: linear-gradient(110deg, rgba(129, 73, 220, .34), rgba(211, 56, 204, .13));
  box-shadow: inset 0 1px 0 rgba(244, 213, 255, .1);
}
.lb-cta:hover { background: linear-gradient(110deg, rgba(154, 84, 240, .46), rgba(227, 65, 218, .24)); }

.lb-strip {
  gap: 11px;
  background: rgba(8, 5, 26, .91);
  border-top: 1px solid rgba(224, 180, 255, .12);
}
.lb-thumb {
  opacity: .54;
  border-color: rgba(225, 203, 255, .12);
  filter: saturate(.75);
  transition: opacity .25s, filter .25s, border-color .25s, transform .32s, box-shadow .3s;
}
.lb-thumb:hover { opacity: .94; filter: saturate(1); transform: translateY(-3px); }
.lb-thumb.is-on {
  opacity: 1;
  filter: saturate(1.1);
  border-color: #d59aff;
  box-shadow: 0 0 0 1px rgba(221, 151, 255, .52), 0 0 24px rgba(157, 77, 235, .2);
}

@media (max-width: 900px) {
  .lb-stage-wrap { margin-inline-end: 14px; }
  .lb-info { margin: 0 14px 12px; padding: 14px 18px; }
}
@media (max-width: 760px) {
  .lb-panel { border-radius: 20px; }
  .lb-head { min-height: 65px; padding: 10px 13px 15px; }
  .lb-title { font-size: 14px; }
  .lb-count { min-width: 48px; }
  .lb-stage-wrap,
  html[dir="rtl"] .lb-stage-wrap {
    margin: 9px 9px 0;
    padding: 12px 10px 53px;
    border-radius: 15px;
  }
  .lb-stage { border-radius: 9px; }
  .lb-info {
    gap: 8px;
    margin: 0;
    padding: 11px 15px 13px;
    border: 0;
    border-top: 1px solid rgba(215, 170, 255, .1);
    border-radius: 0;
    background: rgba(19, 11, 48, .62);
  }
  .lb-info::after { display: none; }
  .lb-cta { margin-top: 2px; }
  .lb-strip { min-height: 77px; padding: 9px 12px calc(10px + env(safe-area-inset-bottom, 0px)); }
  .lb-thumb { width: 54px; height: 54px; }
  .lb-stage.is-moving[data-motion="next"] { --ez-in: 38px; --ez-out: -27px; }
  .lb-stage.is-moving[data-motion="prev"] { --ez-in: -38px; --ez-out: 27px; }
  html[dir="rtl"] .lb-stage.is-moving[data-motion="next"] { --ez-in: -38px; --ez-out: 27px; }
  html[dir="rtl"] .lb-stage.is-moving[data-motion="prev"] { --ez-in: 38px; --ez-out: -27px; }
}
@media (max-height: 620px) and (max-width: 760px) {
  .lb-head { min-height: 57px; padding: 7px 11px 11px; }
  .lb-stage-wrap,
  html[dir="rtl"] .lb-stage-wrap { margin-top: 6px; padding-bottom: 48px; }
  .lb-info { padding: 7px 11px; }
  .lb-strip { min-height: 57px; padding-block: 5px; }
  .lb-thumb { width: 43px; height: 43px; }
}

/* 20. Glass Gallery — immersive canvas with floating controls and image dock */

.lightbox {
  width: min(1340px, 96vw);
  max-width: 1340px;
  max-height: 94dvh;
  margin: auto;
}
.lightbox::backdrop {
  background: rgba(3, 0, 17, .68);
  -webkit-backdrop-filter: blur(24px) saturate(1.45);
  backdrop-filter: blur(24px) saturate(1.45);
}
.lb-panel {
  display: block;
  position: relative;
  height: min(840px, 92dvh);
  max-height: 92dvh;
  overflow: hidden;
  border: 1px solid rgba(234, 214, 255, .32);
  border-radius: 34px;
  background:
    radial-gradient(ellipse at 12% -12%, rgba(183, 102, 255, .31), transparent 56%),
    radial-gradient(ellipse at 91% 106%, rgba(233, 64, 237, .19), transparent 59%),
    linear-gradient(125deg, rgba(52, 27, 110, .76), rgba(11, 6, 38, .86) 59%, rgba(36, 16, 77, .79));
  -webkit-backdrop-filter: blur(42px) saturate(1.6);
  backdrop-filter: blur(42px) saturate(1.6);
  box-shadow: 0 52px 160px -26px rgba(0, 0, 0, .86), 0 0 85px -32px rgba(151, 84, 246, .52), inset 0 1px 0 rgba(255, 255, 255, .3);
}
.lb-panel::before {
  z-index: 15;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .045), inset 0 1px 0 rgba(255, 255, 255, .2);
}

.lb-body {
  display: block;
  position: absolute;
  inset: 0;
  min-height: 0;
  height: 100%;
}
.lb-stage-wrap,
html[dir="rtl"] .lb-stage-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 108px 40px 120px;
  padding-inline-end: 326px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(ellipse at 50% 48%, rgba(126, 65, 221, .19), transparent 63%),
    linear-gradient(150deg, rgba(8, 4, 30, .20), rgba(8, 4, 30, .56));
  box-shadow: none;
}
.lb-stage-wrap::before {
  inset: 5% 9%;
  border: 0;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(182, 106, 255, .15), transparent 71%);
  filter: blur(28px);
}
.lb-stage {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 15px;
}
.lb-stage img,
.lb-stage video,
.lb-stage iframe {
  max-height: calc(92dvh - 226px);
  border-radius: 14px;
  box-shadow: 0 30px 72px -20px rgba(1, 0, 13, .66);
}
.lb-stage-wrap .lb-cap { bottom: 118px; }

.lb-head {
  position: absolute;
  z-index: 10;
  top: 18px;
  inset-inline: 20px;
  min-height: 67px;
  padding: 11px 17px 14px;
  border: 1px solid rgba(250, 231, 255, .25);
  border-radius: 20px;
  background: linear-gradient(125deg, rgba(255, 255, 255, .13), rgba(129, 75, 218, .07) 46%, rgba(26, 14, 66, .34));
  -webkit-backdrop-filter: blur(25px) saturate(1.65);
  backdrop-filter: blur(25px) saturate(1.65);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .24), 0 14px 45px rgba(0, 0, 0, .2);
}
.lb-title { font-size: 18px; }
.lb-progress { height: 2px; border-radius: 0 0 20px 20px; }
.lb-close, .lb-nav {
  border-color: rgba(255, 255, 255, .31);
  background: linear-gradient(145deg, rgba(255, 255, 255, .23), rgba(128, 66, 211, .17));
  -webkit-backdrop-filter: blur(24px) saturate(1.55);
  backdrop-filter: blur(24px) saturate(1.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 8px 26px rgba(0, 0, 0, .23);
}
.lb-nav {
  top: 50%;
  bottom: auto;
  width: 48px;
  height: 48px;
  transform: translateY(-50%);
}
html[dir="rtl"] .lb-nav { transform: translateY(-50%) scaleX(-1); }
.lb-nav.prev { inset-inline-start: 23px; }
.lb-nav.next { inset-inline-end: 349px; }

.lb-info {
  position: absolute;
  z-index: 8;
  top: 50%;
  bottom: auto;
  inset-inline-end: 27px;
  inset-inline-start: auto;
  width: 268px;
  max-height: calc(100% - 214px);
  margin: 0;
  padding: 28px 23px;
  transform: translateY(-50%);
  overflow-y: auto;
  border: 1px solid rgba(251, 223, 255, .34);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .19), rgba(131, 73, 225, .12) 48%, rgba(33, 17, 75, .50));
  -webkit-backdrop-filter: blur(32px) saturate(1.5);
  backdrop-filter: blur(32px) saturate(1.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .27), 0 18px 55px rgba(5, 0, 32, .33);
}
.lb-info::after { display: none; }
.lb-desc { color: #f0e7fc; }
.lb-cta { margin-top: 12px; }

.lb-strip {
  position: absolute;
  z-index: 12;
  bottom: 20px;
  left: 50%;
  width: max-content;
  max-width: calc(100% - 40px);
  min-height: 0;
  margin: 0;
  padding: 10px 12px;
  gap: 10px;
  transform: translateX(-50%);
  overflow-x: auto;
  justify-content: flex-start;
  border: 1px solid rgba(249, 225, 255, .28);
  border-radius: 22px;
  background: linear-gradient(110deg, rgba(255, 255, 255, .15), rgba(41, 21, 89, .44));
  -webkit-backdrop-filter: blur(26px) saturate(1.5);
  backdrop-filter: blur(26px) saturate(1.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .23), 0 14px 38px rgba(1, 0, 20, .34);
}
.lb-thumb { width: 61px; height: 61px; border-radius: 14px; }
.lb-thumb.is-on { border-color: #ffc7ff; box-shadow: 0 0 0 2px rgba(255, 174, 255, .48), 0 0 22px rgba(220, 112, 255, .30); }

@media (max-width: 900px) {
  .lb-stage-wrap,
  html[dir="rtl"] .lb-stage-wrap { padding-inline-end: 270px; }
  .lb-info { width: 230px; inset-inline-end: 17px; padding: 22px 18px; }
  .lb-nav.next { inset-inline-end: 283px; }
}

@media (max-width: 760px) {
  .lightbox { width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; }
  .lb-panel { width: 100vw; height: 100dvh; max-height: 100dvh; border: 0; border-radius: 0; }
  .lb-head {
    top: calc(11px + env(safe-area-inset-top, 0px));
    inset-inline: 10px;
    min-height: 60px;
    padding: 10px 12px 13px;
    gap: 8px;
    border-radius: 16px;
  }
  .lb-title { font-size: 13.5px; }
  .lb-cat { padding: 4px 7px; font-size: 9px; }
  .lb-count { min-width: 45px; padding: 6px 7px; }
  .lb-close { width: 36px; height: 36px; }
  .lb-stage-wrap,
  html[dir="rtl"] .lb-stage-wrap {
    padding: calc(85px + env(safe-area-inset-top, 0px)) 13px calc(216px + env(safe-area-inset-bottom, 0px));
    margin: 0;
    border-radius: 0;
  }
  .lb-stage { border-radius: 12px; }
  .lb-stage img, .lb-stage video { max-height: calc(100dvh - 300px); max-width: 100%; object-fit: contain; }
  .lb-stage iframe { max-height: calc(100dvh - 300px); }
  .lb-nav {
    top: 49%;
    bottom: auto;
    width: 39px;
    height: 39px;
    transform: translateY(-50%);
  }
  html[dir="rtl"] .lb-nav { transform: translateY(-50%) scaleX(-1); }
  .lb-nav.prev { inset-inline-start: 10px; }
  .lb-nav.next { inset-inline-end: 10px; }
  .lb-info {
    top: auto;
    bottom: calc(98px + env(safe-area-inset-bottom, 0px));
    inset-inline: 12px;
    width: auto;
    max-height: 113px;
    min-height: 0;
    margin: 0;
    padding: 10px 14px;
    gap: 6px;
    transform: none;
    border: 1px solid rgba(251, 223, 255, .28);
    border-radius: 17px;
    background: linear-gradient(125deg, rgba(255, 255, 255, .14), rgba(36, 18, 82, .57));
  }
  .lb-kicker, .lb-tags { display: none; }
  .lb-desc { font-size: 12px; line-height: 1.5; -webkit-line-clamp: 2; }
  .lb-cta { min-height: 35px; margin-top: 2px; padding: 5px 7px 5px 11px; font-size: 11px; }
  .lb-cta-ic { width: 25px; height: 25px; }
  .lb-strip {
    bottom: calc(11px + env(safe-area-inset-bottom, 0px));
    width: calc(100vw - 22px);
    max-width: calc(100vw - 22px);
    min-height: 69px;
    padding: 7px 9px;
    border-radius: 18px;
  }
  .lb-thumb { width: 52px; height: 52px; border-radius: 11px; }
}

@media (max-height: 620px) and (max-width: 760px) {
  .lb-head { min-height: 55px; top: 7px; padding: 7px 10px 12px; }
  .lb-stage-wrap,
  html[dir="rtl"] .lb-stage-wrap { padding-top: 68px; padding-bottom: 171px; }
  .lb-stage img, .lb-stage video, .lb-stage iframe { max-height: calc(100dvh - 224px); }
  .lb-info { bottom: 75px; max-height: 88px; padding: 7px 10px; }
  .lb-desc { -webkit-line-clamp: 1; }
  .lb-strip { bottom: 7px; min-height: 56px; padding: 5px 8px; }
  .lb-thumb { width: 44px; height: 44px; }
}

/* 21. True EZORW glass — the viewer carries the site's actual background art */

.lightbox::backdrop {
  background: rgba(3, 0, 19, .57);
  -webkit-backdrop-filter: blur(15px) saturate(1.35);
  backdrop-filter: blur(15px) saturate(1.35);
}

.lb-panel {
  isolation: isolate;
  border-color: rgba(232, 203, 255, .41);
  background:
    radial-gradient(ellipse at 9% 6%, rgba(180, 103, 255, .15), transparent 44%),
    linear-gradient(145deg, rgba(72, 32, 144, .32), rgba(8, 3, 36, .42) 59%, rgba(53, 19, 107, .33));
  -webkit-backdrop-filter: blur(40px) saturate(1.55);
  backdrop-filter: blur(40px) saturate(1.55);
  box-shadow:
    0 58px 160px -26px rgba(0, 0, 0, .88),
    0 0 80px rgba(145, 71, 242, .18),
    inset 0 1px 0 rgba(255, 255, 255, .36);
}

.lb-theme-layer {
  position: absolute;
  z-index: 0;
  inset: -3%;
  background: url("../img/background.jpg") center center / cover no-repeat;
  filter: brightness(.9) saturate(1.24);
  opacity: .87;
  transform-origin: center;
  animation: lbThemeFloat 26s ease-in-out infinite alternate;
  pointer-events: none;
}
.lb-theme-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .16), rgba(0, 0, 0, .28)),
    radial-gradient(ellipse at 18% 30%, rgba(162, 73, 250, .30), transparent 45%),
    radial-gradient(ellipse at 85% 80%, rgba(217, 72, 244, .19), transparent 43%),
    linear-gradient(120deg, rgba(10, 4, 37, .32), rgba(6, 2, 26, .39));
}
@keyframes lbThemeFloat {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to { transform: scale(1.065) translate3d(-1%, 1%, 0); }
}

.lb-body { z-index: 1; }
.lb-head { z-index: 10; }
.lb-strip { z-index: 12; }
.lb-panel::before {
  z-index: 15;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .32),
    inset 0 0 0 1px rgba(246, 210, 255, .09);
}

.lb-stage-wrap,
html[dir="rtl"] .lb-stage-wrap {
  background:
    radial-gradient(ellipse at 57% 49%, rgba(25, 7, 56, .23), transparent 69%),
    rgba(7, 2, 27, .12);
}
.lb-stage-wrap::before {
  background: radial-gradient(ellipse, rgba(108, 41, 182, .20), transparent 70%);
  filter: blur(32px);
}

.lb-head {
  border-color: rgba(249, 224, 255, .37);
  background: linear-gradient(115deg, rgba(255, 255, 255, .23), rgba(114, 52, 189, .14) 48%, rgba(18, 8, 53, .36));
  -webkit-backdrop-filter: blur(34px) saturate(1.75);
  backdrop-filter: blur(34px) saturate(1.75);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .36), 0 14px 40px rgba(3, 0, 23, .27);
}
.lb-info {
  border-color: rgba(251, 221, 255, .45);
  background:
    linear-gradient(140deg, rgba(255, 255, 255, .20), rgba(122, 60, 208, .21) 48%, rgba(17, 7, 58, .59));
  -webkit-backdrop-filter: blur(38px) saturate(1.65);
  backdrop-filter: blur(38px) saturate(1.65);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .32), 0 18px 55px rgba(4, 0, 25, .38);
}
.lb-info .lb-desc { color: #f6f0ff; }
.lb-info .lb-tags li { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); }
.lb-cta {
  border-color: rgba(245, 184, 255, .52);
  background: linear-gradient(110deg, rgba(184, 108, 247, .40), rgba(235, 75, 233, .22));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25);
}
.lb-strip {
  border-color: rgba(249, 228, 255, .43);
  background: linear-gradient(120deg, rgba(255, 255, 255, .25), rgba(117, 56, 197, .17), rgba(18, 7, 52, .42));
  -webkit-backdrop-filter: blur(36px) saturate(1.7);
  backdrop-filter: blur(36px) saturate(1.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .32), 0 14px 36px rgba(3, 0, 21, .35);
}
.lb-close, .lb-nav {
  background: linear-gradient(145deg, rgba(255, 255, 255, .24), rgba(107, 54, 185, .24));
  border-color: rgba(255, 255, 255, .39);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
}

@media (max-width: 760px) {
  .lb-theme-layer { background-position: 56% center; opacity: .83; }
  .lb-info {
    background: linear-gradient(115deg, rgba(255, 255, 255, .18), rgba(27, 10, 77, .61));
    -webkit-backdrop-filter: blur(32px);
    backdrop-filter: blur(32px);
  }
}
