/* Faisal Abdulkarim — Official Website · "editorial" design
   Same palette and sections as the classic template, laid out like a magazine: full-width hairlines, numbered
   sections, a two-line serif name, list rows instead of cards, underline form fields. Mobile-first; breakpoints 768 / 1024. */

:root {
  --bg: #0B0B0C;
  --bg-alt: #101012;
  --surface: #141416;
  --text: #E3DFCE;
  --text-soft: #BCB9AB;
  --muted: #918E84;
  --faint: #68665F;
  --line: rgba(227, 223, 206, .1);
  --line-strong: rgba(227, 223, 206, .35);
  --gold: #4C050C;
  --gold-hi: #7A0F1A;
  --gold-soft: rgba(76, 5, 12, .6);
  --gold-text: #94B1C8;
  --gold-text-hi: #B3CADD;
  --on-accent: #E3DFCE;

  --font-display: "Playfair Display", "Times New Roman", Georgia, serif;
  --font-body: "DM Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-ar: Tajawal, "Noto Naskh Arabic", "Segoe UI", Tahoma, sans-serif;

  --container: 1360px;
  --gutter: 20px;
  --header-h: 72px;
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 768px) { :root { --gutter: 36px; } }
@media (min-width: 1024px) { :root { --gutter: 72px; --header-h: 88px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold-text-hi); }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
strong { color: var(--text); font-weight: 600; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; inset-inline-start: 16px; top: -100px; z-index: 100; background: var(--gold); color: var(--on-accent); padding: 10px 16px; border-radius: 2px; font-weight: 600; }
.skip-link:focus { top: 16px; color: var(--on-accent); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
@media (min-width: 768px) { .section { padding: 96px 0; } }
@media (min-width: 1024px) { .section { padding: 128px 0; } }

/* ---------- Type ---------- */
.section-title, .hero-title, .brand-name, .pull, .phone-number, .featured-title-en, .popular-track-title, .video-title, .social strong, .nav-list a { font-family: var(--font-display); }
.ar { font-family: var(--font-ar); direction: rtl; unicode-bidi: isolate; font-weight: 700; }
.kicker { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.kicker.accent { color: var(--gold-text); }
.sec-num { font-family: var(--font-display); font-style: italic; font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--gold-text); margin-inline-end: 12px; }
.section-title { font-size: clamp(40px, 5.6vw, 84px); line-height: 1.02; font-weight: 400; letter-spacing: -.01em; text-wrap: balance; }
.section-title em { font-style: italic; font-weight: 400; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.sec-head .kicker { display: inline-flex; align-items: baseline; }
.sec-title-row { display: flex; flex-direction: column; gap: 24px; margin-bottom: 44px; }
.sec-note { color: var(--muted); max-width: 380px; font-size: 15px; }
.rule { width: 100%; height: 1px; background: var(--line); transform-origin: left; }
html[dir="rtl"] .rule { transform-origin: right; }
@media (min-width: 768px) {
  .sec-title-row { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 56px; }
}

/* ---------- Links & buttons ---------- */
.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--text); border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; transition: color .12s ease-out, border-color .12s ease-out; }
.link-arrow svg { flex-shrink: 0; transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--gold-text-hi); border-color: var(--gold-text-hi); }
.link-arrow:hover svg { transform: translate(2px, -2px); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 0 32px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; transition: background .12s ease-out, border-color .12s ease-out, color .12s ease-out, transform .12s ease-out; }
.btn:active { transform: scale(.97); transition-duration: .08s; }
.btn-primary { background: var(--gold); color: var(--on-accent); border: 1px solid var(--gold); }
.btn-primary:hover { background: var(--gold-hi); border-color: var(--gold-text-hi); color: var(--bg); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--gold-text-hi); color: var(--text); background: rgba(76, 5, 12, .08); }
.icon-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--text); transition: color .12s ease-out, transform .12s ease-out; }
.icon-btn:hover { color: var(--gold-text-hi); }
.icon-btn-accent { color: var(--gold-text); }
.icon-btn:active { transform: scale(.96); }

