
/* Layout: the instrument opens the page as a walnut band with playable strings; below it, a plain client-facing record of work set on mother-of-pearl. */
:root {
  --pearl: #0e0c09;
  --surface: #1a1611;
  --ink: #f3ecdf;
  --muted: #d6ccba;
  --line: #332b20;
  --accent: #d9a84e;
  --walnut: #0e0c09;
  --walnut-ink: #f6eee0;
  --walnut-muted: #dcd2c0;
  --brass: #d9a84e;
  --display: "El Messiri", "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --body: "Almarai", "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  color-scheme: dark;
}
body { margin: 0; background: var(--pearl); color: var(--ink); font-family: var(--body); font-size: 18px; line-height: 1.8; }
.wrap { max-width: 1040px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.hero { background: var(--walnut); color: var(--walnut-ink); }
.hero .wrap { padding-block: 48px 28px; display: grid; gap: 24px; }
.brand { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 48px; }
.brand h1 { margin: 0; flex: 0 1 400px; min-width: 0; line-height: 0; }
.brand h1 img { display: block; width: 100%; height: auto; }
.roles { margin: 0; font-size: clamp(1.02rem, 2.2vw, 1.2rem); color: var(--walnut-muted); flex: 1 1 280px; min-width: 0; max-width: 40ch; line-height: 1.7; }
.roles { display: grid; gap: 10px; }
.roles span { display: block; }
.roles strong { color: var(--walnut-ink); font-weight: 600; font-size: 1.15em; }
.band { display: block; width: 100%; height: clamp(240px, 36vw, 380px); touch-action: auto; cursor: default; }
.string-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; font-size: 1rem; color: var(--walnut-muted); }
.string-row p { margin: 0; flex: 1 1 260px; min-width: 0; }
.maqamat { display: flex; flex-wrap: wrap; gap: 8px; }
.play { font: inherit; font-weight: 600; color: var(--brass); background: transparent; border: 1px solid var(--brass); border-radius: 4px; padding: 7px 18px; cursor: pointer; }
.play[aria-pressed="true"] { color: var(--walnut); background: var(--brass); }
.play:focus-visible { outline-color: var(--brass); }

section { padding-block: 56px; border-top: 1px solid var(--line); }
section:first-of-type { border-top: 0; }
h1.page-title, h2 { font-family: var(--display); font-weight: 700; font-size: clamp(1.9rem, 5vw, 2.6rem); line-height: 1.3; margin: 0 0 24px; color: var(--accent); }
.lede { max-width: 60ch; margin: 0 0 28px; color: var(--muted); }

.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 28px 36px; }
.services h3, .places h3 { font-size: 1.1rem; font-weight: 600; margin: 0 0 4px; }
.services p { margin: 0; color: var(--muted); font-size: .97rem; }

