/* ============ TOKENS ============ */
:root {
  /* palette taken from the portrait: red key light, blue rim light, deep navy shadows, white turtleneck */
  --bg: #07080E;
  --bg-2: #0A0D16;
  --surface: #11151F;
  --surface-2: #181D2A;
  --line: rgba(255, 255, 255, .09);
  --text: #F4F6FA;
  --muted: #98A0B3;
  --accent: #FF3A2F;     /* red */
  --accent-2: #2F8CFF;   /* blue */
  --on-accent: #FFFFFF;
  --grad: linear-gradient(100deg, #FF3A2F 0%, #A8236E 50%, #2F6BFF 100%);
  --ink: #07080E;

  --display: "Funnel Display", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --body: "Funnel Sans", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --radius: 22px;
  --container: 1240px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
/* Arabic: IBM Plex Sans Arabic for headings and text (Open Font License). To switch to خط ثمانية later, only change these variables. */
html[lang="ar"] { --display: "IBM Plex Sans Arabic", "Funnel Display", system-ui, sans-serif; --body: "IBM Plex Sans Arabic", "Funnel Sans", system-ui, sans-serif; }


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

/* ============ CURSOR TOUCH (desktop only): normal system cursor + a soft glow that trails it ============ */
.cursor-glow {
  position: fixed; top: 0; left: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .4s;
  width: 0; height: 0; will-change: transform;
}
.cursor-glow::before {
  content: ""; position: absolute; width: 220px; height: 220px; left: -110px; top: -110px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 58, 47, .16), rgba(47, 140, 255, .06) 45%, transparent 70%);
  transition: opacity .4s;
}
html.cursor-on:not(.cursor-native) .cursor-glow { opacity: 1; }
/* magnetic elements ease back when the cursor leaves */
/* the JS spring loop animates 	ranslate on these — keep CSS transitions off that property so they never fight */
html.has-cursor :is(.btn, .lang-toggle, .ring-play, .yt-link, .filter, .brand-chip) { transition-property: transform, background, color, box-shadow, border-color, opacity; }

/* soft light that follows the cursor inside cards */
.service, .tl-item, .tools, .about-facts li, .course, .quote, .brand-chip { position: relative; }
.service::after, .tl-item::after, .tools::after, .about-facts li::after, .course::after, .quote::after, .brand-chip::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(320px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .07), transparent 60%);
}
html.has-cursor .service:hover::after, html.has-cursor .tl-item:hover::after, html.has-cursor .tools:hover::after,
html.has-cursor .about-facts li:hover::after, html.has-cursor .course:hover::after, html.has-cursor .quote:hover::after,
html.has-cursor .brand-chip:hover::after { opacity: 1; }
html.has-cursor .service { transition: border-color .3s; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
main { overflow-x: clip; }
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: var(--accent); color: var(--on-accent); }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }

.grain {
  position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .95em 1.6em; border-radius: 999px;
  font-family: var(--display); font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  transition: transform .35s var(--ease), background .3s, color .3s, box-shadow .35s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); }
.btn-sm { padding: .65em 1.2em; font-size: .82rem; }
.btn-lime { background: var(--accent); color: var(--on-accent); box-shadow: 0 0 0 0 rgba(255, 58, 47, .5); }
.btn-lime:hover { box-shadow: 0 12px 40px -8px rgba(255, 58, 47, .55); }
.btn-ghost { border: 1.5px solid var(--line); background: rgba(255, 255, 255, .03); }
.btn-ghost:hover { border-color: var(--text); }
.btn-dark { background: #fff; color: var(--ink); }
.btn-outline-dark { border: 2px solid rgba(255, 255, 255, .85); color: #fff; }
.btn-outline-dark:hover { background: #fff; color: var(--ink); }
.btn .arrow { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateY(3px); }

/* ============ NAV ============ */
.nav {
  position: fixed; inset-inline: 0; top: 0; z-index: 50;
  padding-block: 18px; transition: background .4s, padding .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding-block: 12px; background: rgba(10, 10, 12, .72);
  backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-color: var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 1.02rem; }
.logo-mark {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px;
  background: var(--accent); color: var(--on-accent); font-size: .8rem; transform: rotate(-8deg);
  transition: transform .4s var(--ease);
}
.logo:hover .logo-mark { transform: rotate(8deg) scale(1.08); }
html[dir="rtl"] .logo-mark { transform: rotate(8deg) scaleX(-1); }
html[dir="rtl"] .logo:hover .logo-mark { transform: rotate(-8deg) scale(1.08) scaleX(-1); }
.logo-avatar {
  flex: none; width: 40px; height: 40px; border-radius: 50%; padding: 2px; background: var(--grad);
  transition: transform .4s var(--ease);
}
.logo-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid var(--bg); }
.logo:hover .logo-avatar { transform: rotate(-8deg) scale(1.08); }

.nav-links { display: flex; gap: 6px; }
.nav-links a {
  padding: .45em 1em; border-radius: 999px; color: var(--muted); font-size: .92rem; font-weight: 500;
  transition: color .25s, background .25s;
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.nav-links .nav-links-cta { display: none; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  min-width: 42px; height: 38px; padding-inline: 10px; border-radius: 999px; border: 1.5px solid var(--line);
  font-family: var(--display); font-weight: 700; font-size: .8rem; transition: border-color .25s, background .25s;
}
.lang-toggle:hover { border-color: var(--accent); background: rgba(255, 58, 47, .08); }
.menu-btn { display: none; width: 42px; height: 38px; border-radius: 999px; border: 1.5px solid var(--line); position: relative; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text); transition: transform .35s var(--ease); }
.menu-btn span:first-child { top: 14px; }
.menu-btn span:last-child { top: 21px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ============ HERO ============ */
.hero { position: relative; min-height: 100svh; padding-top: 130px; padding-bottom: 40px; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
/* spotlight that follows the cursor (--sx/--sy set by app.js) */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: 0; transition: opacity .6s;
  background: radial-gradient(520px circle at var(--sx, 50%) var(--sy, 40%), rgba(255, 58, 47, .13), rgba(47, 140, 255, .07) 45%, transparent 70%);
}
html.has-cursor .hero::before { opacity: 1; }
.hero > .container { position: relative; z-index: 1; }
/* depth: each hero layer drifts with the cursor by a different amount (--px/--py from -1 to 1) */
.hero-visual > * { margin-left: calc(var(--px, 0) * var(--depth, 0px)); margin-top: calc(var(--py, 0) * var(--depth, 0px)); }
.hero-visual .phone-back { --depth: 9px; }
.hero-visual .portrait { --depth: 4px; }
.hero-visual .thumb-float { --depth: 13px; }
.hero-visual .ring { --depth: 11px; }
.hero-visual .sticker { --depth: 16px; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(38% 55% at 8% 40%, rgba(255, 58, 47, .26), transparent 70%),
    radial-gradient(40% 55% at 92% 45%, rgba(47, 140, 255, .28), transparent 70%),
    radial-gradient(30% 30% at 50% 100%, rgba(168, 35, 110, .14), transparent 70%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 60% at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000 20%, transparent 75%);
  opacity: .5;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: .45em 1em .45em 1em;
  border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .03);
  font-size: .85rem; color: var(--muted); margin-bottom: 28px;
}
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(255, 58, 47, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255, 58, 47, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 58, 47, 0); } }