/* ---------- Header ---------- */
/* theme.brandName: false — the header shows the mark alone, a little larger */
.brand-only .brand-mark { width: 42px; }
@media (min-width: 1024px) { .brand-only .brand-mark { width: 54px; } }
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: linear-gradient(180deg, rgba(11, 11, 12, .75), rgba(11, 11, 12, 0)); transition: background .4s ease, backdrop-filter .4s ease; }
.site-header.is-scrolled { background: rgba(11, 11, 12, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand:hover { color: var(--text); }
.brand-mark { width: 32px; height: auto; }
.brand-name { font-size: 21px; font-weight: 400; letter-spacing: .01em; white-space: nowrap; }
@media (min-width: 1024px) { .brand-mark { width: 40px; } .brand-name { font-size: 24px; } }

.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: none; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--text); cursor: pointer; transition: transform .12s ease-out, border-color .12s ease-out; }
.nav-toggle:active { transform: scale(.94); }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.site-nav { position: fixed; inset: var(--header-h) 0 0 0; z-index: 40; background: var(--bg); padding: 24px var(--gutter) 40px; transform: translateY(-6px); opacity: 0; visibility: hidden; transition: opacity .16s ease-out, transform .18s ease-out, visibility 0s linear .18s; overflow-y: auto; }
.site-nav.is-open { opacity: 1; transform: none; visibility: visible; transition: opacity .16s ease-out, transform .18s ease-out, visibility 0s; }
.nav-list { display: flex; flex-direction: column; counter-reset: nav; }
.nav-list li { counter-increment: nav; border-bottom: 1px solid var(--line); }
.nav-list a { display: flex; align-items: baseline; gap: 18px; min-height: 64px; padding: 14px 0; font-size: 34px; line-height: 1.1; font-weight: 400; }
.nav-list a::before { content: counter(nav, decimal-leading-zero); font-family: var(--font-body); font-size: 12px; letter-spacing: .2em; color: var(--gold-text); }
.nav-list a.is-active { color: var(--gold-text-hi); }
.nav-list .nav-lang { font-family: var(--font-ar); font-size: 15px; letter-spacing: 0; color: var(--muted); } /* the other language's name in its own script (Tajawal for Arabic) */
.nav-list .nav-lang::before { content: none; }
body.nav-open { overflow: hidden; }
body.nav-open .site-header { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 1px solid var(--line); transition: none; }

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .site-nav { position: static; inset: auto; background: none; padding: 0; transform: none; opacity: 1; visibility: visible; transition: none; overflow: visible; }
  .nav-list { flex-direction: row; align-items: center; gap: 34px; counter-reset: none; }
  .nav-list li { border: 0; }
  .nav-list a { min-height: 0; padding: 0; gap: 0; font-family: var(--font-body); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; color: var(--text-soft); }
  .nav-list a::before { content: none; }
  .nav-list a:hover { color: var(--text); }
  .nav-list a.is-active { color: var(--gold-text-hi); }
  .nav-list .nav-contact { color: var(--text); border-bottom: 1px solid var(--gold); padding-bottom: 3px; }
  .nav-list .nav-lang { font-size: 13px; color: var(--muted); }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--bg); }
.hero-media { position: absolute; inset: 0; }
.hero-poster, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 66% 22%; filter: none; }
.hero-video { opacity: 0; transition: opacity 1s linear; }
.hero.video-ready .hero-video.is-front { opacity: 1; }
.hero-scrim { position: absolute; inset: 0; }
.hero-scrim-x { background: linear-gradient(180deg, rgba(11, 11, 12, .15) 0%, rgba(11, 11, 12, .1) 35%, rgba(11, 11, 12, .88) 70%, var(--bg) 100%); }
.hero-scrim-y { display: none; }
.grain { position: absolute; inset: 0; opacity: .5; pointer-events: none; background-image: radial-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 3px 3px; }