.needs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 700px) { .needs { grid-template-columns: minmax(0, 1fr); } }
.need { background: var(--surface); padding: 22px; border-radius: 6px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.need h3 { font-size: 1.15rem; font-weight: 600; margin: 0; }
.need p { margin: 0; color: var(--muted); font-size: 1.02rem; }
.need-example a { color: var(--accent); text-underline-offset: 4px; }
.need-cta { margin-top: auto; font-weight: 600; color: var(--pearl); background: var(--accent); padding: 7px 16px; border-radius: 4px; text-decoration: none; }
.need p:last-of-type { margin-bottom: 8px; }
.steps-title { font-size: 1.15rem; font-weight: 600; margin: 36px 0 12px; }
.steps { margin: 0; padding-inline-start: 22px; display: grid; gap: 6px; color: var(--muted); max-width: 60ch; }
.steps li::marker { color: var(--accent); font-weight: 600; }
.player { grid-column: 1 / -1; width: 100%; margin-top: 12px; display: grid; gap: 6px; }
.player iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 4px; background: #000; }
.shut { justify-self: start; font: inherit; font-weight: 600; font-size: .88rem; color: var(--pearl); background: var(--accent); border: 0; border-radius: 4px; padding: 3px 12px; cursor: pointer; }
.player a { font-size: .88rem; color: var(--muted); text-underline-offset: 4px; }
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 20px; }
@media (max-width: 700px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; } }
.gallery.top .work { grid-column: 1 / -1; }
@media (min-width: 701px) { .gallery.top .thumb { aspect-ratio: 21 / 9; } }
.gallery.top .work strong { font-size: 1.5rem; }
.gallery.stack { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
.film-links { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(217,164,65,.25); }
.film-links li { border-bottom: 1px solid rgba(217,164,65,.25); }
.film-links .row-link { display: flex; align-items: center; gap: 12px; padding: 14px 4px; color: inherit; text-decoration: none; }
.film-links .row-link::before { content: "▶"; color: var(--brass); font-size: .8rem; }
.film-links .row-link:hover strong { color: var(--brass); }
.film-links strong { font-family: var(--display); font-weight: 700; font-size: 1.1rem; }
.film-links span { color: var(--muted); font-size: .9rem; }
.film-links .player { margin: 0 0 14px; }
.more-works { margin-top: 26px; }
.more-works summary { list-style: none; cursor: pointer; display: inline-block; padding: 12px 22px; border: 1px solid var(--brass); border-radius: 6px; color: var(--brass); font-weight: 700; }
.more-works summary::-webkit-details-marker { display: none; }
.more-works[open] summary { display: none; }
.year-h { font-family: var(--display); font-size: 1.7rem; color: var(--brass); margin: 44px 0 18px; padding-bottom: 10px; border-bottom: 1px solid rgba(217,164,65,.3); }
.work { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.thumb { position: relative; display: block; aspect-ratio: 16 / 9; max-width: 100%; border-radius: 6px; overflow: hidden; margin-bottom: 8px; background: linear-gradient(135deg, #2a2116, #14100b); border: 1px solid var(--line); }
.thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.play-mark { position: absolute; inset: 0; margin: auto; width: 46px; height: 46px; border-radius: 50%; background: rgba(14,12,9,.72); border: 2px solid var(--brass); }
.play-mark::after { content: ""; position: absolute; top: 50%; left: 54%; transform: translate(-50%, -50%); border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent var(--brass); }
.thumb:hover .play-mark { background: var(--brass); }
.thumb:hover .play-mark::after { border-left-color: var(--pearl); }
.work strong { font-family: var(--display); font-weight: 700; font-size: 1.25rem; line-height: 1.35; }
.work > span { color: var(--muted); font-size: .98rem; line-height: 1.5; }
.work:has(.player) .thumb { display: none; }
.work .player { margin-top: 0; order: -1; margin-bottom: 8px; }
.works { list-style: none; margin: 0; padding: 0; }
.works li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 6.5em; gap: 4px 24px; padding-block: 18px; border-bottom: 1px solid var(--line); align-items: baseline; }
.works li:last-child { border-bottom: 0; }
.works strong { font-family: var(--display); font-weight: 700; font-size: 1.55rem; line-height: 1.4; }
.works span { color: var(--muted); }
.watch-group { display: flex; flex-wrap: wrap; gap: 0 20px; }
.watch { color: var(--accent); font-weight: 600; text-underline-offset: 4px; }
@media (max-width: 640px) { .works li { grid-template-columns: minmax(0, 1fr); } }

.clients { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.places h3 { font-family: var(--display); font-size: 1.45rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.sub { font-size: 1rem; font-weight: 700; color: var(--accent); margin: 16px 0 0; }
.places h3 + .sub { margin-top: 0; }
.sub + .names { margin-top: 6px; }
.star-names { margin: 10px 0 0; color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 1.15rem; line-height: 1.7; }
.more-names { margin-top: 12px; }
.more-names summary { cursor: pointer; color: var(--accent); font-weight: 700; font-size: .95rem; list-style: none; }
.more-names summary::-webkit-details-marker { display: none; }
.more-names[open] summary { margin-bottom: 4px; }
.poster { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; font-family: var(--display); font-weight: 700; font-size: 1.12rem; line-height: 1.4; color: var(--ink); }
.names { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 5px; font-size: .95rem; font-weight: 400; color: var(--muted); }
.client-list { font-size: 1rem; gap: 8px 36px; margin-top: 0; }
@media (min-width: 701px) { .client-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.names li { position: relative; padding-inline-start: 16px; }
.names li::before { content: ""; position: absolute; inset-inline-start: 0; top: .72em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.flags li { padding-inline-start: 0; }
.flags li::before { content: none; }
.countries { margin-top: 10px; gap: 8px; }
.clients li { background: var(--surface); padding: 6px 14px; border-radius: 4px; font-weight: 500; }

.places { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 32px 48px; }
.places p { margin: 0; color: var(--muted); }

.month-pref { margin: -16px 0 22px; color: var(--muted); }
.month-cta { display: inline-block; }
.terms { margin-top: 24px; max-width: 65ch; color: var(--muted); }
.terms summary { cursor: pointer; color: var(--accent); font-weight: 700; }
.terms ol { margin: 12px 0 0; padding-inline-start: 22px; display: grid; gap: 6px; font-size: .95rem; }
.month-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; max-width: 560px; }
.month-form label { min-width: 0; }
.month-form input[type="date"] { -webkit-appearance: none; appearance: none; min-width: 0; max-width: 100%; min-height: 46px; display: block; }
.month-form label { display: grid; gap: 6px; font-weight: 700; font-size: .95rem; }
.month-form input:not([type="checkbox"]), .month-form textarea { font: inherit; font-weight: 400; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 10px 12px; width: 100%; box-sizing: border-box; }
.month-form input:focus-visible, .month-form textarea:focus-visible, .month-form button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.month-form .agree { display: flex; align-items: center; gap: 8px; font-weight: 400; }
.month-form button { font: inherit; font-weight: 700; border: 0; cursor: pointer; justify-self: start; }
.form-status { margin: 0; color: var(--accent); font-weight: 700; }
.pro-list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.pro-list li { background: var(--surface); padding: 20px; border-radius: 6px; display: grid; gap: 6px; }
.pro-list strong { font-size: 1.15rem; }
.pro-list span { color: var(--muted); font-size: 1rem; }
.pro-promise { margin: 0 0 20px; color: var(--accent); font-weight: 700; }
[hidden] { display: none !important; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 701px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tile { position: relative; display: flex; align-items: center; justify-content: center; min-height: 92px; padding: 16px 14px; text-align: center; font-family: var(--display); font-weight: 500; font-size: 1.22rem; line-height: 1.35; color: var(--walnut-ink); text-decoration: none; background: linear-gradient(160deg, #1d1810, #110e09); border: 1px solid rgba(217, 168, 78, .28); border-radius: 2px; transition: border-color .25s, color .25s, background .25s; }
.tile::before { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(217, 168, 78, .14); pointer-events: none; transition: border-color .25s; }
.tile::after { content: ""; position: absolute; bottom: 14px; left: 50%; width: 22px; height: 1px; margin-left: -11px; background: var(--brass); transition: width .25s, margin-left .25s; }
.tile:hover, .tile:focus-visible { color: var(--brass); border-color: var(--brass); background: linear-gradient(160deg, #272014, #15110b); }
.tile:hover::before, .tile:focus-visible::before { border-color: rgba(217, 168, 78, .4); }
.tile:hover::after, .tile:focus-visible::after { width: 44px; margin-left: -22px; }
.tile:last-child { grid-column: 1 / -1; }
@media (prefers-reduced-motion: reduce) { .tile, .tile::before, .tile::after { transition: none; } }
.page-nav { padding-block: 24px 0; }
.back { color: var(--accent); font-weight: 700; text-underline-offset: 4px; }
section { border-top: 0; }
section:not([hidden]) + section:not([hidden]) { border-top: 1px solid var(--line); }
.site-foot { padding-block: 36px 40px; border-top: 1px solid var(--line); }
.wed-notes { margin: 0 0 28px; padding: 0; list-style: none; display: grid; gap: 12px; max-width: 65ch; }
.wed-notes li { background: var(--surface); padding: 14px 16px; border-radius: 6px; color: var(--muted); }
.wed-notes strong { color: var(--ink); }
.month-form select { font: inherit; font-weight: 400; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 10px 12px; width: 100%; box-sizing: border-box; min-height: 46px; }
.month-form select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.event-videos { display: grid; gap: 14px; margin: 0 0 24px; }
.event-videos video, .event-videos img { display: block; width: 100%; max-width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; background: #000; border: 1px solid var(--line); }
.demo { background: var(--surface); padding: 18px; border-radius: 6px; margin: 0 0 28px; max-width: 65ch; display: grid; gap: 10px; }
.demo h3 { margin: 0; font-size: 1.15rem; }
.demo p { margin: 0; color: var(--muted); font-size: .95rem; }
.demo-row { display: flex; align-items: center; gap: 12px; direction: ltr; }
.demo-play { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--accent); color: var(--pearl); font-size: 1.05rem; cursor: pointer; }
.demo-bar { flex: 1 1 auto; min-width: 0; height: 4px; background: var(--line); border-radius: 2px; overflow: hidden; }
.demo-fill { width: 0; height: 100%; background: var(--accent); }
.demo-time { flex: 0 0 auto; color: var(--muted); font-size: .9rem; font-variant-numeric: tabular-nums; }
.intro { flex: 1 1 280px; min-width: 0; display: grid; gap: 14px; max-width: 42rem; }
.tag-main { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(1.2rem, 3.2vw, 1.6rem); line-height: 1.45; color: var(--brass); text-wrap: balance; }
.hero { overflow: hidden; }
.brand h1 { position: relative; isolation: isolate; }
.brand h1::before { content: ""; position: absolute; inset: -5% -9%; z-index: -1; pointer-events: none; opacity: .2;
  background: linear-gradient(90deg, #c8102e 0 25%, transparent 25%), linear-gradient(180deg, #00843d 0 33.33%, #ffffff 33.33% 66.66%, #000000 66.66%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 55%, transparent 100%); mask-image: radial-gradient(ellipse at center, #000 55%, transparent 100%); }
.brand h1 img { position: relative; }
.tile { flex-direction: column; gap: 10px; min-height: 124px; }
.tile svg { width: 42px; height: 42px; color: var(--brass); flex: 0 0 auto; }
.tile::after { content: none; }
.tile svg { width: 52px; height: 52px; }
.tile svg.wide { width: 70px; height: 52px; }
.arr { background: var(--surface); border: 1px solid rgba(217, 168, 78, .28); border-radius: 6px; padding: 16px; margin: 0; display: grid; gap: 10px; min-width: 0; }
.arr h2 { margin: 0; font-size: 1.45rem; color: var(--brass); }
.arr-song { margin: 0; font-weight: 700; font-size: 1rem; color: var(--walnut-ink); }
.arr-hint { margin: 0; color: var(--walnut-muted); font-size: .92rem; }
.arr-row { display: flex; align-items: center; gap: 12px; direction: ltr; }
.arr-bar { cursor: pointer; height: 6px; }
.arr-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.arr-btn { font: inherit; font-weight: 700; min-height: 42px; padding: 5px 6px; font-size: .95rem; color: var(--brass); background: transparent; border: 1px solid var(--brass); border-radius: 4px; cursor: pointer; }
.arr-btn.full { grid-column: 1 / -1; }
.arr-btn[aria-pressed="true"] { color: var(--walnut); background: var(--brass); }
.arr-btn:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
.contact { background: var(--surface); border-top: 0; }
.mail { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-block-end: 24px; }
.mail bdi { font-size: clamp(1.15rem, 4vw, 1.7rem); font-weight: 600; overflow-wrap: anywhere; user-select: all; }
.copy { font: inherit; font-weight: 600; background: var(--accent); color: var(--pearl); border: 0; border-radius: 4px; padding: 8px 18px; cursor: pointer; }
.wa { text-decoration: none; }
.social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.social a { display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; border: 1.5px solid var(--accent); border-radius: 50%; color: var(--accent); transition: background .15s, color .15s; }
.social a:hover, .social a:focus-visible { background: var(--accent); color: var(--pearl); }
.copyright { margin: 18px 0 0; text-align: center; color: var(--muted); font-size: .9rem; }

.lang-top { position: absolute; z-index: 5; top: calc(14px + env(safe-area-inset-top, 0px)); inset-inline-end: max(16px, env(safe-area-inset-right, 0px)); padding: 5px 14px; border: 1px solid var(--brass); border-radius: 20px; color: var(--brass); font-size: .92rem; font-weight: 700; text-decoration: none; background: rgba(14, 12, 9, .75); }
.lang-top:hover, .lang-top:focus-visible { background: var(--brass); color: var(--walnut); }
.lang-link { display: block; margin: 14px 0 0; text-align: center; color: var(--accent); font-weight: 700; text-underline-offset: 4px; }
.page-nav { padding-block: 24px 0; }
.en h2, .en h1.page-title, .en .tag-main { letter-spacing: 0; }
.en-list { margin: 0; padding-inline-start: 20px; display: grid; gap: 8px; color: var(--muted); }
.en-list strong { color: var(--ink); }
