/* =====================================================================
   Karaz — Digital & Creative Solutions
   Dark, quiet, precise. One family (Neo Sans), one light source (cherry).
   ===================================================================== */

@font-face { font-family: "Neo Sans"; src: url("../fonts/neosans-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Noto Kufi Arabic"; src: url("../fonts/kufi-400.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Noto Kufi Arabic"; src: url("../fonts/kufi-500.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Noto Kufi Arabic"; src: url("../fonts/kufi-600.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Neo Sans"; src: url("../fonts/neosans-medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  /* palette */
  --ink: #080B14;          /* page */
  --night: #0F1424;        /* raised surfaces */
  --navy: #222A45;         /* brand navy, lines + hovers */
  --bone: #EEE9E1;         /* text */
  --sand: #CDB89A;         /* Najd stone: secondary tone */
  --cherry: #CF2127;       /* action + light */
  --cherry-hi: #E8343A;
  --leaf: #33A162;
  --muted: #9097A8;
  --line: rgba(238, 233, 225, .10);
  --line-strong: rgba(238, 233, 225, .18);

  /* type scale (≈ 1.25) */
  --fs-xs: .8125rem;   /* 13 */
  --fs-sm: .9375rem;   /* 15 */
  --fs-md: 1.0625rem;  /* 17 body */
  --fs-lg: 1.3125rem;  /* 21 */
  --fs-xl: clamp(1.5rem, 1.2rem + 1vw, 1.95rem);
  --fs-h2: clamp(2.1rem, 1.4rem + 2.6vw, 3.6rem);
  --fs-h1: clamp(2.7rem, 1.5rem + 5vw, 6rem);
  --fs-hero: clamp(3.1rem, 1.2rem + 7.6vw, 8.6rem);

  --font: "Neo Sans", "Noto Kufi Arabic", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1360px;
  --gutter: clamp(16px, 4vw, 48px);
  --r-media: 22px;
  --r-panel: 30px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0; background: var(--ink); color: var(--bone);
  font: 400 var(--fs-md)/1.6 var(--font);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
p, h1, h2, h3, h4, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--cherry); color: #fff; }
:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100; background: var(--bone); color: var(--ink); padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; }
.hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; opacity: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 860px; }

/* ---------- type */
.h1, .h2, .h3, .display, .hero__title { font-weight: 500; letter-spacing: -.035em; line-height: .98; text-wrap: balance; }
.h1 { font-size: var(--fs-h1); }
.h1--article { font-size: clamp(2.3rem, 1.4rem + 3.4vw, 4.4rem); line-height: 1.04; }
.h2 { font-size: var(--fs-h2); line-height: 1.02; }
.h3 { font-size: var(--fs-xl); letter-spacing: -.02em; line-height: 1.2; }
.display { font-size: clamp(2.6rem, 1.2rem + 6vw, 7rem); }
.tone { color: var(--sand); }
.lead { font-size: var(--fs-lg); line-height: 1.5; color: rgba(238, 233, 225, .78); max-width: 38ch; text-wrap: pretty; }
.lead--lg { font-size: clamp(1.3rem, 1rem + 1vw, 1.75rem); line-height: 1.45; max-width: 34ch; color: var(--bone); }
.muted { color: var(--muted); }
.label { font-size: var(--fs-sm); color: var(--sand); margin-bottom: 18px; letter-spacing: .01em; }
.label a:hover { color: var(--bone); }

/* ---------- buttons & links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding-inline: 26px; border-radius: 999px; border: 1px solid transparent;
  font-size: var(--fs-md); font-weight: 500; letter-spacing: -.005em; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn .icon { width: 20px; height: 20px; }
.btn:active { transform: scale(.98); }
.btn--sm { height: 42px; padding-inline: 18px; font-size: var(--fs-sm); }
.btn--light { background: var(--bone); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--ghost { background: rgba(238, 233, 225, .06); border-color: var(--line-strong); color: var(--bone); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--ghost:hover { background: rgba(238, 233, 225, .12); border-color: rgba(238, 233, 225, .35); }
.btn--cherry { background: var(--cherry); color: #fff; }
.btn--cherry:hover { background: var(--cherry-hi); }
.btn[disabled] { opacity: .6; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-line { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; padding-block: 6px; border-bottom: 1px solid var(--line-strong); transition: border-color .2s, gap .25s var(--ease); }
.link-line .icon { width: 18px; height: 18px; }
.link-line:hover { border-color: var(--bone); gap: 14px; }
.round-btn { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: transparent; border: 1px solid var(--line-strong); transition: background .2s, border-color .2s; }
.round-btn:hover { background: rgba(238, 233, 225, .08); border-color: var(--bone); }
.round-btn .icon { width: 20px; height: 20px; }
.icon { width: 24px; height: 24px; flex: none; }
.flip, [dir="rtl"] .icon:not(.flip) { transform: scaleX(-1); }
[dir="rtl"] .flip { transform: none; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: var(--fs-sm); padding: 6px 14px; border: 1px solid var(--line-strong); border-radius: 999px; color: rgba(238, 233, 225, .82); }
.chips--lg li { font-size: var(--fs-md); padding: 10px 18px; }

/* ---------- Najdi crenellation (the one ornament) */
.najdi {
  height: 12px; opacity: .55;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='12'%3E%3Cpath d='M0 12 L6 4 L12 12 M12 12 L18 4 L24 12' fill='none' stroke='%23CDB89A' stroke-width='1'/%3E%3C/svg%3E") repeat-x left bottom / 24px 12px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}

/* ---------- header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: transform .45s var(--ease); }
.site-header__bar {
  height: var(--header-h); max-width: calc(var(--wrap) + 24px); margin: 10px auto 0; padding-inline: 20px 12px;
  display: flex; align-items: center; gap: 24px; border-radius: 999px; border: 1px solid transparent;
  transition: background-color .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s;
}
.site-header.is-scrolled .site-header__bar { background: rgba(10, 13, 24, .72); border-color: var(--line); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); }
.site-header.is-hidden { transform: translateY(-110%); }
.brand img { width: 118px; height: auto; }
.nav { margin-inline: auto; }
.nav ul { display: flex; gap: 6px; }
.nav a { display: block; padding: 10px 16px; border-radius: 999px; font-size: var(--fs-sm); color: rgba(238, 233, 225, .78); transition: color .2s, background .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--bone); background: rgba(238, 233, 225, .07); }
.site-header__actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { font-size: var(--fs-sm); padding: 8px 12px; color: var(--sand); }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(238, 233, 225, .04); place-items: center; }
.menu-toggle .icon--close { display: none; }
.menu-toggle[aria-expanded="true"] .icon--open { display: none; }
.menu-toggle[aria-expanded="true"] .icon--close { display: block; }
.mobile-menu { position: fixed; inset: 0; z-index: -1; background: var(--ink); padding: calc(var(--header-h) + 40px) var(--gutter) 32px; display: flex; flex-direction: column; justify-content: space-between; }
.mobile-menu[hidden] { display: none; }
.mobile-menu nav a { display: block; font-size: clamp(2.2rem, 10vw, 3.4rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.25; }
.mobile-menu__foot { display: flex; flex-direction: column; gap: 10px; color: var(--sand); }
body.menu-open { overflow: hidden; }

/* ---------- hero */
.hero { padding: 10px; min-height: 100svh; display: flex; }
.hero__frame { position: relative; flex: 1; border-radius: var(--r-panel); overflow: hidden; isolation: isolate; min-height: calc(100svh - 20px); display: flex; background: var(--night); }
.hero__media { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -3; }
.hero__media img, video.hero__media { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__poster { opacity: .78; transition: opacity .6s var(--ease); }
.hero__poster.is-hidden { opacity: 0; }
.hero__video { opacity: 0; transition: opacity 1.2s var(--ease); }
.hero__video.is-playing { opacity: .78; }
.hero__shade { position: absolute; inset: 0; z-index: -2; background:
  linear-gradient(180deg, rgba(8, 11, 20, .55) 0%, rgba(8, 11, 20, 0) 28%, rgba(8, 11, 20, .25) 55%, rgba(8, 11, 20, .94) 100%),
  linear-gradient(90deg, rgba(8, 11, 20, .55) 0%, rgba(8, 11, 20, 0) 60%); }
.hero__orbs { position: absolute; inset: 0; z-index: -1; pointer-events: none; mix-blend-mode: screen; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0; animation: orb-in 2.4s var(--ease) .3s forwards; }
.orb--cherry { width: min(52vw, 760px); aspect-ratio: 1; background: radial-gradient(circle at 40% 40%, rgba(232, 52, 58, .75), rgba(207, 33, 39, .18) 55%, transparent 70%); inset-inline-end: -12%; bottom: -30%; }
.orb--leaf { width: min(18vw, 260px); aspect-ratio: 1; background: radial-gradient(circle, rgba(51, 161, 98, .55), transparent 68%); inset-inline-end: 22%; bottom: 34%; animation-delay: .7s; }
@keyframes orb-in { to { opacity: 1; } }
.hero__content { margin-top: auto; width: 100%; padding: clamp(24px, 4vw, 56px); padding-top: calc(var(--header-h) + 60px); }
.hero__kicker { color: var(--sand); font-size: var(--fs-md); margin-bottom: clamp(16px, 2vw, 28px); }
.hero__title { font-size: var(--fs-hero); line-height: .92; letter-spacing: -.045em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.hero__title .line + .line > span { animation-delay: .14s; }
@keyframes rise { to { transform: none; } }
.hero__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px; margin-top: clamp(28px, 4vw, 52px); opacity: 0; animation: fade 1s var(--ease) .55s forwards; }
.hero__text { font-size: var(--fs-lg); max-width: 34ch; color: rgba(238, 233, 225, .85); line-height: 1.45; }
@keyframes fade { to { opacity: 1; } }

/* ---------- clients marquee */
.clients { padding-block: clamp(56px, 7vw, 96px) clamp(24px, 3vw, 40px); }
.clients__title { text-align: center; color: var(--muted); font-size: var(--fs-sm); margin-bottom: 32px; padding-inline: var(--gutter); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { flex: none; padding-inline: clamp(22px, 3vw, 44px); display: grid; place-items: center; height: 64px; }
.marquee__item img { height: 40px; width: auto; max-width: 170px; object-fit: contain; opacity: .62; transition: opacity .3s; }
.marquee__item img:hover { opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }
[dir="rtl"] .marquee__track { animation-name: marquee-rtl; }
@keyframes marquee-rtl { to { transform: translateX(50%); } }

/* ---------- sections */
.section { padding-block: clamp(72px, 10vw, 150px); }
.section--tight { padding-block: clamp(32px, 5vw, 72px); }
.section-head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px 48px; align-items: end; margin-bottom: clamp(36px, 5vw, 72px); }
.section-head__side { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; justify-self: end; }
.section-head .h2 { max-width: 16ch; }

/* ---------- work */
.work-bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(16px, 2vw, 28px); }
.work-bento .work-card { grid-column: span 2; }
.work-bento .work-card--xl { grid-column: span 4; grid-row: span 2; }
.work-bento .work-card--xl .work-card__media { aspect-ratio: auto; flex: 1; min-height: 360px; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 2.4vw, 36px) clamp(16px, 2vw, 28px); }
.work-grid--2 { grid-template-columns: repeat(2, 1fr); }
.work-card { display: flex; flex-direction: column; gap: 16px; }
.work-card[hidden] { display: none; }
.work-card__media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-media); overflow: hidden; background: var(--night); }
.work-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .6s; }
.work-card:hover .work-card__media img { transform: scale(1.035); }
.work-card__title { font-size: var(--fs-lg); font-weight: 500; letter-spacing: -.015em; line-height: 1.25; }
.work-card--xl .work-card__title { font-size: var(--fs-xl); }
.work-card__sub { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; font-size: var(--fs-sm); color: var(--muted); }
.work-card__sub span:first-child { color: var(--sand); }
.work-card__client { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(32px, 4vw, 56px); }
.filter { height: 44px; padding-inline: 18px; border-radius: 999px; background: transparent; border: 1px solid var(--line-strong); font-size: var(--fs-sm); color: rgba(238, 233, 225, .8); transition: all .2s; }
.filter span { color: var(--muted); margin-inline-start: 4px; }
.filter:hover { border-color: var(--bone); color: var(--bone); }
.filter.is-active { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.filter.is-active span { color: rgba(8, 11, 20, .55); }

/* ---------- services index (home) */
.svc-index { border-top: 1px solid var(--line); }
.svc-row { border-bottom: 1px solid var(--line); }
.svc-row a { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; padding-block: clamp(28px, 3.4vw, 44px); transition: padding .4s var(--ease); }
.svc-row h3 { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3.3rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.02; transition: color .3s; }
.svc-row__head p { margin-top: 12px; color: var(--muted); max-width: 44ch; }
.svc-row__items { display: flex; flex-wrap: wrap; gap: 8px; }
.svc-row__items li { font-size: var(--fs-sm); padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line); color: rgba(238, 233, 225, .72); }
.svc-row__go { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: background .3s, color .3s, transform .4s var(--ease); }
.svc-row a:hover h3 { color: var(--sand); }
.svc-row a:hover .svc-row__go { background: var(--cherry); border-color: var(--cherry); color: #fff; transform: rotate(45deg); }
[dir="rtl"] .svc-row a:hover .svc-row__go { transform: rotate(-45deg); }

.production-band { margin-top: clamp(28px, 3vw, 44px); display: grid; grid-template-columns: auto 1fr auto; gap: 12px 28px; align-items: center; padding: 22px 28px; border-radius: 999px; background: var(--night); border: 1px solid var(--line); transition: border-color .3s; }
.production-band:hover { border-color: var(--line-strong); }
.production-band__title { font-weight: 500; }
.production-band__text { color: var(--muted); font-size: var(--fs-sm); }
.production-band__go { display: inline-flex; align-items: center; gap: 8px; color: var(--sand); font-size: var(--fs-sm); }
.production-band__go .icon { width: 18px; height: 18px; }

/* ---------- results ledger */
.section--results { background: linear-gradient(180deg, transparent, rgba(15, 20, 36, .7) 30%, rgba(15, 20, 36, .7) 70%, transparent); }
.results { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
.results__intro .lead { margin-top: 24px; }
.results__stats { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); max-width: 40ch; }
.results__stats strong { color: var(--bone); font-weight: 500; }
.ledger { border-top: 1px solid var(--line-strong); }
.ledger__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 20px 32px; align-items: baseline; padding-block: clamp(22px, 2.6vw, 34px); border-bottom: 1px solid var(--line); }
.ledger__value { font-size: clamp(2.6rem, 1.6rem + 3.4vw, 5rem); font-weight: 500; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.ledger__label { font-size: var(--fs-lg); line-height: 1.35; }
.ledger__label span { display: block; margin-top: 6px; font-size: var(--fs-sm); color: var(--sand); }
.ledger--case { margin-block: clamp(48px, 6vw, 88px); display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-top: none; gap: 0 32px; }
.ledger--case .ledger__row { grid-template-columns: 1fr; border-top: 1px solid var(--line-strong); border-bottom: none; gap: 10px; }
.ledger--case .ledger__value { font-size: clamp(2.2rem, 1.6rem + 2vw, 3.6rem); }
.ledger--case .ledger__label { color: var(--muted); font-size: var(--fs-md); }

/* ---------- process (real sequence: numbered) */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; border-top: 1px solid var(--line); }
.process__step { padding: 28px clamp(16px, 2vw, 32px) 8px 0; border-inline-end: 1px solid var(--line); }
.process__step:last-child { border-inline-end: none; }
.process__step + .process__step { padding-inline-start: clamp(16px, 2vw, 32px); }
.process__n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--sand); color: var(--sand); font-size: var(--fs-sm); margin-bottom: 40px; }
.process h3 { font-size: var(--fs-xl); font-weight: 500; letter-spacing: -.02em; margin-bottom: 12px; }
.process p { color: var(--muted); max-width: 30ch; }