.hero-content { position: relative; z-index: 1; padding-top: calc(var(--header-h) + 24px); padding-bottom: 72px; display: grid; gap: 22px; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--text-soft); font-weight: 500; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.hero-title { font-size: clamp(38px, 14vw, 150px); line-height: .94; font-weight: 400; letter-spacing: -.02em; }
.hero-title em { display: block; font-style: italic; font-weight: 400; padding-inline-start: .12em; color: var(--text); }
.hero-title em:empty { display: none; }
.hero-actions { display: flex; flex-direction: column; gap: 18px; padding-top: 4px; }
.hero-actions .btn-primary { width: 100%; }
/* The three secondary actions form one aligned block: equal rows (phones, desktop) or equal columns (tablets). */
.hero-links { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line-strong); }
.hero-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 0 2px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--text); border-bottom: 1px solid var(--line-strong); transition: color .12s ease-out, border-color .12s ease-out; }
.hero-link svg { flex-shrink: 0; transition: transform .2s var(--ease); }
.hero-link:hover { color: var(--gold-text-hi); border-color: var(--gold-text-hi); }
.hero-link:hover svg { transform: translate(2px, -2px); }
.hero-link:active { opacity: .7; }

.scroll-cue { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 1; display: none; flex-direction: column; align-items: center; gap: 10px; color: var(--muted); font-size: 10px; letter-spacing: .34em; text-transform: uppercase; animation: bob 2.2s ease-in-out infinite; }
.scroll-cue-line { display: block; width: 1px; height: 40px; background: linear-gradient(180deg, var(--gold), rgba(76, 5, 12, 0)); }
@keyframes bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

.video-toggle { position: absolute; inset-inline-end: var(--gutter); bottom: 28px; z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: rgba(11, 11, 12, .5); border: 1px solid var(--line-strong); border-radius: 50%; color: var(--text); cursor: pointer; }
.video-toggle[hidden] { display: none; }
.video-toggle .icon-play { display: none; }
.video-toggle[aria-pressed="false"] .icon-pause { display: none; }
.video-toggle[aria-pressed="false"] .icon-play { display: block; }

@media (min-width: 768px) {
  .hero-poster, .hero-video { object-position: 68% 28%; }
  .hero-content { gap: 28px; padding-bottom: 88px; }
  .hero-actions { gap: 22px; }
  .hero-actions .btn-primary { width: auto; align-self: flex-start; }
  .hero-links { grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); }
  .hero-link { min-height: 56px; padding: 0 16px; white-space: nowrap; border-inline-end: 1px solid var(--line-strong); }
  .hero-link:first-child { padding-inline-start: 2px; }
  .hero-link:last-child { border-inline-end: 0; padding-inline-end: 2px; }
}
@media (min-width: 1024px) {
  .hero { min-height: 100vh; }
  .hero-poster, .hero-video { object-position: 68% 30%; }
  .hero-scrim-x { background: linear-gradient(90deg, rgba(11, 11, 12, .82) 0%, rgba(11, 11, 12, .55) 30%, rgba(11, 11, 12, .08) 60%, rgba(11, 11, 12, 0) 100%); }
  .hero-scrim-y { display: block; background: linear-gradient(180deg, rgba(11, 11, 12, 0) 45%, rgba(11, 11, 12, .96) 100%); }
  .hero-content { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "eyebrow eyebrow" "title actions"; align-items: end; gap: 36px 64px; padding-bottom: 104px; }
  .eyebrow { grid-area: eyebrow; font-size: 13px; }
  .hero-title { grid-area: title; }
  .hero-actions { grid-area: actions; flex-direction: column; align-items: stretch; width: 300px; gap: 22px; padding-bottom: 10px; }
  .hero-actions .btn-primary { width: 100%; }
  .hero-links { grid-template-columns: 1fr; }
  .hero-link, .hero-link:first-child, .hero-link:last-child { min-height: 50px; padding: 0 2px; border-inline-end: 0; }
  .scroll-cue { display: flex; }
  .scroll-cue { bottom: 40px; }
  .video-toggle { bottom: 40px; }
}