.hero-title {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(2.3rem, 4.9vw, 4.6rem); line-height: 1.04; letter-spacing: -.03em;
  margin-bottom: 26px;
}
html[lang="ar"] .hero-title { line-height: 1.25; letter-spacing: 0; font-size: clamp(2.7rem, 6.6vw, 6.2rem); }
.hero-title .t2 {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .06em; display: inline-block;
}
.hero-reel { position: relative; height: 100%; border-radius: 28px; overflow: hidden; }
.hero-reel img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-badge {
  position: absolute; z-index: 2; bottom: 10px; right: 10px; padding: .25em .7em; border-radius: 8px;
  background: rgba(7, 8, 14, .78); color: #fff; font-family: var(--display); font-weight: 700; font-size: .78rem; direction: ltr;
  backdrop-filter: blur(6px);
}
.rot { position: relative; }
.rot-thumb { aspect-ratio: 16 / 9; }
.rot > .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; }
.rot > .slide.on { opacity: 1; }
.rot > .slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb-float { position: absolute; }
.thumb-float .hero-badge { bottom: 8px; right: 8px; }
.hl {
  display: inline-block; background: var(--accent); color: var(--on-accent);
  padding: 0 .16em; border-radius: .14em; transform: rotate(-2.5deg);
  box-shadow: .08em .08em 0 var(--accent-2);
}
.hero-sub { max-width: 34em; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.15rem); margin-bottom: 36px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-visual { position: relative; height: 580px; direction: ltr; }
.phone {
  position: absolute; aspect-ratio: 9 / 16; border-radius: 34px; padding: 6px;
  background: #1c1c22; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.phone > .reel-visual { border-radius: 28px; height: 100%; }
.phone-back { width: 240px; left: -3%; top: 1%; transform: rotate(-9deg); z-index: 1; animation: float 8s ease-in-out -2s infinite; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .8), 0 0 60px -10px rgba(255, 58, 47, .35); }
.hero-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-badge-reel { top: 12px; bottom: auto; right: auto; left: 12px; font-family: var(--body); font-weight: 600; letter-spacing: .03em; }
.hero-badge-reel::first-letter { color: var(--accent); }
.portrait {
  position: absolute; z-index: 3; width: 300px; aspect-ratio: 4 / 5; left: 60%; top: 50%;
  transform: translate(-50%, -50%) rotate(-3deg); border-radius: 32px; overflow: hidden;
  border: 6px solid #1c1c22; background: #1c1c22;
  box-shadow: -40px 10px 90px -30px rgba(255, 61, 110, .65), 40px -10px 90px -30px rgba(58, 134, 255, .6), 0 40px 80px -20px rgba(0, 0, 0, .8);
  animation: float 7s ease-in-out infinite;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(1.12); }
.thumb-float {
  position: absolute; z-index: 4; width: 250px; right: -6px; bottom: 9%; transform: rotate(6deg);
  border-radius: 16px; overflow: hidden; border: 5px solid #1c1c22; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .85);
  animation: float 9s ease-in-out -4s infinite;
}
.thumb-float .thumb-visual { border-radius: 0; }
@keyframes float { 50% { translate: 0 -14px; } }
.hero-role {
  font-family: var(--display); font-weight: 500; font-size: clamp(.72rem, 1.1vw, .86rem); letter-spacing: .04em;
  color: var(--accent); margin: -8px 0 18px; direction: ltr; unicode-bidi: isolate;
}
html[dir="rtl"] .hero-role { text-align: right; }