/* ---------- testimonials */
.quotes { max-width: 1100px; }
.quotes__stage { min-height: 240px; }
.quote blockquote p { font-size: clamp(1.6rem, 1rem + 2.2vw, 2.9rem); line-height: 1.22; letter-spacing: -.025em; font-weight: 500; text-wrap: pretty; }
.quote blockquote p::before { content: "“"; color: var(--cherry); margin-inline-end: .05em; }
.quote blockquote p::after { content: "”"; color: var(--cherry); }
.quote figcaption { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.quote figcaption span { color: var(--muted); }
.quote:not([hidden]) { animation: fade .6s var(--ease); }
.quotes__nav { display: flex; align-items: center; gap: 16px; margin-top: 40px; }
.quotes__count { color: var(--muted); font-size: var(--fs-sm); min-width: 48px; text-align: center; font-variant-numeric: tabular-nums; }

/* ---------- posts */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3vw, 40px) clamp(16px, 2vw, 28px); }
.post-card { display: flex; flex-direction: column; gap: 12px; }
.post-card__media { aspect-ratio: 16 / 10; border-radius: var(--r-media); overflow: hidden; background: var(--night); margin-bottom: 8px; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.03); }
.post-card__meta { display: flex; gap: 14px; font-size: var(--fs-sm); color: var(--muted); }
.post-card__meta span { color: var(--sand); }
.post-card__title { font-size: var(--fs-lg); font-weight: 500; letter-spacing: -.015em; line-height: 1.3; }
.post-card__excerpt { color: var(--muted); font-size: var(--fs-sm); max-width: 46ch; }