/* Upright phones: the photo fills the upper part of the hero, the scrim fades it into the page. */
@media (max-width: 767px) and (orientation: portrait) {
  .hero-poster, .hero-video { height: 72%; bottom: auto; }
  .hero-poster { object-position: 50% 0; }
  .hero-scrim-x { background: linear-gradient(180deg, rgba(11, 11, 12, .1) 0%, rgba(11, 11, 12, .12) 35%, rgba(11, 11, 12, .85) 62%, var(--bg) 74%); }
}
/* Phones held sideways */
@media (max-height: 520px) and (orientation: landscape) {
  .hero-poster, .hero-video { object-position: 68% 30%; }
  .hero-title { font-size: clamp(40px, 13vh, 72px); }
  .hero-title em { display: inline; padding-inline-start: .2em; }
  .hero-content { gap: 12px; padding-top: calc(var(--header-h) + 8px); padding-bottom: 44px; }
  .hero-actions { flex-direction: row; align-items: center; gap: 20px; }
  .hero-actions .btn-primary { width: auto; min-height: 48px; padding: 0 24px; }
  .hero-links { flex: 1; min-width: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 0; }
  .hero-link, .hero-link:first-child, .hero-link:last-child { min-height: 48px; padding: 0 10px; font-size: 11px; letter-spacing: .12em; white-space: nowrap; border-inline-end: 1px solid var(--line-strong); }
  .hero-link:last-child { border-inline-end: 0; }
  .hero-scrim-x { background: linear-gradient(90deg, rgba(11, 11, 12, .9) 0%, rgba(11, 11, 12, .7) 30%, rgba(11, 11, 12, .15) 58%, rgba(11, 11, 12, 0) 100%); }
  .hero-scrim-y { display: block; background: linear-gradient(180deg, rgba(11, 11, 12, 0) 50%, rgba(11, 11, 12, .95) 100%); }
  .scroll-cue { display: none; }
}

/* ---------- About ---------- */
.about-head { max-width: 18ch; }
.about-grid { display: flex; flex-direction: column; gap: 28px; margin-top: 36px; }
.pull { font-size: 24px; line-height: 1.35; font-style: italic; font-weight: 400; color: var(--text-soft); }
.about-body { display: flex; flex-direction: column; gap: 20px; color: var(--text-soft); font-size: 16px; }
.stage { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; }
.stage > p { color: var(--text-soft); max-width: 60ch; }
.stage-list { counter-reset: stage; display: flex; flex-direction: column; }
.stage-list li { counter-increment: stage; display: flex; flex-direction: column; gap: 8px; padding: 20px 0; border-top: 1px solid var(--line); color: var(--text); font-size: 16px; line-height: 1.5; }
.stage-list li::before { content: counter(stage, decimal-leading-zero); font-family: var(--font-display); font-style: italic; font-size: 15px; color: var(--gold-text); }
.signature { width: min(320px, 60%); height: auto; margin-top: 36px; margin-inline-start: auto; opacity: .85; }
@media (min-width: 768px) {
  .about-body { font-size: 18px; gap: 26px; }
  .stage-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
}
@media (min-width: 1024px) {
  .about-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px; margin-top: 56px; }
  .about-intro { grid-column: span 5; }
  .about-body { grid-column: 7 / span 6; }
  .pull { font-size: 30px; }
  .stage { margin-top: 80px; padding-top: 40px; }
}