.sticker {
  position: absolute; z-index: 4; padding: .55em 1.05em; border-radius: 999px;
  font-family: var(--display); font-weight: 800; font-size: .9rem; white-space: nowrap;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .7);
}
.sticker-1 { background: var(--accent); color: var(--on-accent); top: 9%; right: 2%; transform: rotate(8deg); }
html[dir="rtl"] .sticker-1, html[dir="rtl"] .sticker-2 { direction: rtl; }
.sticker-2 { background: var(--accent-2); color: #fff; bottom: 12%; left: 0; transform: rotate(-7deg); direction: ltr; }
.ring { position: absolute; z-index: 5; width: 116px; height: 116px; left: 36%; top: -3%; }
.ring svg { width: 100%; height: 100%; animation: spin 14s linear infinite; }
.ring text { font-family: var(--display); font-size: 10.4px; font-weight: 700; letter-spacing: .12em; fill: var(--text); }
.ring-play {
  position: absolute; inset: 0; margin: auto; width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent-2); color: #fff; font-size: 1rem;
}
@keyframes spin { to { transform: rotate(360deg); } }

.stats {
  margin-top: 70px; display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.stat { padding: 26px 22px 6px; border-inline-start: 1px solid var(--line); }
.stat:first-child { border-inline-start: 0; padding-inline-start: 0; }
.stat-value { font-family: var(--display); font-weight: 900; font-size: clamp(1.9rem, 3.8vw, 3.3rem); line-height: 1; letter-spacing: -.03em; direction: ltr; unicode-bidi: isolate; display: inline-block; }
.stat-value .suf { color: var(--accent); }
.stat-label { color: var(--muted); font-size: .92rem; margin-top: 8px; }

/* ============ MARQUEE ============ */
.marquee {
  background: var(--grad); color: var(--on-accent); overflow: hidden; direction: ltr;
  transform: rotate(-2deg); margin: 30px -20px; padding-block: 16px; position: relative; z-index: 2;
}
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee-label {
  position: absolute; z-index: 2; left: 44px; top: 50%; transform: translateY(-50%);
  background: var(--ink); color: #fff; padding: .55em 1.1em; border-radius: 999px;
  font-family: var(--display); font-weight: 800; font-size: clamp(.75rem, 1.2vw, .95rem); white-space: nowrap;
  box-shadow: 14px 0 24px 8px rgba(7, 8, 14, .0), 0 6px 20px rgba(0, 0, 0, .35);
}
.marquee-track span {
  font-family: var(--display); font-weight: 900; font-size: clamp(1.1rem, 2.4vw, 1.9rem);
  text-transform: uppercase; padding-inline: 22px; display: flex; align-items: center; gap: 44px; white-space: nowrap;
}
.marquee-track span::after { content: "✦"; color: rgba(255, 255, 255, .55); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ SECTIONS ============ */
.section { padding-block: clamp(90px, 12vw, 150px); position: relative; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { max-width: 820px; margin-bottom: 48px; }
.kicker {
  display: inline-block; font-family: var(--display); font-weight: 700; font-size: .85rem;
  color: var(--accent); letter-spacing: .1em; margin-bottom: 16px;
}
.kicker::before { content: "/ "; color: var(--muted); }
.section-head h2, .process-title, .contact-title {
  font-family: var(--display); font-weight: 900; letter-spacing: -.03em;
  font-size: clamp(2.2rem, 5.6vw, 4.6rem); line-height: 1.04; margin-bottom: 18px;
}
html[lang="ar"] .section-head h2, html[lang="ar"] .process-title, html[lang="ar"] .contact-title { letter-spacing: 0; line-height: 1.28; }
.section-head h2 em, .process-title em { font-style: normal; color: var(--accent); }
.section-head p { color: var(--muted); font-size: 1.08rem; max-width: 38em; }

[hidden] { display: none !important; }

/* ============ ABOUT ============ */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start; }
.about-grid .section-head { margin-bottom: 0; }
.about-role {
  font-family: var(--display); font-size: .8rem !important; letter-spacing: .03em; color: var(--accent) !important;
  direction: ltr; unicode-bidi: isolate;
}
html[dir="rtl"] .about-role { text-align: right; }
.about-lead { font-size: clamp(1.08rem, 1.6vw, 1.3rem); line-height: 1.85; margin-bottom: 34px; }
.about-facts { display: grid; gap: 12px; }
.about-facts li {
  display: flex; gap: 18px; align-items: center; padding: 18px 22px; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--line); transition: border-color .3s;
}
.about-facts li:hover { border-color: rgba(255, 58, 47, .45); }
.fact-k { flex: none; min-width: 64px; font-family: var(--display); font-weight: 900; font-size: 1.3rem; color: var(--accent); }

.sample {
  font-style: normal; font-size: .7rem; font-weight: 600; letter-spacing: .02em; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: .15em .7em; white-space: nowrap; margin-inline-start: 6px;
}
.more { display: flex; justify-content: center; margin-top: 44px; }

/* ============ REELS ============ */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.filter {
  padding: .6em 1.25em; border-radius: 999px; border: 1.5px solid var(--line); color: var(--muted);
  font-weight: 500; font-size: .92rem; transition: all .25s;
}
.filter:hover { color: var(--text); border-color: rgba(255, 255, 255, .25); }
.filter.active { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.filter .count { opacity: .6; font-size: .8em; margin-inline-start: .35em; }

.reel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.brand-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: -12px 0 30px; }
.brand-label { color: var(--muted); font-size: .88rem; margin-inline-end: 4px; }
.brand-chip {
  display: inline-flex; align-items: baseline; gap: 8px; padding: .5em 1em; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line);
}
.brand-chip strong { font-family: var(--display); font-weight: 700; font-size: .95rem; letter-spacing: .01em; }
.brand-chip small { color: var(--muted); font-size: .76rem; }
.reel-client-info { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; margin: -14px 0 26px; color: var(--muted); font-size: .92rem; }
.reel-client-info:empty { display: none; }
.reel-client-info a { color: var(--accent-2); font-weight: 600; direction: ltr; }
.reel-frame {
  position: relative; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; background: var(--surface);
  border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s;
  --ig-top: 56px; --ig-extra: 0px;
}
.reel-frame::before { /* loading shimmer behind the iframe */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .05) 50%, transparent 70%) 0 0 / 200% 100%, var(--grad);
  opacity: .25; animation: shimmer 1.6s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0, 0 0; } }