/* ---------- FAQ */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px clamp(40px, 6vw, 100px); }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding-block: 24px; font-size: var(--fs-lg); font-weight: 500; letter-spacing: -.01em; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { transition: transform .35s var(--ease); color: var(--sand); }
.faq__item[open] summary .icon { transform: rotate(45deg); }
.faq__a { padding-bottom: 26px; color: rgba(238, 233, 225, .75); max-width: 62ch; }

/* ---------- CTA */
.cta { padding: clamp(40px, 6vw, 90px) 0 clamp(72px, 9vw, 130px); }
.cta__inner { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-panel); background: var(--night); border: 1px solid var(--line); padding: clamp(40px, 7vw, 110px) clamp(24px, 6vw, 96px); }
.cta__orb { position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; inset-inline-end: -22%; top: -40%; border-radius: 50%; background: radial-gradient(circle, rgba(207, 33, 39, .5), rgba(207, 33, 39, .08) 50%, transparent 68%); filter: blur(40px); }
.cta .display { max-width: 12ch; }
.cta .lead { margin-top: 28px; }
.cta .btn-row { margin-top: 40px; }

/* ---------- page hero */
.page-hero { padding-top: calc(var(--header-h) + clamp(80px, 12vw, 170px)); padding-bottom: clamp(36px, 5vw, 72px); }
.page-hero .h1 { max-width: 15ch; }
.page-hero__text { margin-top: clamp(20px, 2.4vw, 32px); }
.page-hero .chips { margin-top: 28px; }
.page-hero--404 { min-height: 80svh; }
.page-hero--404 .btn-row { margin-top: 40px; }