/* ---------- Music ---------- */
.featured { position: relative; display: flex; flex-direction: column; gap: 28px; padding: 36px 0 44px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
/* Soft accent glow behind the release text; "closest-side" keeps it fully faded before the hairlines so nothing looks clipped. */
.featured::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(closest-side at 18% 50%, rgba(76, 5, 12, .18), rgba(76, 5, 12, 0)); }
html[dir="rtl"] .featured::before { background: radial-gradient(closest-side at 82% 50%, rgba(76, 5, 12, .18), rgba(76, 5, 12, 0)); }
.featured > * { position: relative; }
.featured-text { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.featured-title { font-size: 48px; line-height: 1.2; color: var(--text); }
.featured-title-en { font-size: 48px; line-height: 1.05; color: var(--text); font-weight: 400; letter-spacing: -.01em; }
.featured-meta { font-size: 14px; color: var(--muted); letter-spacing: .04em; }
.spotify { display: block; width: 100%; height: 352px; border: 0; border-radius: 12px; background: #1A1A1D; color-scheme: light; }
.player-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--gold-text); border-bottom: 1px solid var(--gold-soft); align-self: flex-start; transition: color .12s ease-out; }
.player-link:hover { color: var(--gold-text-hi); }
.popular { margin-top: 64px; }
.popular-head { display: flex; flex-direction: column; gap: 10px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.popular-head .featured-title-en { font-size: 32px; }
.popular-body { display: flex; flex-direction: column; gap: 28px; margin-top: 4px; }
.popular-player { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.popular-player .spotify { transition: opacity .3s ease; }
.popular-player.is-switching .spotify { opacity: .35; }
.popular-list { display: flex; flex-direction: column; min-width: 0; }
.popular-track { display: grid; grid-template-columns: 28px 48px minmax(0, 1fr) auto; gap: 16px; align-items: center; width: 100%; min-height: 64px; padding: 12px 0; background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--text); text-align: start; font: inherit; cursor: pointer; transition: opacity .12s ease-out; }
.popular-track:hover .popular-track-title, .popular-track:focus-visible .popular-track-title { color: var(--gold-text-hi); }
.popular-track:active { opacity: .7; }
.popular-track[aria-pressed="true"] .popular-track-title, .popular-track[aria-pressed="true"] .popular-rank { color: var(--gold-text); }
.popular-rank { font-family: var(--font-display); font-style: italic; font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; }
.popular-thumb { width: 48px; height: 48px; border-radius: 3px; object-fit: cover; background: #1A1A1D; }
.popular-track-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.popular-track-title { font-size: 19px; font-weight: 400; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .12s ease-out; }
.popular-track-title.ar { font-size: 21px; font-weight: 700; text-align: left; }
html[dir="rtl"] .popular-track-title.ar { text-align: right; }
.popular-track-meta { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.popular-track-length { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.platforms { display: flex; flex-direction: column; margin-top: 64px; border-top: 1px solid var(--line); }
.platform { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 68px; padding: 0 4px; border-bottom: 1px solid var(--line); }
.platform-left { display: flex; align-items: center; gap: 16px; flex: 1; min-height: inherit; color: var(--text); }
.platform-left:hover { color: var(--text); }
.platform-left:hover strong { color: var(--gold-text-hi); }
.platform-left span { display: flex; flex-direction: column; }
.platform strong { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; transition: color .12s ease-out; }
.platform small { display: none; }
.platform .arrow { color: var(--gold-text); flex-shrink: 0; }
@media (min-width: 768px) {
  .featured-title, .featured-title-en { font-size: 56px; }
  .platforms { flex-direction: row; }
  .platform { flex: 1; min-height: 88px; padding: 0 20px; border-inline-end: 1px solid var(--line); }
  .platform:first-child { padding-inline-start: 0; }
  .platform:last-child { border-inline-end: 0; padding-inline-end: 0; }
}
@media (min-width: 1024px) {
  .featured { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; padding: 56px 0 64px; }
  .featured-title, .featured-title-en { font-size: 64px; }
  .popular { margin-top: 88px; }
  .popular-head { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 32px; }
  .popular-body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: start; margin-top: 8px; }
  .popular-player { position: sticky; top: calc(var(--header-h) + 24px); }
  .platforms { margin-top: 88px; }
}

/* ---------- Videos ---------- */
.video-grid { counter-reset: vid; display: grid; grid-template-columns: 1fr; gap: 20px; }
.video-grid li { counter-increment: vid; }
.video { position: relative; display: block; }
.video::before { content: counter(vid, decimal-leading-zero); position: absolute; top: 16px; inset-inline-start: 18px; z-index: 2; font-family: var(--font-display); font-style: italic; font-size: 15px; color: var(--gold-text); }
.video-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: linear-gradient(160deg, #1A1A1D, #0E0E10); }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.video:hover .video-thumb img { transform: scale(1.04); }
.video-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 11, 12, .1) 30%, rgba(11, 11, 12, .85) 100%); transition: background .15s ease-out; }
.video:active .video-thumb::after { background: linear-gradient(180deg, rgba(11, 11, 12, .3) 30%, rgba(11, 11, 12, .9) 100%); }
.play { position: absolute; left: 50%; top: 42%; z-index: 1; transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 50%; border: 1px solid rgba(76, 5, 12, .7); background: rgba(11, 11, 12, .55); color: var(--gold-text); transition: transform .15s ease-out, background .15s ease-out; }
.video:hover .play { transform: translate(-50%, -50%) scale(1.06); background: rgba(11, 11, 12, .8); }
.video:active .play { transform: translate(-50%, -50%) scale(.94); }
.video-text { position: absolute; inset-inline: 18px; bottom: 16px; z-index: 2; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.video-title { font-size: 22px; line-height: 1.25; font-weight: 400; color: var(--text); }
.video-title.ar { font-size: 24px; }
.video-meta { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-soft); }
.section-sub { display: flex; flex-direction: column; gap: 20px; margin: 64px 0 36px; padding-top: 40px; border-top: 1px solid var(--line); }
.section-sub .section-title { font-size: clamp(30px, 3.6vw, 52px); }
@media (min-width: 768px) {
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .video-title { font-size: 26px; } .video-title.ar { font-size: 28px; }
  .video-text { inset-inline: 24px; bottom: 22px; }
  .video::before { top: 20px; inset-inline-start: 24px; }
  .section-sub { flex-direction: row; align-items: flex-end; justify-content: space-between; margin: 88px 0 48px; padding-top: 56px; }
}

/* ---------- Social ---------- */
.social-grid { display: grid; grid-template-columns: 1fr; border-bottom: 1px solid var(--line); margin-top: 40px; }
.social { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 20px; align-items: center; min-height: 84px; padding: 16px 0; border-top: 1px solid var(--line); transition: opacity .12s ease-out; }
.social:hover { color: var(--text); }
.social:hover strong { color: var(--gold-text-hi); }
.social:active { opacity: .75; }
.social-text { display: flex; flex-direction: column; line-height: 1.25; gap: 3px; }
.social strong { font-size: 26px; font-weight: 400; transition: color .12s ease-out; }
.social small { font-size: 13px; color: var(--muted); }
.social-cta { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--gold-text); }
@media (min-width: 1024px) {
  .social-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; margin-top: 56px; }
  .social { min-height: 104px; }
  .social strong { font-size: 30px; }
}