.reel-frame iframe {
  position: absolute; left: 0; width: 100%; top: calc(-1 * var(--ig-top)); height: calc(100% + var(--ig-top) + var(--ig-extra));
  border: 0; pointer-events: none; background: transparent;
}
.reel-card:hover .reel-frame, .reel-card:focus-visible .reel-frame { transform: translateY(-8px) rotate(-1.2deg); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9), 0 0 0 2px var(--accent); }
.reel-frame video, .reel-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; transition: transform .7s var(--ease); }
.reel-card:hover .reel-cover, .reel-card:hover .reel-frame video { transform: scale(1.06); }
.reel-frame.no-cover { background: var(--grad); }
.reel-frame.no-cover::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 40% at 50% 40%, rgba(255, 255, 255, .18), transparent 70%); }
.reel-shade {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(to top, rgba(7, 8, 14, .92) 0%, rgba(7, 8, 14, .45) 26%, rgba(7, 8, 14, 0) 50%),
              linear-gradient(to bottom, rgba(7, 8, 14, .35), rgba(7, 8, 14, 0) 18%);
}
.reel-frame .reel-play {
  width: 58px; height: 58px; z-index: 3; opacity: 1; transform: none; color: #fff;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .4);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35); transition: transform .4s var(--ease), background .3s, border-color .3s;
}
.reel-frame .reel-play svg { margin-inline-start: 3px; }
html[dir="rtl"] .reel-frame .reel-play svg { margin-inline-start: 0; margin-inline-end: 3px; }
.reel-card:hover .reel-frame .reel-play, .reel-card:focus-visible .reel-frame .reel-play { transform: scale(1.12); background: var(--accent); border-color: var(--accent); }
.reel-views {
  position: absolute; z-index: 3; top: 12px; inset-inline-start: 12px; padding: .25em .7em; border-radius: 999px;
  background: rgba(7, 8, 14, .6); backdrop-filter: blur(6px); font-family: var(--display); font-weight: 700; font-size: .72rem; direction: ltr;
}
.reel-overlay { position: absolute; z-index: 3; inset-inline: 14px; bottom: 14px; display: flex; flex-direction: column; gap: 4px; color: #fff; text-align: start; }
.reel-client { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: .88rem; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); min-width: 0; }
.reel-client bdi { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reel-client svg { flex: none; opacity: .9; }
.reel-caption-below { display: flex; flex-direction: column; gap: 3px; padding: 12px 4px 0; text-align: start; }
.reel-title {
  font-weight: 600; font-size: .95rem; line-height: 1.45; color: var(--text); unicode-bidi: plaintext;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.reel-views-below { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: .82rem; }
.reel-views-below svg { color: var(--accent); }
.reel-platforms { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: .72rem; color: var(--muted); direction: ltr; justify-content: flex-end; }
html[dir="ltr"] .reel-platforms { justify-content: flex-start; }
.reel-platforms b { font-weight: 600; color: var(--text); opacity: .7; }
.reel-views-below bdi { color: var(--text); font-family: var(--display); font-weight: 700; font-size: .76rem; }
.reel-note { align-self: flex-start; font-size: .72rem; font-weight: 600; padding: .2em .65em; border-radius: 999px; background: var(--accent); }
/* popup: crop Instagram's player to just the 4:5 video area (no white header/footer) */
/* Instagram letterboxes the 9:16 reel inside a 4:5 box (box width = frame × 1.4222);
   widen the iframe and shift it so only the 9:16 video shows */
.modal-frame.is-ig { position: relative; aspect-ratio: 9 / 16; max-height: none; width: 100%; background: #000; }
.modal-frame.is-ig iframe {
  position: absolute; left: -21.111%; top: -54px; width: calc(142.222% + 15px); max-width: none; height: calc(100% + 700px); border: 0;
  opacity: 0; transition: opacity .4s; z-index: 1;
}
.modal-frame.is-ig iframe.loaded { opacity: 1; }
.ig-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(14px) brightness(.6); transform: scale(1.1); }
.modal:has(.is-ig) .modal-body { width: min(400px, 100%, calc(80svh * .5625)); }
.modal-link { color: var(--accent-2); font-weight: 600; font-size: .9rem; }
.reel-card { text-align: start; display: block; width: 100%; }
.reel-card.hide { display: none; }
.reel-card .reel-visual { border-radius: 22px; transition: transform .5s var(--ease), box-shadow .5s; }
.reel-card:hover .reel-visual, .reel-card:focus-visible .reel-visual { transform: translateY(-8px) rotate(-1.2deg); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9), 0 0 0 2px var(--accent); }
.reel-card:focus-visible { outline: none; }
.reel-meta { padding: 14px 4px 0; }
.reel-meta strong { display: block; font-weight: 600; font-size: 1rem; line-height: 1.35; }
.reel-meta span { color: var(--muted); font-size: .85rem; }

.reel-visual {
  position: relative; aspect-ratio: 9 / 16; overflow: hidden; container-type: inline-size;
  background: linear-gradient(165deg, var(--c1), var(--c2) 62%, var(--c3) 130%);
  isolation: isolate;
}
.reel-visual::before { /* light sweep */
  content: ""; position: absolute; inset: -20%; z-index: 0;
  background: radial-gradient(40% 30% at 70% 20%, rgba(255, 255, 255, .25), transparent 70%);
}
.reel-poster, .reel-visual video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.reel-subject { /* stylised talking-head silhouette */
  position: absolute; inset-inline: 0; bottom: 0; height: 74%; z-index: 1;
  background:
    radial-gradient(circle at 50% 30%, rgba(5, 5, 10, .62) 0 16cqw, transparent calc(16cqw + 1px)),
    radial-gradient(ellipse 46cqw 34cqw at 50% 100%, rgba(5, 5, 10, .62) 0 98%, transparent 100%);
}
.reel-top { position: absolute; top: 7cqw; inset-inline: 7cqw; z-index: 2; display: flex; justify-content: space-between; align-items: center; }
.views {
  font-family: var(--display); font-weight: 700; font-size: max(10px, 5.4cqw);
  background: rgba(0, 0, 0, .45); backdrop-filter: blur(6px); padding: .35em .8em; border-radius: 999px; direction: ltr;
}
.reel-dots { display: flex; gap: 3px; }
.reel-dots i { width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, .8); }
.reel-caption {
  position: absolute; z-index: 2; inset-inline: 6cqw; top: 58%;
  display: flex; flex-wrap: wrap; justify-content: center; gap: .1em .3em;
  font-family: var(--display); font-weight: 900; font-size: 10.5cqw; line-height: 1.1; text-align: center; text-transform: uppercase;
  color: #fff; text-shadow: 0 .06em 0 rgba(0, 0, 0, .55), 0 0 .5em rgba(0, 0, 0, .35);
}
html[dir="rtl"] .reel-caption { direction: rtl; }
.reel-caption span { display: inline-block; transition: transform .25s var(--ease), color .2s; }
.reel-caption span.on { color: var(--accent); transform: scale(1.14) rotate(-3deg); }
.reel-progress { position: absolute; z-index: 2; inset-inline: 7cqw; bottom: 7cqw; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.reel-progress i { display: block; height: 100%; width: 0; background: #fff; border-radius: inherit; animation: progress 6s linear infinite; }
@keyframes progress { to { width: 100%; } }
.reel-play {
  position: absolute; z-index: 3; inset: 0; margin: auto; width: 22cqw; height: 22cqw; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent); color: var(--on-accent); font-size: 8cqw;
  opacity: 0; transform: scale(.6); transition: opacity .3s, transform .4s var(--ease);
}
.reel-card:hover .reel-play, .reel-card:focus-visible .reel-play { opacity: 1; transform: scale(1); }

/* ============ THUMBNAILS ============ */
.thumb-visual {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; container-type: inline-size; direction: ltr;
  background: radial-gradient(90% 120% at 78% 40%, var(--t2), var(--t1) 72%);
  border-radius: 16px;
}
.thumb-visual img { width: 100%; height: 100%; object-fit: cover; }
.thumb-visual::after { /* vignette */
  content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 18cqw rgba(0, 0, 0, .55); pointer-events: none;
}
.thumb-person {
  position: absolute; right: 4cqw; bottom: 0; width: 34cqw; height: 46cqw;
  background:
    radial-gradient(circle at 50% 34%, #0c0c10 0 8cqw, transparent calc(8cqw + 1px)),
    radial-gradient(ellipse 16cqw 14cqw at 50% 100%, #0c0c10 0 98%, transparent 100%);
  filter: drop-shadow(0 0 .9cqw #fff) drop-shadow(0 0 2.6cqw var(--ta));
}
.thumb-text {
  position: absolute; left: 6cqw; top: 50%; transform: translateY(-50%) rotate(-3deg); width: 54cqw; z-index: 2;
  font-family: var(--display); font-weight: 900; font-size: 9.2cqw; line-height: 1.02; text-transform: uppercase;
  color: #fff; -webkit-text-stroke: .5cqw #000; paint-order: stroke fill;
  text-shadow: .7cqw .7cqw 0 #000;
}
html[lang="ar"] .thumb-text { line-height: 1.25; font-size: 8.6cqw; direction: rtl; text-align: right; }
.thumb-text .ac { color: var(--ta); }
.thumb-arrow { position: absolute; z-index: 2; left: 40cqw; bottom: 7cqw; width: 18cqw; color: var(--ta); filter: drop-shadow(.5cqw .5cqw 0 #000); }
.thumb-time {
  position: absolute; z-index: 3; right: 2.4cqw; bottom: 2.4cqw; background: rgba(0, 0, 0, .82);
  font-size: max(9px, 2.6cqw); font-weight: 600; padding: .1em .5em; border-radius: 4px; font-family: var(--body);
}
/* "before" version: flat, low-contrast, no idea */
.thumb-visual.is-before { background: linear-gradient(#5a5a62, #45454c); filter: saturate(.25); }
.thumb-visual.is-before .thumb-person { filter: none; background:
    radial-gradient(circle at 50% 34%, #6d6d74 0 8cqw, transparent calc(8cqw + 1px)),
    radial-gradient(ellipse 16cqw 14cqw at 50% 100%, #6d6d74 0 98%, transparent 100%); }
.thumb-visual.is-before .thumb-text { -webkit-text-stroke: 0; text-shadow: none; font-weight: 400; font-size: 4.2cqw; color: #d0d0d4; transform: translateY(-50%); text-transform: none; }
.thumb-visual.is-before .thumb-text .ac { color: inherit; }
.thumb-visual.is-before .thumb-arrow { display: none; }

.ba {
  position: relative; max-width: 980px; margin: 0 auto; border-radius: 20px; overflow: hidden; direction: ltr;
  aspect-ratio: 16 / 9; --pos: 60%; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9), 0 0 0 1px var(--line);
}
.ba-layer { position: absolute; inset: 0; }
.ba-layer .thumb-visual { height: 100%; border-radius: 0; }
.ba-after { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--accent); z-index: 4; pointer-events: none;
}
.ba-handle span {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-weight: 900; font-size: 1.1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .5);
}
.ba-label {
  position: absolute; top: 16px; z-index: 5; padding: .3em .9em; border-radius: 999px; font-family: var(--display); font-weight: 700; font-size: .8rem;
  background: rgba(0, 0, 0, .6); backdrop-filter: blur(6px); pointer-events: none;
}
.ba-label-before { right: 16px; }
.ba-label-after { left: 16px; background: var(--accent); color: var(--on-accent); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 6; margin: 0; }
.ba-hint { text-align: center; color: var(--muted); font-size: .9rem; margin: 16px 0 64px; }

.filters-sub { margin-top: -20px; }
.filters-sub .filter { font-size: .82rem; padding: .45em 1.05em; }
.filters-sub .filter.active { background: var(--accent-2); border-color: var(--accent-2); }
.section-head .private-note {
  display: inline-flex; gap: 8px; align-items: baseline; margin-top: 14px; padding: .55em 1em; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-size: .9rem;
}
.gallery-note { color: var(--muted); font-size: .85rem; margin: 0 0 22px; }
.thumb-img { position: relative; }
.thumb-views {
  position: absolute; bottom: 8px; inset-inline-end: 8px; padding: .2em .65em; border-radius: 6px;
  background: rgba(0, 0, 0, .78); color: #fff; font-family: var(--display); font-weight: 700; font-size: .72rem; direction: ltr;
}
.thumb-meta-col { flex-direction: column; align-items: stretch; gap: 2px; }
.thumb-meta-col strong { font-size: .95rem; line-height: 1.45; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.thumb-meta-col span { white-space: normal; }
.sort-toggle { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 24px; }
.sort-toggle button { padding: .4em 1.1em; border-radius: 999px; font-size: .85rem; color: var(--muted); transition: background .25s, color .25s; }
.sort-toggle button.active { background: var(--text); color: var(--ink); }
.yt-links { display: flex; flex-wrap: wrap; gap: 10px; margin: -14px 0 16px; }
.yt-links:empty { display: none; }
.yt-link {
  display: inline-flex; align-items: center; gap: 10px; padding: .55em 1.1em .55em .7em; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: .92rem;
  transition: border-color .25s, transform .3s var(--ease);
}
.yt-link:hover { border-color: var(--accent); transform: translateY(-2px); }
.yt-ico { width: 28px; height: 20px; border-radius: 6px; background: #FF0033; color: #fff; display: grid; place-items: center; font-size: .6rem; flex: none; }
.yt-subs { color: var(--muted); font-weight: 500; font-size: .82rem; }
.yt-subs bdi { color: var(--text); font-family: var(--display); font-weight: 700; font-size: .78rem; }
.thumb-card { display: block; width: 100%; text-align: start; }
.thumb-img {
  aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: var(--surface);
  transition: transform .5s var(--ease), box-shadow .5s;
}
.thumb-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.thumb-card:hover .thumb-img, .thumb-card:focus-visible .thumb-img { transform: translateY(-6px); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .9), 0 0 0 2px var(--accent); }
.thumb-card:hover .thumb-img img { transform: scale(1.04); }
.thumb-card:focus-visible { outline: none; }
.thumb-meta strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.thumb-meta span { color: var(--muted); font-size: .82rem; white-space: nowrap; flex: none; }
.modal.is-wide .modal-body { width: min(1120px, 100%); }
.lightbox { position: relative; border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 50px 100px -30px #000; }
.lightbox img { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; max-height: 78svh; }
.lb-nav {
  position: absolute; top: 50%; translate: 0 -50%; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(7, 8, 14, .65); backdrop-filter: blur(6px); color: #fff; font-size: 1.8rem; line-height: 1;
  display: grid; place-items: center; transition: background .25s;
}
.lb-nav:hover { background: var(--accent); }
.lb-prev { inset-inline-start: 14px; }
.lb-next { inset-inline-end: 14px; }
html[dir="rtl"] .lb-nav { transform: scaleX(-1); }
.thumb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.thumb-card .thumb-visual { transition: transform .5s var(--ease), box-shadow .5s; }
.thumb-card:hover .thumb-visual { transform: translateY(-6px) scale(1.015); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .9), 0 0 0 2px var(--accent); }
.thumb-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 4px 0; }
.thumb-meta strong { font-weight: 600; }
.ctr {
  font-family: var(--display); font-weight: 700; font-size: .78rem; direction: ltr;
  background: rgba(255, 58, 47, .12); color: var(--accent); padding: .35em .8em; border-radius: 999px; white-space: nowrap;
}

/* ============ SERVICES ============ */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service {
  position: relative; padding: 34px 30px; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .45s var(--ease), border-color .3s;
}
.service:hover { transform: translateY(-6px); border-color: rgba(255, 255, 255, .22); }
.service.featured { background: var(--grad); color: var(--on-accent); border-color: transparent; }
.service-icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 26px;
  background: rgba(255, 255, 255, .06); color: var(--accent);
}
.service.featured .service-icon { background: var(--ink); }
.service-icon svg { width: 26px; height: 26px; }
.service h3 { font-family: var(--display); font-weight: 800; font-size: 1.35rem; line-height: 1.3; margin-bottom: 10px; }
.service p { color: var(--muted); margin-bottom: 24px; }
.service.featured p { color: rgba(255, 255, 255, .82); }
.service.featured .service-icon { color: #fff; background: rgba(7, 8, 14, .35); }
.service.featured .badge { background: #fff; color: var(--ink); }
.service ul { display: grid; gap: 10px; margin-bottom: 30px; flex: 1; }
.service li { display: flex; gap: 10px; align-items: flex-start; font-size: .96rem; }
.service li::before { content: "✓"; flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 58, 47, .14); color: var(--accent); font-size: .72rem; font-weight: 800; margin-top: 2px; }
.service.featured li::before { background: #fff; color: var(--accent); }
.service .btn { align-self: flex-start; }
.service:not(.featured) .btn { border: 1.5px solid var(--line); }
.service:not(.featured) .btn:hover { border-color: var(--accent); color: var(--accent); }
.service.featured .btn { background: #fff; color: var(--ink); }
.badge {
  position: absolute; top: 22px; inset-inline-end: 22px; background: var(--accent-2); color: #fff;
  font-family: var(--display); font-weight: 700; font-size: .74rem; padding: .35em .9em; border-radius: 999px; transform: rotate(4deg);
}

.process { margin-top: clamp(80px, 10vw, 130px); }
.process-title { font-size: clamp(1.9rem, 4.2vw, 3.3rem); margin-bottom: 40px; }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { border-top: 2px solid var(--line); padding-top: 22px; position: relative; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-family: var(--display); font-weight: 900; font-size: 2.6rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--accent); margin-bottom: 18px;
}
.step::after { content: ""; position: absolute; top: -2px; inset-inline-start: 0; width: 0; height: 2px; background: var(--accent); transition: width 1.1s var(--ease); }
.step.in::after { width: 100%; }
.step h4 { font-family: var(--display); font-weight: 800; font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .95rem; }

/* ============ EXPERIENCE ============ */
.exp-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 60px; align-items: start; }
.timeline { position: relative; display: grid; gap: 14px; }
.tl-item {
  display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 28px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, transform .45s var(--ease);
}
.tl-item:hover { border-color: rgba(255, 58, 47, .45); transform: translateX(6px); }
html[dir="rtl"] .tl-item:hover { transform: translateX(-6px); }
.tl-period { font-family: var(--display); font-weight: 700; color: var(--accent); font-size: .9rem; }
.tl-item h4 { font-family: var(--display); font-weight: 800; font-size: 1.2rem; line-height: 1.35; }
.tl-org { color: var(--text); opacity: .7; font-size: .9rem; margin-bottom: 6px; display: block; }
.tl-item p { color: var(--muted); font-size: .96rem; }

.exp-side { position: sticky; top: 110px; display: grid; gap: 16px; }
.tools { padding: 32px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.learn-intro { color: var(--muted); font-size: .92rem; margin: -12px 0 18px; }
.course-list { display: grid; gap: 10px; }
.course { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.course-ico { flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: rgba(47, 140, 255, .14); color: var(--accent-2); }
.course-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.course-main strong { font-weight: 600; font-size: .96rem; }
.course-main span { color: var(--muted); font-size: .82rem; }
.course-year { flex: none; font-family: var(--display); font-weight: 700; font-size: .82rem; color: var(--accent); }
.tools h3 { font-family: var(--display); font-weight: 800; font-size: 1.2rem; margin-bottom: 24px; }
.tool-group + .tool-group { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.tool-group h4 { color: var(--muted); font-weight: 500; font-size: .88rem; margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: .5em 1.1em; border-radius: 999px; background: rgba(255, 58, 47, .1); color: var(--accent);
  font-family: var(--display); font-weight: 700; font-size: .78rem; direction: ltr;
}
.tools ul { display: grid; gap: 18px; }
.tool-row { display: flex; justify-content: space-between; font-weight: 500; margin-bottom: 8px; font-size: .95rem; }
.tool-row span:last-child { color: var(--muted); font-family: var(--display); font-size: .78rem; }
.bar { height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--accent-2), var(--accent)); transition: width 1.4s var(--ease); }
html[dir="rtl"] .bar i { background: linear-gradient(-90deg, var(--accent-2), var(--accent)); }

/* ============ TESTIMONIALS ============ */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote {
  padding: 32px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 26px; position: relative; overflow: hidden;
}
.quote::before { content: "”"; position: absolute; top: -30px; inset-inline-end: 18px; font-family: var(--display); font-weight: 900; font-size: 9rem; color: var(--accent); opacity: .12; line-height: 1; }
html[dir="rtl"] .quote::before { content: "“"; }
.quote blockquote { font-size: 1.08rem; line-height: 1.7; flex: 1; }
.quote figcaption { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none;
  font-family: var(--display); font-weight: 800; font-size: .95rem; color: var(--on-accent);
}
.quote figcaption strong { display: block; font-weight: 600; }
.quote figcaption span { color: var(--muted); font-size: .85rem; }

/* ============ CONTACT ============ */
.contact { background: var(--grad); color: var(--on-accent); padding-block: clamp(100px, 13vw, 170px); position: relative; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .14);
  top: -200px; inset-inline-end: -160px; box-shadow: 0 0 0 70px rgba(255, 255, 255, .04), 0 0 0 140px rgba(255, 255, 255, .03);
}
.contact-inner { text-align: center; position: relative; }
.contact .kicker { color: var(--on-accent); }
.contact .kicker::before { color: rgba(255, 255, 255, .6); }
.contact-title { font-size: clamp(2.3rem, 6.4vw, 5.6rem); max-width: 15em; margin-inline: auto; }
.contact-title em { font-style: normal; background: #fff; color: var(--ink);padding: 0 .15em; border-radius: .12em; display: inline-block; transform: rotate(-1.5deg); }
.contact-sub { font-size: 1.15rem; opacity: .75; margin: 6px auto 38px; max-width: 30em; }
.contact-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 18px; }
.contact-direct { margin-bottom: 30px; font-weight: 600; opacity: .75; direction: ltr; }
.contact-direct a { border-bottom: 1.5px solid currentColor; }
.contact-ctas .btn { font-size: 1rem; padding: 1.05em 1.9em; }
.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.socials a {
  display: inline-block; padding: .5em 1.15em; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .45);
  font-weight: 600; font-size: .92rem; transition: background .25s, color .25s, border-color .25s;
}
.socials a:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ============ FOOTER ============ */
.footer { position: relative; overflow: hidden; padding-top: 30px; }
.footer-giant {
  font-family: var(--display); font-weight: 900; font-size: 19.5vw; line-height: .85; text-align: center;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .13); letter-spacing: -.04em; user-select: none; direction: ltr;
}
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-block: 26px 34px; color: var(--muted); font-size: .9rem; border-top: 1px solid var(--line); }
.footer-inner a:hover { color: var(--accent); }

/* ============ MODAL ============ */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; visibility: hidden; opacity: 0; transition: opacity .35s, visibility .35s; }
.modal.open { visibility: visible; opacity: 1; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(5, 5, 8, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.modal-body { position: relative; width: min(400px, 100%); transform: scale(.94) translateY(20px); transition: transform .45s var(--ease); }
.modal.open .modal-body { transform: none; }
.modal-frame { aspect-ratio: 9 / 16; max-height: 82svh; margin-inline: auto; border-radius: 26px; overflow: hidden; background: #000; box-shadow: 0 50px 100px -30px #000; }
.modal-frame .reel-visual, .modal-frame video, .modal-frame iframe { width: 100%; height: 100%; border: 0; }
.modal-frame video { object-fit: cover; }
.modal-info { text-align: center; padding-top: 16px; }
.modal-info strong { display: block; font-family: var(--display); font-weight: 800; font-size: 1.1rem; }
.modal-info span { color: var(--muted); font-size: .88rem; }
.modal-note { margin-top: 10px; font-size: .8rem; color: var(--accent); opacity: .85; }
.modal-close {
  position: absolute; top: -14px; inset-inline-end: -14px; z-index: 2; width: 42px; height: 42px; border-radius: 50%;
  background: var(--accent); color: var(--on-accent); font-weight: 900; box-shadow: 0 8px 24px rgba(0, 0, 0, .5);
}

/* ============ REVEAL ============ */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1080px) {
  .reel-grid { grid-template-columns: repeat(3, 1fr); }
  .thumb-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid, .quote-grid { grid-template-columns: 1fr 1fr; }
  .service.featured { grid-column: 1 / -1; }
  .process-steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .exp-grid, .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .exp-side { position: static; }
}
@media (max-width: 900px) {
  .nav-links {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: center; gap: 8px;
    background: rgba(10, 10, 12, .97); backdrop-filter: blur(10px);
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  .nav-links.open { opacity: 1; visibility: visible; }
  .nav-links a { font-family: var(--display); font-weight: 800; font-size: 1.8rem; color: var(--text); }
  .nav-links .nav-links-cta { display: inline-block; margin-top: 18px; background: var(--accent); color: var(--on-accent); font-size: 1.1rem; padding: .8em 1.8em; }
  .menu-btn { display: block; }
  .nav-cta { display: none; }

  .hero { padding-top: 110px; }
  .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero-visual { height: 470px; max-width: 460px; width: 100%; margin-inline: auto; }
  .portrait { width: 250px; }
  .phone-back { width: 175px; }
  .thumb-float { width: 200px; }
  .stats { grid-template-columns: 1fr 1fr; margin-top: 40px; }
  .stat:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .logo { font-size: .88rem; white-space: nowrap; gap: 8px; }
  .logo-mark { width: 32px; height: 32px; }
  .reel-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .reel-frame .reel-play { width: 44px; height: 44px; }
  .reel-overlay { inset-inline: 10px; bottom: 10px; }
  .reel-client { font-size: .76rem; gap: 5px; }
  .thumb-grid, .service-grid, .quote-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .tl-item { grid-template-columns: 1fr; gap: 8px; padding: 22px; }
  .service, .quote, .tools { padding: 26px 22px; }
  .stat { padding-inline: 14px; }
  .hero-ctas .btn { flex: 1 1 auto; }
  .ring { width: 90px; height: 90px; left: 30%; }
  .portrait { width: 225px; }
  .thumb-float { width: 175px; right: 0; }
  .hero-visual { height: 420px; }
  .ring-play { width: 42px; height: 42px; }
  .sticker { font-size: .78rem; }
  .ba-handle span { width: 38px; height: 38px; }
  .modal-close { top: 8px; inset-inline-end: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