/* ---------- services pages */
.svc-overview { display: flex; flex-direction: column; gap: clamp(64px, 8vw, 128px); }
.svc-block { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 88px); align-items: center; }
.svc-block:nth-child(even) .svc-block__media { order: 2; }
.svc-block__media { border-radius: var(--r-panel); overflow: hidden; aspect-ratio: 5 / 4; background: var(--night); }
.svc-block__media img { width: 100%; height: 100%; object-fit: cover; }
.svc-block__body .chips { margin-bottom: 24px; }
.svc-block__body .h2 a:hover { color: var(--sand); }
.svc-block__body .lead { margin-top: 18px; }
.tick-list { margin-block: 28px 32px; columns: 2; column-gap: 28px; }
.tick-list li { break-inside: avoid; padding: 9px 0 9px 20px; position: relative; font-size: var(--fs-sm); color: rgba(238, 233, 225, .82); border-bottom: 1px solid var(--line); }
.tick-list li::before { content: ""; position: absolute; inset-inline-start: 0; top: 18px; width: 7px; height: 7px; border-radius: 50%; background: var(--cherry); }
[dir="rtl"] .tick-list li { padding: 9px 20px 9px 0; }

.svc-detail { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: end; margin-bottom: clamp(56px, 7vw, 110px); }
.svc-detail__media { border-radius: var(--r-panel); overflow: hidden; aspect-ratio: 16 / 10; background: var(--night); }
.svc-detail__media img, .svc-detail__media video { width: 100%; height: 100%; object-fit: cover; }
.svc-items { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.svc-item { padding: 30px 28px 34px 0; border-bottom: 1px solid var(--line); }
.svc-item h3 { font-size: var(--fs-lg); font-weight: 500; letter-spacing: -.01em; margin-bottom: 8px; }
.svc-item p { color: var(--muted); font-size: var(--fs-sm); max-width: 36ch; }

.prod-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.prod-col h3, .prod-col .h3 { font-size: var(--fs-lg); font-weight: 500; margin-bottom: 14px; }
.prod-col li { font-size: var(--fs-sm); color: var(--muted); padding-block: 7px; border-bottom: 1px solid var(--line); }
.prod-cols--large { grid-template-columns: repeat(2, 1fr); gap: clamp(40px, 5vw, 72px) clamp(24px, 4vw, 56px); }
.prod-cols--large .prod-col .h3 { font-size: var(--fs-xl); margin-top: 24px; }
.prod-cols--large .muted { margin-bottom: 16px; }
.prod-col__media { border-radius: var(--r-media); overflow: hidden; aspect-ratio: 16 / 10; background: var(--night); }
.prod-col__media img { width: 100%; height: 100%; object-fit: cover; }
.section--production { border-top: 1px solid var(--line); }

.films { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.film { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--night); }
.film img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .4s; opacity: .85; }
.film:hover img { transform: scale(1.04); opacity: 1; }
.film__play { position: absolute; inset-inline-start: 14px; bottom: 14px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(8, 11, 20, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--line-strong); }
.film__play .icon { width: 18px; height: 18px; }
.film__title { position: absolute; inset-inline: 70px 14px; bottom: 24px; font-size: var(--fs-sm); }