/* ---------- Contact ---------- */
.contact-grid { display: flex; flex-direction: column; gap: 40px; }
.booking { display: flex; flex-direction: column; gap: 16px; margin-top: 36px; }
.phones { display: flex; flex-direction: column; gap: 24px; }
.phone { display: flex; flex-direction: column; gap: 14px; }
.phone-text { display: flex; flex-direction: column; gap: 4px; }
.phone-text small { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.phone-number { font-size: 36px; line-height: 1.1; font-weight: 400; letter-spacing: -.01em; }
.phone-actions { display: flex; gap: 28px; }
.contact-form { display: grid; grid-template-columns: 1fr; gap: 28px; }
.contact-form .field { display: flex; flex-direction: column; gap: 6px; }
.contact-form label { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.contact-form input, .contact-form textarea { width: 100%; min-height: 48px; padding: 10px 0; background: transparent; color: var(--text); border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0; font: inherit; font-size: 17px; transition: border-color .12s ease-out; }
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form input:hover, .contact-form textarea:hover { border-color: var(--text-soft); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold-text); }
.contact-form input[aria-invalid="true"], .contact-form textarea[aria-invalid="true"] { border-color: #C9613D; }
.hp { position: absolute; inset-inline-start: -9999px; }
.form-error { color: #E08A6A; font-size: 14px; }
.form-actions { display: flex; padding-top: 8px; }
.form-actions .btn { width: 100%; }
@media (min-width: 768px) {
  .contact-form { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 40px; }
  .contact-form .span-2 { grid-column: span 2; }
  .form-actions .btn { width: auto; padding: 0 40px; }
  .phone-number { font-size: 44px; }
}
@media (min-width: 1024px) {
  .contact-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px; }
  .contact-intro { grid-column: span 5; }
  .contact-form { grid-column: 7 / span 6; }
  .booking { margin-top: 48px; }
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 32px; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.footer-inner .brand-mark { width: 32px; }
.footer-inner .brand-only .brand-mark { width: 44px; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-social { display: flex; gap: 6px; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--text-soft); transition: color .12s ease-out, transform .12s ease-out; }
.footer-social a:hover { color: var(--gold-text-hi); }
.footer-social a:active { transform: scale(.92); }
.footer-legal { display: flex; flex-direction: column; gap: 8px; align-items: center; text-align: center; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12px; color: var(--faint); }
.footer-credit { display: inline-flex; align-items: center; gap: 12px; margin: 8px 0 4px; }
.footer-credit img { height: 40px; width: auto; opacity: .8; }
@media (min-width: 1024px) {
  .site-footer { padding: 64px 0 40px; }
  .footer-inner { flex-direction: row; justify-content: space-between; text-align: start; gap: 32px; }
  .footer-inner .brand-mark { width: 40px; }
  .footer-nav { gap: 28px; }
  .footer-nav a { min-height: 0; }
  .footer-legal { flex-direction: row; justify-content: space-between; font-size: 12px; }
  .footer-credit { margin: 0; }
}

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; }
.hero-content > .reveal:nth-child(1) { animation-delay: .1s; }
.hero-content > .reveal:nth-child(2) { animation-delay: .3s; }
.hero-content > .reveal:nth-child(3) { animation-delay: .55s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].in-view { opacity: 1; transform: none; }
.js .rule[data-reveal] { transform: scaleX(0); }
.js .rule[data-reveal].in-view { transform: scaleX(1); transition-duration: 1.2s; }
@media (prefers-reduced-motion: reduce) {
  .scroll-cue, .reveal { animation: none !important; }
  .reveal, .js [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .video-thumb img, .play, .btn, .link-arrow svg, .hero-link svg { transition: none !important; }
}

/* ---------- Right-to-left page ---------- */
html[dir="rtl"] { --font-body: Tajawal, "Noto Naskh Arabic", "Segoe UI", Tahoma, sans-serif; --font-display: Tajawal, "Noto Naskh Arabic", "Segoe UI", Tahoma, sans-serif; }
html[dir="rtl"] .kicker, html[dir="rtl"] .eyebrow, html[dir="rtl"] .btn, html[dir="rtl"] .icon-btn, html[dir="rtl"] .link-arrow, html[dir="rtl"] .hero-link, html[dir="rtl"] .player-link,
html[dir="rtl"] .nav-list a, html[dir="rtl"] .footer-nav, html[dir="rtl"] .social-cta, html[dir="rtl"] .phone-text small, html[dir="rtl"] .contact-form label, html[dir="rtl"] .platform strong,
html[dir="rtl"] .popular-track-meta, html[dir="rtl"] .video-meta, html[dir="rtl"] .scroll-cue, html[dir="rtl"] .hero-title, html[dir="rtl"] .section-title, html[dir="rtl"] .skip-link { letter-spacing: 0; }
html[dir="rtl"] .hero-title { font-size: clamp(56px, 11.5vw, 132px); line-height: 1.12; font-weight: 700; }
html[dir="rtl"] .hero-title em, html[dir="rtl"] .section-title em, html[dir="rtl"] .pull, html[dir="rtl"] .sec-num, html[dir="rtl"] .popular-rank, html[dir="rtl"] .video::before, html[dir="rtl"] .stage-list li::before { font-style: normal; }
html[dir="rtl"] .hero-title em { padding-inline-start: 0; }
html[dir="rtl"] .section-title { line-height: 1.25; font-weight: 700; }
html[dir="rtl"] .brand-name, html[dir="rtl"] .social strong, html[dir="rtl"] .video-title, html[dir="rtl"] .popular-track-title, html[dir="rtl"] .phone-number, html[dir="rtl"] .featured-title-en { font-weight: 700; }
html[dir="rtl"] .kicker, html[dir="rtl"] .eyebrow { font-size: 13px; font-weight: 700; }
html[dir="rtl"] .btn, html[dir="rtl"] .hero-link, html[dir="rtl"] .link-arrow, html[dir="rtl"] .icon-btn, html[dir="rtl"] .player-link, html[dir="rtl"] .social-cta, html[dir="rtl"] .platform strong { font-size: 15px; font-weight: 500; }
html[dir="rtl"] .nav-list a { font-weight: 700; }
html[dir="rtl"] .scroll-cue-label { display: none; }
html[dir="rtl"] .arrow, html[dir="rtl"] .link-arrow svg, html[dir="rtl"] .hero-link svg, html[dir="rtl"] .player-link svg, html[dir="rtl"] .form-actions svg { transform: scaleX(-1); }
html[dir="rtl"] .link-arrow:hover svg, html[dir="rtl"] .hero-link:hover svg { transform: scaleX(-1) translate(2px, -2px); }
html[dir="rtl"] .hero-link { font-size: 15px; }
html[dir="rtl"] .phone-number, html[dir="rtl"] .social small, html[dir="rtl"] .featured-meta, html[dir="rtl"] .footer-legal span:last-child { direction: ltr; unicode-bidi: isolate; text-align: right; }
html[dir="rtl"] .contact-form input, html[dir="rtl"] .contact-form textarea { font-size: 18px; }
@media (min-width: 1024px) {
  html[dir="rtl"] .hero-scrim-x { background: linear-gradient(90deg, rgba(11, 11, 12, .82) 0%, rgba(11, 11, 12, .55) 30%, rgba(11, 11, 12, .08) 60%, rgba(11, 11, 12, 0) 100%); }
  html[dir="rtl"] .nav-list a { font-weight: 500; }
}
@media (max-height: 520px) and (orientation: landscape) {
  html[dir="rtl"] .hero-scrim-x { background: linear-gradient(90deg, rgba(11, 11, 12, .9) 0%, rgba(11, 11, 12, .7) 30%, rgba(11, 11, 12, .15) 58%, rgba(11, 11, 12, 0) 100%); }
  html[dir="rtl"] .hero-title { font-size: clamp(36px, 12vh, 60px); }
}
html[dir="rtl"] .nav-list .nav-lang { font-family: var(--font-body); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }

/* ---------- Optional intro (theme.introSignature): the signature writes itself in the accent colour, then the page appears ---------- */
.intro { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--bg); transition: opacity .9s var(--ease), visibility 0s linear .9s; }
.intro.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.intro-sig { width: min(86vw, 820px); height: auto; overflow: visible; color: #4C050C; }
.intro-ink { filter: none; }
.intro path { opacity: 0; stroke-dasharray: var(--len, 1); stroke-dashoffset: var(--len, 1); }
.intro.is-playing path { opacity: 1; animation: intro-draw var(--dur, 1s) linear var(--delay, 0s) forwards; }
@keyframes intro-draw { to { stroke-dashoffset: 0; } }
.intro.is-playing .intro-ink { animation: intro-pulse 1.2s ease-in-out var(--total, 2.7s) 1; }
@keyframes intro-pulse { 0%, 100% { filter: none brightness(1); } 40% { filter: none brightness(1.35); } }
.intro-hint { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--faint); white-space: nowrap; }
html[dir="rtl"] .intro-hint { letter-spacing: 0; font-size: 13px; }
body.intro-lock { overflow: hidden; }
html.intro-active .reveal { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .intro { display: none; } }

/* ---------- Utility pages ---------- */
.page-simple { min-height: 100svh; display: flex; align-items: center; justify-content: center; text-align: center; padding: calc(var(--header-h) + 40px) var(--gutter) 80px; }
.page-simple .inner { display: flex; flex-direction: column; align-items: center; gap: 20px; max-width: 560px; }
.page-simple p { color: var(--text-soft); font-size: 18px; }