/* ---------- case study */
.case-hero { padding-top: calc(var(--header-h) + clamp(70px, 10vw, 140px)); padding-bottom: clamp(32px, 4vw, 56px); }
.case-hero .h1 { max-width: 18ch; }
.case-cover { border-radius: var(--r-panel); overflow: hidden; background: var(--night); }
.case-cover img { width: 100%; max-height: 86vh; object-fit: cover; }
.case-body { display: grid; grid-template-columns: minmax(220px, 1fr) 2fr; gap: clamp(32px, 6vw, 110px); margin-top: clamp(48px, 6vw, 96px); }
.case-facts dl > div { padding-block: 16px; border-top: 1px solid var(--line); }
.case-facts dt { font-size: var(--fs-sm); color: var(--sand); margin-bottom: 4px; }
.case-facts dd { color: rgba(238, 233, 225, .86); }
.case-links { margin-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.case-links a { display: inline-flex; gap: 8px; align-items: center; font-size: var(--fs-sm); color: var(--muted); transition: color .2s; }
.case-links a:hover { color: var(--bone); }
.case-links .icon { width: 16px; height: 16px; }
.case-credit { margin-top: 20px; font-size: var(--fs-sm); color: var(--muted); }
.case-video { margin-block: 40px; }
.case-video video { width: 100%; border-radius: var(--r-panel); }
.case-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(12px, 1.6vw, 24px); margin-top: clamp(48px, 6vw, 88px); }
.case-gallery figure { border-radius: var(--r-media); overflow: hidden; background: var(--night); }
.case-gallery figure:only-child, .case-gallery figure:nth-child(3n + 1):last-child { grid-column: 1 / -1; }
.case-gallery img { width: 100%; height: 100%; object-fit: cover; }
.next-case { border-top: 1px solid var(--line); }
.next-case__link { display: flex; flex-direction: column; gap: 10px; }
.next-case__title { display: inline-flex; align-items: center; gap: 20px; font-size: var(--fs-h2); font-weight: 500; letter-spacing: -.035em; line-height: 1.05; transition: color .3s; }
.next-case__title .icon { width: clamp(28px, 4vw, 56px); height: clamp(28px, 4vw, 56px); transition: transform .4s var(--ease); }
.next-case__link:hover .next-case__title { color: var(--sand); }
.next-case__link:hover .icon { transform: translateX(10px); }

/* ---------- prose */
.prose { font-size: var(--fs-md); line-height: 1.75; color: rgba(238, 233, 225, .84); max-width: 68ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: var(--fs-xl); font-weight: 500; letter-spacing: -.02em; line-height: 1.2; color: var(--bone); margin-top: 2em; }
.prose h3 { font-size: var(--fs-lg); font-weight: 500; color: var(--bone); margin-top: 1.6em; }
.prose strong { color: var(--bone); font-weight: 500; }
.prose a { color: var(--bone); text-decoration: underline; text-decoration-color: var(--cherry); text-underline-offset: 4px; }
.prose ul, .prose ol { padding-inline-start: 1.2em; }
.prose ul { list-style: none; padding-inline-start: 0; }
.prose ul li { position: relative; padding-inline-start: 22px; }
.prose ul li::before { content: ""; position: absolute; inset-inline-start: 0; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--cherry); }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .45em; }
.prose blockquote { border-inline-start: 2px solid var(--cherry); padding-inline-start: 20px; color: var(--bone); font-size: var(--fs-lg); }
.prose--lead { font-size: var(--fs-lg); line-height: 1.6; }
.prose--article { font-size: 1.125rem; }
.article__meta { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 28px; color: var(--muted); font-size: var(--fs-sm); }
.article__cover { border-radius: var(--r-panel); overflow: hidden; margin-bottom: clamp(40px, 5vw, 72px); }
.article__cover img { width: 100%; max-height: 70vh; object-fit: cover; }

/* ---------- about */
.about-image { border-radius: var(--r-panel); overflow: hidden; aspect-ratio: 21 / 9; }
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.split { display: grid; grid-template-columns: 1fr 1.3fr; gap: 32px clamp(40px, 7vw, 120px); align-items: start; }
.split .chips { align-self: center; }
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.vm__item { padding: 36px clamp(16px, 3vw, 48px) 8px 0; }
.vm__item + .vm__item { border-inline-start: 1px solid var(--line); padding-inline-start: clamp(16px, 3vw, 48px); }
.vm__item .h3 { line-height: 1.35; letter-spacing: -.015em; font-weight: 400; }
.values { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.values li { padding: 28px 20px 8px 0; }
.values li + li { border-inline-start: 1px solid var(--line); padding-inline-start: 20px; }
.values h3 { font-size: var(--fs-lg); font-weight: 500; margin-bottom: 10px; }
.values p { color: var(--muted); font-size: var(--fs-sm); }
.offices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.office-card { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; padding: 32px; border-radius: var(--r-media); background: var(--night); border: 1px solid var(--line); }
.office-card__label { color: var(--sand); font-size: var(--fs-sm); }
.office-card .link-line { margin-top: auto; }
.logo-wall { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.logo-wall li { display: grid; place-items: center; height: 120px; padding: 20px; border-bottom: 1px solid var(--line); border-inline-end: 1px solid var(--line); }
.logo-wall img { max-height: 46px; max-width: 80%; width: auto; object-fit: contain; opacity: .7; transition: opacity .3s; }
.logo-wall li:hover img { opacity: 1; }

/* ---------- contact */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.contact__intro .lead { margin-top: 24px; }
.contact__direct { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 40px; }
.contact__big { font-size: var(--fs-xl); font-weight: 500; letter-spacing: -.02em; border-bottom: 1px solid var(--line-strong); transition: border-color .2s; }
.contact__big:hover { border-color: var(--bone); }
.contact__direct .btn { margin-top: 14px; }
.contact__offices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); font-size: var(--fs-sm); }
.contact-form { display: flex; flex-direction: column; gap: 22px; padding: clamp(24px, 3.4vw, 48px); border-radius: var(--r-panel); background: var(--night); border: 1px solid var(--line); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field legend { font-size: var(--fs-sm); color: rgba(238, 233, 225, .72); padding: 0; margin-bottom: 8px; }
.field > span { margin-bottom: 0; }
.field input, .field textarea, .newsletter input {
  width: 100%; font: inherit; color: var(--bone); background: rgba(8, 11, 20, .6); border: 1px solid var(--line-strong);
  border-radius: 14px; padding: 14px 16px; transition: border-color .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus, .newsletter input:focus { outline: none; border-color: var(--sand); background: var(--ink); }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--cherry-hi); }
.pick { display: flex; flex-wrap: wrap; gap: 8px; }
.pick__opt { position: relative; }
.pick__opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pick__opt span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: var(--fs-sm); color: rgba(238, 233, 225, .82); transition: all .2s; }
.pick__opt input:checked + span { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.pick__opt input:focus-visible + span { outline: 2px solid var(--sand); outline-offset: 2px; }
.pick__opt:hover span { border-color: var(--bone); }
.contact-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form-status { font-size: var(--fs-sm); color: var(--sand); }
.form-status.is-ok { color: #8fd3a8; }
.form-status.is-error { color: #ff8a8a; }

/* ---------- footer */
.site-footer { padding-top: clamp(40px, 5vw, 64px); overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.6fr; gap: 40px; padding-block: clamp(40px, 5vw, 72px) 24px; }
.footer-brand img { width: 140px; margin-bottom: 20px; }
.footer-brand > p { color: var(--muted); max-width: 30ch; }
.newsletter { margin-top: 32px; max-width: 380px; }
.newsletter label { display: block; font-size: var(--fs-sm); margin-bottom: 10px; }
.newsletter__row { display: flex; gap: 8px; }
.newsletter input { border-radius: 999px; padding: 10px 18px; height: 42px; }
.newsletter .form-status { margin-top: 8px; }
.footer-col__title { color: var(--sand); font-size: var(--fs-sm); margin-bottom: 14px; }
.footer-col li + li { margin-top: 8px; }
.footer-col a { color: rgba(238, 233, 225, .8); transition: color .2s; }
.footer-col a:hover { color: var(--bone); }
.footer-col--offices { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 20px; font-size: var(--fs-sm); color: var(--muted); }
.footer-col--offices .office { display: flex; flex-direction: column; gap: 4px; }
.footer-col--offices .office .footer-col__title { margin-bottom: 4px; }
.footer-email { grid-column: 1 / -1; font-size: var(--fs-lg); color: var(--bone) !important; }
.footer-mark {
  font-family: "Noto Kufi Arabic", "Geeza Pro", "Segoe UI", sans-serif; font-weight: 600;
  font-size: clamp(8rem, 30vw, 26rem); line-height: 1.1; text-align: center; letter-spacing: 0;
  color: transparent;
  background: linear-gradient(180deg, rgba(205, 184, 154, .16), rgba(205, 184, 154, .02) 85%); -webkit-background-clip: text; background-clip: text;
  margin-block: clamp(0px, 2vw, 24px) 0; padding-bottom: .05em; user-select: none; pointer-events: none;
}
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; justify-content: space-between; padding-block: 24px 32px; border-top: 1px solid var(--line); font-size: var(--fs-sm); color: var(--muted); position: relative; background: var(--ink); }
.footer-bottom a:hover { color: var(--bone); }
.socials { display: flex; flex-wrap: wrap; gap: 18px; }
.clock time { color: var(--bone); font-variant-numeric: tabular-nums; }

.wa-float { opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .35s, visibility .35s, transform .35s var(--ease); }
.wa-float.is-visible { opacity: 1; visibility: visible; transform: none; }
.wa-float { position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--leaf); color: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); transition: transform .3s var(--ease); }
.wa-float.is-visible:hover { transform: scale(1.06); }
.wa-float .icon { width: 28px; height: 28px; }

.bare { min-height: 100svh; display: grid; place-items: center; }
.maint { text-align: center; padding: 24px; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.maint .lead { margin-inline: auto; }

/* ---------- RTL type */
[dir="rtl"] body, [dir="rtl"] { --font: "Noto Kufi Arabic", "Neo Sans", system-ui, sans-serif; }
[dir="rtl"] .h1, [dir="rtl"] .h2, [dir="rtl"] .h3, [dir="rtl"] .display, [dir="rtl"] .hero__title, [dir="rtl"] .svc-row h3, [dir="rtl"] .ledger__value { letter-spacing: 0; line-height: 1.25; }

/* ---------- responsive */
@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-toggle { display: grid; }
  .site-header__actions { margin-inline-start: auto; }
  .work-grid, .post-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-row a { grid-template-columns: 1fr auto; }
  .svc-row__items { grid-column: 1 / -1; grid-row: 2; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process__step:nth-child(2) { border-inline-end: none; }
  .process__step:nth-child(3) { padding-inline-start: 0; }
  .values { grid-template-columns: repeat(3, 1fr); }
  .values li:nth-child(4) { border-inline-start: none; padding-inline-start: 0; }
  .logo-wall { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .prod-cols { grid-template-columns: repeat(2, 1fr); }
  .films { grid-template-columns: repeat(3, 1fr); }
  .svc-items { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .site-header__bar { margin: 8px 8px 0; padding-inline: 16px 8px; }
  .site-header__actions .btn { display: none; }
  .brand img { width: 104px; }
  .section-head, .results, .faq, .split, .contact, .svc-block, .svc-detail, .case-body { grid-template-columns: 1fr; }
  .section-head__side { justify-self: start; }
  .svc-block:nth-child(even) .svc-block__media { order: 0; }
  .work-bento { grid-template-columns: 1fr 1fr; }
  .work-bento .work-card { grid-column: span 1; }
  .work-bento .work-card--xl { grid-column: 1 / -1; grid-row: auto; }
  .work-bento .work-card--xl .work-card__media { aspect-ratio: 4 / 3; min-height: 0; }
  .vm { grid-template-columns: 1fr; }
  .vm__item + .vm__item { border-inline-start: none; padding-inline-start: 0; border-top: 1px solid var(--line); margin-top: 28px; }
  .offices { grid-template-columns: 1fr; }
  .production-band { grid-template-columns: 1fr; border-radius: var(--r-media); }
  .about-image { aspect-ratio: 4 / 3; }
  .case-gallery { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero { padding: 8px; }
  .hero__frame { min-height: calc(100svh - 16px); border-radius: 24px; }
  .hero__foot .btn-row { width: 100%; }
  .hero__foot .btn { flex: 1; padding-inline: 16px; }
  .work-grid, .work-grid--2, .post-grid, .work-bento { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .process__step { border-inline-end: none !important; padding-inline: 0 !important; border-bottom: 1px solid var(--line); padding-bottom: 28px; }
  .process__n { margin-bottom: 20px; }
  .values { grid-template-columns: 1fr; }
  .values li, .values li + li { border-inline-start: none; padding-inline-start: 0; border-bottom: 1px solid var(--line); padding-bottom: 24px; }
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-col--offices { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .tick-list { columns: 1; }
  .svc-items { grid-template-columns: 1fr; }
  .prod-cols, .prod-cols--large { grid-template-columns: 1fr; }
  .films { grid-template-columns: repeat(2, 1fr); }
  .contact__offices { grid-template-columns: 1fr; }
  .ledger__row { grid-template-columns: 1fr; gap: 8px; }
  .newsletter__row { flex-direction: column; }
  .newsletter__row .btn { width: 100%; }
  .svc-row__go { width: 46px; height: 46px; }
  .wa-float { width: 50px; height: 50px; inset-inline-end: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee__item[aria-hidden] { display: none; }
}
