/* Musicji — WhatsApp booking website.
   Visual style modelled on the Stodio template: Geist / Geist Mono, near-black and white,
   soft grey panels, 24px rounded cards, pill buttons, mono "tag" labels with a red marker,
   and the dark hero, sections and footer drawn as inset rounded cards. */
:root {
  --ink: #0a0a0a;
  --muted: #5d5d5d;
  --subtle: #9d9d9d;
  --line: #e6e6e6;
  --field: #d4d4d4;
  --soft: #f3f3f3;
  --ph: #e9e9e9;
  --white: #fff;
  --sub: #9d9d9d;
  --on-dark: rgba(255,255,255,.72);
  --green: #146b3d;
  --green-bg: #e5f5e8;
  --green-pill: #e0f2e5;
  --amber: #8c5400;
  --red: #fc544c;
  --red-dark: #e3443c;
  /* Kept for markup that still names them (inline styles, older rules). */
  --navy: #0a0a0a;
  --navy-2: #1c1c1c;
  --off-white: #fafafa;
  --on-navy: rgba(255,255,255,.72);
  --on-navy-muted: rgba(255,255,255,.5);
  --font: 'Geist', 'IBM Plex Sans Arabic', system-ui, -apple-system, sans-serif;
  --mono: 'Geist Mono', 'IBM Plex Sans Arabic', ui-monospace, SFMono-Regular, monospace;
  --r: 24px;
  --inset: 12px;
  /* One left/right edge for the whole site: the logo, the hero copy and every section start here. */
  --edge: 52px;
  --gutter: var(--edge);
  --maxw: 1200px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p { margin: 0; }
/* Headings use Geist's medium weight with tight tracking. Page markup sets some weights inline,
   so the heading weights are enforced here. */
h1, h2 { font-weight: 500 !important; letter-spacing: -0.035em; }
h3 { font-weight: 600 !important; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: var(--ink); }
img { display: block; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
::selection { background: var(--red); color: var(--white); }

/* ---------- Icons (positioned like the Figma icon frames) ---------- */
.ic { position: relative; display: inline-block; flex-shrink: 0; overflow: hidden; }
.ic img { position: absolute; max-width: none; }

/* ---------- Layout ---------- */
.wrap { width: 100%; margin: 0 auto; padding-inline: var(--edge); }
/* Inside inset cards (panels, hero, footer, header) subtract the inset so the content still lands on the edge. */
section.bg-soft > .wrap, section.bg-dark > .wrap, .site-footer > .wrap, .hero-band > .wrap, .site-header > .wrap { padding-inline: calc(var(--edge) - var(--inset)); }
.section { padding-top: 112px; padding-bottom: 112px; }
.bg-soft { background: var(--soft); }
.bg-dark { background: var(--ink); color: var(--white); }
/* Full-width tinted sections become inset rounded panels, like the reference. */
section.bg-soft, section.bg-dark { margin: 0 var(--inset); border-radius: var(--r); }
section.bg-soft + section.bg-soft, section.bg-soft + section.bg-dark, section.bg-dark + section.bg-soft { margin-top: var(--inset); }
.stack { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; }
.between { justify-content: space-between; }
.wrap-row { flex-wrap: wrap; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

/* ---------- Type ---------- */
/* Mono "tag" label with a small red square, used for every eyebrow. */
.eyebrow { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; padding: 5px 12px 5px 10px; border-radius: 999px; background: var(--soft); color: var(--ink); font-family: var(--mono); font-size: 12px; font-weight: 500; line-height: 1.5; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--red); flex-shrink: 0; }
.bg-soft .eyebrow, .card-soft .eyebrow { background: var(--white); }
.bg-dark .eyebrow { background: rgba(255,255,255,.1); color: var(--white) !important; }
.h-display { font-size: 76px; line-height: 1.04; }
.h1 { font-size: 56px; line-height: 1.08; }
.h1-44 { font-size: 48px; line-height: 1.1; }
.h2 { font-size: 48px; line-height: 1.1; }
.h3 { font-size: 26px; line-height: 1.2; }
.lead { font-size: 19px; color: var(--muted); }
.lead-18 { font-size: 18px; color: var(--muted); }
.bg-dark .lead-18, .bg-dark .muted { color: rgba(255,255,255,.7); }
.lead-19 { font-size: 19px; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.tiny { font-size: 13px; }
.semi { font-weight: 600; }
.bold { font-weight: 700; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.sec-head .stack { gap: 16px; max-width: 760px; }
/* Text links: underlined, as in "About The Studio" / "View All Blogs". */
.link-chev { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 16px; white-space: nowrap; padding-bottom: 2px; border-bottom: 1px solid currentColor; }
.link-chev:hover { color: var(--red); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 999px; font-size: 16px; font-weight: 500; line-height: 1.2; white-space: nowrap; transition: background .15s, color .15s, transform .08s ease; }
.btn:active { transform: scale(.98); }
/* Text-only links styled as buttons get the reference's ↗ arrow. */
a.btn:not(:has(.ic)):not(.btn-block)::after, .wa-cta::after { content: "↗"; font-size: .95em; line-height: 1; }
[dir="rtl"] a.btn:not(:has(.ic)):not(.btn-block)::after, [dir="rtl"] .wa-cta::after { content: "↖"; }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); }
.btn-secondary { background: var(--soft); color: var(--ink); }
.btn-secondary:hover { background: var(--line); }
.bg-soft .btn-secondary, .card-soft .btn-secondary { background: var(--white); }
.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { background: var(--line); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 26px; }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; padding: 10px 16px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px var(--field); font-size: 14px; font-weight: 500; line-height: 20px; white-space: nowrap; transition: background .15s, box-shadow .15s; }
.chip:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.chip.active, .chip[aria-pressed="true"] { background: var(--ink); color: var(--white); box-shadow: none; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--soft); font-size: 13px; font-weight: 500; white-space: nowrap; }
.pill-sm { padding: 3px 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .02em; text-transform: uppercase; }
.pill-dark { background: var(--ink); color: var(--white); }
.pill-green { background: var(--green-pill); color: var(--green); }
button.pill:hover { background: var(--line); }

/* ---------- Cards ---------- */
.card { background: var(--soft); border-radius: var(--r); }
.card-soft { background: var(--soft); border-radius: var(--r); }
.bg-soft .card, .bg-soft .card-soft { background: var(--white); }
.card-strong { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 30px 60px -30px rgba(10,10,10,.22); }
.tile { display: flex; align-items: center; justify-content: center; background: var(--white); border-radius: 14px; width: 48px; height: 48px; flex-shrink: 0; }
.tile-dark { background: var(--ink); }
.media { background: var(--ph); border-radius: var(--r); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-size: 14px; font-weight: 500; position: relative; overflow: hidden; }

/* ---------- Header: a dark rounded bar inset from the page edges ---------- */
.site-header { position: sticky; top: var(--inset); z-index: 40; margin: var(--inset) var(--inset) 0; border-radius: 20px; background: var(--ink); color: var(--off-white); }
.site-header .wrap { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; }
.logo-img { height: 40px; width: auto; }
.logo-mark { width: 36px; height: 36px; border-radius: 10px; background: var(--ink); display: flex; align-items: center; justify-content: center; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a, .nav button { font-size: 15px; font-weight: 500; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; color: var(--off-white); transition: color .15s; }
.nav a:hover, .nav button:hover { color: var(--white); opacity: .75; }
.nav a.current { color: var(--red); }
.nav-dd { position: relative; }
.nav-dd .ic { transform: rotate(90deg); }
.nav-dd > button .ic img { filter: brightness(0) invert(1); }
.dd-menu { position: absolute; top: calc(100% + 22px); left: -16px; background: var(--white); border-radius: 20px; padding: 8px; min-width: 250px; box-shadow: 0 24px 48px -12px rgba(0,0,0,.25); display: none; }
.nav-dd.open .dd-menu { display: block; }
.dd-menu a { display: block; padding: 10px 14px; border-radius: 12px; color: var(--ink); }
.dd-menu a:hover { background: var(--soft); opacity: 1; color: var(--ink); }
.actions { display: flex; align-items: center; gap: 20px; }
/* EN / AR toggle */
.lang-toggle { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 3px; border-radius: 999px; background: var(--soft); direction: ltr; flex-shrink: 0; cursor: pointer; }
.lang-toggle::before { content: ""; position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 999px; background: var(--red); transition: transform .22s cubic-bezier(.4, 0, .2, 1); }
.lang-toggle.is-ar::before { transform: translateX(100%); }
.lang-toggle span { position: relative; z-index: 1; min-width: 32px; padding: 5px 10px; text-align: center; font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--muted); transition: color .22s; }
.lang-toggle span[lang="en"] { font-family: var(--mono); letter-spacing: .02em; }
.lang-toggle:not(.is-ar) span[lang="en"], .lang-toggle.is-ar span[lang="ar"] { color: var(--white); }
.lang-toggle:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.site-header .lang-toggle { background: rgba(255,255,255,.12); }
.site-header .lang-toggle span { color: rgba(255,255,255,.65); }
.site-header .lang-toggle:not(.is-ar) span[lang="en"], .site-header .lang-toggle.is-ar span[lang="ar"] { color: var(--white); }
.site-header .lang-toggle:hover span { color: var(--white); }
.lang { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 13px; font-weight: 500; white-space: nowrap; }
.lang b { font-weight: 500; opacity: .45; }
.lang b.on { opacity: 1; }
.site-header .lang { color: var(--off-white); }
.site-header .lang .ic img, .m-menu-top .ic img { filter: brightness(0) invert(1); }
.wa-cta { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; background: var(--red); color: var(--white); font-weight: 500; font-size: 15px; white-space: nowrap; transition: background .15s; }
.wa-cta:hover { background: var(--red-dark); }
.m-header-actions { display: none; align-items: center; gap: 8px; }
.wa-cta-sm { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; background: var(--red); color: var(--white); font-size: 14px; font-weight: 500; }
.burger { width: 44px; height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.burger span { width: 26px; height: 2px; border-radius: 1px; background: var(--off-white); }
.site-header :focus-visible { outline-color: var(--off-white); }

/* Mobile menu (M-03) */
.m-menu { position: fixed; inset: 0; z-index: 80; background: var(--white); display: flex; flex-direction: column; overflow-y: auto; }
.m-menu-top { height: 64px; margin: 8px; border-radius: 18px; padding: 0 12px 0 20px; background: var(--ink); display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; }
.m-menu-top .icon-btn:hover { background: rgba(255,255,255,.1); }
.m-menu-list { padding: 12px 20px 0; }
.m-menu-list a { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid var(--line); }
.m-menu-list a strong { display: block; font-size: 24px; font-weight: 500; letter-spacing: -0.03em; }
.m-menu-list a span { font-family: var(--mono); font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .02em; }
.m-menu-foot { padding: 24px 20px 40px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }

/* ---------- Footer: dark inset card with a giant wordmark ---------- */
.site-footer { margin: var(--inset); border-radius: var(--r); background: var(--ink); color: var(--on-dark); padding: 80px 0 0; overflow: hidden; }
.site-footer::after { content: "MUSICJI" / ""; display: block; padding: 24px 0 0; text-align: center; font-size: clamp(64px, 17.5vw, 270px); font-weight: 600; line-height: .84; letter-spacing: -0.06em; color: var(--white); white-space: nowrap; margin-bottom: -0.08em; }
.foot-cols { display: flex; gap: 48px; align-items: flex-start; }
.foot-brand { width: 380px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; flex-shrink: 0; }
.foot-brand p { font-size: 22px; line-height: 1.35; letter-spacing: -0.02em; color: var(--white); }
.wa-cta-xs { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: var(--red); color: var(--white); font-size: 14px; font-weight: 500; }
.wa-cta-xs:hover { background: var(--red-dark); }
.foot-col { flex: 1; display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.foot-col strong { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; color: var(--subtle); margin-bottom: 4px; }
.foot-col a { color: var(--white); }
.foot-col a:hover { color: var(--red); }
.foot-bottom { margin-top: 64px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 14px; gap: 16px; flex-wrap: wrap; }
.foot-bottom .muted { color: var(--on-navy-muted); }
.foot-bottom .social { display: flex; gap: 20px; font-weight: 500; }
.foot-bottom .social a { color: var(--white); }
.foot-bottom .social a:hover { color: var(--red); }

/* Floating WhatsApp button */
.fab { position: fixed; right: 32px; bottom: 32px; z-index: 50; display: inline-flex; align-items: center; gap: 10px; padding: 15px 22px; border-radius: 999px; background: var(--red); color: var(--white); font-weight: 500; box-shadow: 0 12px 28px -8px rgba(252,84,76,.6); transition: transform .15s, background .15s; }
.fab:hover { transform: translateY(-2px); background: var(--red-dark); }

/* ---------- Breadcrumb ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.crumbs .here { color: var(--ink); font-weight: 500; }
.crumbs .sep { color: var(--subtle); }

/* ---------- Home ---------- */
.accent { color: var(--red); }
/* Hero: a dark rounded card, like the reference's hero. */
.hero-band { margin: var(--inset); border-radius: var(--r); background: var(--ink); color: var(--off-white); overflow: hidden; }
.hero { padding-top: 88px; padding-bottom: 88px; display: flex; gap: 64px; align-items: center; }
.hero-copy { flex: 1; display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.hero-media { width: 520px; height: 580px; flex-shrink: 0; }
/* For musicians hero: Musicji Stage reel, muted and looping (portrait 9:16) */
.hero-video { width: 340px; aspect-ratio: 9 / 16; flex-shrink: 0; border-radius: var(--r); overflow: hidden; background: var(--ink); }
.hero-video video { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
@media (max-width: 900px) { .hero-video { width: 100%; max-width: 360px; aspect-ratio: 4 / 5; align-self: center; } }
.badge-line { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: 999px; background: var(--soft); font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; }
.hero-band .badge-line { background: rgba(255,255,255,.1); color: var(--white); }
.hero-band .badge-line .ic img, .hero-band .ask-line .ic img { filter: brightness(0) invert(1); }
.hero-band .lead, .hero-band .popular, .hero-band .ask-line { color: var(--on-dark); }
.hero-band .ask-line a { color: var(--white); }
.search-bar { display: flex; align-items: stretch; border-radius: 22px; padding: 8px; background: var(--white); color: var(--ink); }
.search-bar label { flex: 1 1 auto; display: flex; flex-direction: column; gap: 2px; padding: 6px 18px; min-width: 0; border-right: 1px solid var(--line); cursor: text; }
.search-bar label:nth-of-type(3) { border-right: 0; }
.search-bar label span { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); }
.search-bar input, .search-bar select { border: 0; padding: 0; font-size: 16px; background: transparent; width: 100%; outline: none; color: var(--ink); appearance: none; -webkit-appearance: none; }
.search-bar input::placeholder { color: var(--subtle); }
.search-bar select:invalid, .search-bar select.placeholder { color: var(--subtle); }
.search-btn { display: inline-flex; align-items: center; gap: 8px; padding: 16px 26px; border-radius: 16px; background: var(--red); color: var(--white); font-weight: 500; transition: background .15s; }
.search-btn:hover { background: var(--red-dark); }
.popular { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); }
.popular .chip { font-family: var(--font); font-size: 14px; letter-spacing: 0; text-transform: none; }
.hero-band .popular .chip { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }
.hero-band .popular .chip:hover { background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.6); }
.ask-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--muted); }
.ask-line a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 500; border-bottom: 1px solid currentColor; }
.ask-line a:hover { color: var(--red) !important; }
.hero-collage { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; background: none; padding: 0; }
.hero-collage a { position: relative; border-radius: 20px; overflow: hidden; background: var(--navy-2); }
.hero-collage img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.hero-collage a:hover img { transform: scale(1.05); }
.hero-collage span { position: absolute; left: 12px; bottom: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--ink); font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; }
.logos { display: flex; justify-content: space-between; gap: 16px; }
.logo-ph { width: 160px; height: 56px; border-radius: 10px; background: var(--ph); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 500; color: var(--muted); }
.cat-card { padding: 24px; display: flex; flex-direction: column; gap: 14px; transition: background .2s, transform .2s; }
.cat-card:hover { background: var(--line); }
.cat-card .name { font-size: 22px; font-weight: 500; letter-spacing: -0.03em; margin-top: 8px; }
.cat-card .count { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); }
/* Category illustrations from musicji.co/talents (assets/categories). */
.cat-card .cat-img { width: 88px; height: 88px; border-radius: 18px; background: #e6e6e6; object-fit: cover; transition: transform .3s ease; }
.cat-card:hover .cat-img { transform: rotate(-4deg) scale(1.04); }
.chip.chip-img { gap: 8px; padding: 5px 16px 5px 5px; }
.chip.chip-img img { width: 32px; height: 32px; border-radius: 50%; background: #e6e6e6; object-fit: cover; flex-shrink: 0; }
[dir="rtl"] .chip.chip-img { padding: 5px 5px 5px 16px; }
.step-card { padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.step-num { align-self: flex-start; min-width: 44px; height: 32px; padding: 0 12px; border-radius: 999px; background: var(--ink); color: var(--white); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 14px; font-weight: 500; }
.step-num::before { content: "0"; }
.step-card h3 { font-size: 24px; line-height: 1.2; margin-top: 24px; }
.step-card p { color: var(--muted); }
.path-card { padding: 56px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; border-radius: var(--r); }
.path-card h3 { font-size: 40px; font-weight: 500 !important; letter-spacing: -0.035em; line-height: 1.1; }
.path-card p { font-size: 17px; }
.path-card.bg-dark { background: var(--ink); }
.tool-card { padding: 28px; display: flex; flex-direction: column; gap: 14px; transition: background .25s, color .25s; }
.tool-card h3 { font-size: 20px; }
.tool-card p { font-size: 15px; color: var(--muted); flex: 1; transition: color .25s; }
.tool-card .tile { width: auto; height: auto; background: none; justify-content: flex-start; }
.tool-card .link-chev { border-bottom: 0; padding-bottom: 0; }
.tool-card .ic img { transition: filter .25s; }
/* Hover inverts the card to black and white; nothing turns red. */
.tool-card:hover, .bg-soft .tool-card:hover { background: var(--ink); color: var(--white); }
.tool-card:hover p { color: var(--on-dark); }
.tool-card:hover .ic img { filter: brightness(0) invert(1); }
.tool-card .link-chev:hover { color: inherit; }
/* Google reviews (home "Client stories"). */
.review-card { margin: 0; padding: 28px; border-radius: var(--r); background: var(--soft); display: flex; flex-direction: column; gap: 18px; height: 100%; }
.review-card blockquote { margin: 0; flex: 1; font-size: 17px; line-height: 1.5; white-space: pre-line; overflow-wrap: anywhere; }
.review-card figcaption { display: flex; align-items: center; gap: 12px; }
.review-card .review-avatar { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: var(--ink); color: var(--white); font-weight: 500; }
.review-src { font-family: var(--mono); font-size: 11px; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); }
.stars { color: var(--ink); letter-spacing: 2px; font-size: 16px; line-height: 1; }
.rating-card { padding: 56px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; justify-content: center; }
.rating-card strong { font-size: 96px; font-weight: 500; letter-spacing: -0.05em; line-height: .9; }
.rating-card .stars { font-size: 22px; letter-spacing: 4px; }
.rating-card .link-chev { margin-top: 12px; }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--ph); flex-shrink: 0; }
img.avatar { object-fit: cover; }

/* Home "Trusted by" strip, after the reference's client marquee: a full-width band, the logo bars and a mono caption on the left, then full-colour logos scrolling on a loop.
   The logos are rendered twice so the track can slide by half its width without a gap. */
.trusted-strip { display: flex; align-items: center; gap: 48px; margin-top: 24px; padding-block: 20px; padding-inline-start: var(--edge); overflow: hidden; }
.trusted-intro { display: flex; align-items: center; gap: 16px; flex: 0 0 340px; }
.trusted-intro p { font-family: var(--mono); font-size: 14px; line-height: 1.5; letter-spacing: .01em; text-transform: uppercase; color: var(--muted); }
.logo-marquee { flex: 1; min-width: 0; overflow: hidden; direction: ltr; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logo-track { display: flex; align-items: center; gap: 64px; width: max-content; animation: logo-scroll 50s linear infinite; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-marquee .logo-tile { height: 64px; flex-shrink: 0; display: flex; align-items: center; }
.logo-marquee img { height: 64px; width: auto; max-width: 180px; object-fit: contain; border-radius: 8px; }
@keyframes logo-scroll { to { transform: translateX(calc(-50% - 32px)); } }
[dir="rtl"] .logo-track { animation-direction: reverse; }
@media (prefers-reduced-motion: reduce) { .logo-track { animation: none; } .logo-marquee { overflow-x: auto; } }
@media (max-width: 1100px) { .trusted-intro { flex-basis: 280px; } }
/* About page logo grid */
.logo-wall { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; }
.logo-wall .logo-tile { aspect-ratio: 1; border-radius: 18px; background: var(--white); display: flex; align-items: center; justify-content: center; padding: 12px; overflow: hidden; }
.logo-wall img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* Home hero, after the reference's "Designing the Next Generation of Brands" card: a full-height
   dark card the header floats inside, a huge headline at the top and a bottom row with stats and
   search on one side, the pitch and buttons on the other. The blurred, slowly turning Musicji mark
   stands in for the reference's blurred photo. */
.is-home .site-header { margin: 24px 24px 0; background: transparent; }
.is-home .site-header > .wrap { padding-inline: calc(var(--edge) - 24px); }
.hero-stage { position: relative; isolation: isolate; display: flex; min-height: max(680px, calc(100svh - 2 * var(--inset))); margin-top: -88px; background: #0a0a0a; }
/* Equalizer: the five bars from the Musicji logo rising and falling at different rates, like a DJ
   controller's level meter. Bars are revealed from the bottom (clip-path), so LED segments keep their shape. */
.eq { --eq-w: 8px; --eq-gap: 4px; --seg: 100%; --seg-gap: 0px; display: inline-flex; align-items: flex-end; gap: var(--eq-gap); flex-shrink: 0; }
.eq i { --d: 1.1s; --dl: 0s; width: var(--eq-w); height: 100%; background: repeating-linear-gradient(to top, var(--red) 0 var(--seg), transparent var(--seg) calc(var(--seg) + var(--seg-gap))); animation: eq-a calc(var(--d) * var(--eq-slow, 1)) ease-in-out calc(var(--dl) * var(--eq-slow, 1)) infinite alternate; }
.eq i:nth-child(2) { --d: .8s; --dl: -.4s; animation-name: eq-b; }
.eq i:nth-child(3) { --d: 1.4s; --dl: -.9s; }
.eq i:nth-child(4) { --d: 1s; --dl: -.2s; animation-name: eq-b; }
.eq i:nth-child(5) { --d: .7s; --dl: -.5s; }
@keyframes eq-a { 0% { clip-path: inset(82% 0 0 0); } 35% { clip-path: inset(15% 0 0 0); } 65% { clip-path: inset(60% 0 0 0); } 100% { clip-path: inset(0 0 0 0); } }
@keyframes eq-b { 0% { clip-path: inset(10% 0 0 0); } 40% { clip-path: inset(75% 0 0 0); } 75% { clip-path: inset(30% 0 0 0); } 100% { clip-path: inset(65% 0 0 0); } }
@media (prefers-reduced-motion: reduce) {
  .eq i { animation: none; }
  .eq i:nth-child(1) { clip-path: inset(55% 0 0 0); } .eq i:nth-child(2) { clip-path: inset(20% 0 0 0); } .eq i:nth-child(4) { clip-path: inset(40% 0 0 0); } .eq i:nth-child(5) { clip-path: inset(70% 0 0 0); }
}
/* Hero: large, blurred and slow, filling the right ~57% of the card from about a quarter of the way down
   to the bottom edge, behind the dark overlay. The bars stretch to share that width and start below the
   edge, so the blurred base is clipped and they read as rising from the bottom. */
.hero-eq { --eq-gap: 3%; --seg: 24px; --seg-gap: 10px; --eq-slow: 2.2; position: absolute; z-index: -2; inset-inline-end: 0; width: 57%; bottom: -40px; height: calc(76% + 40px); filter: blur(28px) saturate(1.2); opacity: .7; }
.hero-eq i { flex: 1; }
.trusted-eq { --eq-w: 8px; --eq-gap: 4px; height: 40px; width: 56px; justify-content: center; }
.hero-stage::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,10,10,.92) 0%, rgba(10,10,10,.55) 55%, rgba(10,10,10,.25) 100%), linear-gradient(0deg, rgba(10,10,10,.45), transparent 45%); }
.hero-s { position: relative; z-index: 1; width: 100%; max-width: none; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding-top: 156px; padding-bottom: 44px; }
.hero-top { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.hero-stage .h-display { font-size: clamp(52px, 6.4vw, 100px); line-height: 1; letter-spacing: -0.045em; max-width: 1200px; color: var(--white); }
.hero-sub { max-width: 540px; color: var(--on-dark); font-size: 16px; }
.hero-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; }
.hero-left { flex: 0 1 660px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 32px; font-family: var(--mono); font-size: 13px; font-weight: 400; letter-spacing: .01em; text-transform: uppercase; color: var(--subtle); }
.hero-meta span::before { content: "+ "; color: var(--red); }
.hero-right { flex: 0 1 440px; display: flex; flex-direction: column; gap: 24px; }
.hero-pitch { font-size: 30px; font-weight: 400; line-height: 1.18; letter-spacing: -0.03em; color: var(--white); }
.hero-stage .popular { color: var(--subtle); }
.hero-stage .btn-white:hover { background: var(--line); }
.fab { transition: transform .15s, background .15s, opacity .25s; }
body.hero-in-view .fab { opacity: 0; pointer-events: none; transform: translateY(12px); }
[dir="rtl"] .hero-stage::after { background: linear-gradient(270deg, rgba(10,10,10,.92) 0%, rgba(10,10,10,.55) 55%, rgba(10,10,10,.25) 100%), linear-gradient(0deg, rgba(10,10,10,.45), transparent 45%); }
html[lang="ar"] .hero-stage .h-display { line-height: 1.2; letter-spacing: 0; }
html[lang="ar"] .hero-pitch { letter-spacing: 0; line-height: 1.4; }
@media (max-width: 1100px) {
  .hero-bottom { flex-direction: column; align-items: stretch; }
  .hero-left, .hero-right { flex: none; }
}
@media (max-width: 768px) {
  .is-home .site-header { margin: 16px 16px 0; }
  .is-home .site-header > .wrap { padding-inline: calc(var(--edge) - 16px); }
  .hero-stage { margin-top: -68px; min-height: 0; }
  .hero-eq { --eq-gap: 4%; --seg: 12px; --seg-gap: 6px; bottom: -30px; height: calc(55% + 30px); inset-inline-end: 0; width: 70%; filter: blur(22px) saturate(1.2); opacity: .6; }
  .hero-s { padding-top: 120px; padding-bottom: 24px; gap: 36px; }
  .hero-top { gap: 20px; }
  .hero-stage .h-display { font-size: 46px; }
  .hero-pitch { font-size: 22px; }
  .hero-right { gap: 18px; order: -1; }
  .hero-bottom { gap: 28px; }
}

/* ---------- Talent / listing / article cards ---------- */
/* Talent card: the photo inset in a soft grey card, then role/city label, name, specialty tag, and a footer
   with the price (or "Quote on WhatsApp") and a round arrow. */
.t-card { display: flex; flex-direction: column; min-width: 0; height: 100%; position: relative; padding: 8px; border-radius: var(--r); background: var(--soft); transition: background .25s; }
.bg-soft .t-card { background: var(--white); }
.t-card:hover { background: var(--line); }
.t-grid-4 > div { display: flex; }
.t-grid-4 > div > .t-card { flex: 1; }
.t-photo { aspect-ratio: 1; border-radius: 18px; background: var(--ph); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.t-photo .t-img, .media .cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.t-img { transition: transform .5s ease; }
.t-card:hover .t-img { transform: scale(1.04); }
.t-save { position: absolute; top: 20px; right: 20px; width: 40px; height: 40px; border-radius: 20px; background: var(--white); display: flex; align-items: center; justify-content: center; }
.t-save[aria-pressed="true"] { background: var(--red); }
.t-save[aria-pressed="true"] img { filter: brightness(0) invert(1); }
.t-badge { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; background: rgba(10,10,10,.72); color: var(--white); font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; backdrop-filter: blur(6px); }
.t-body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px 12px 8px; }
.t-sub { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); }
.t-name { display: flex; align-items: center; gap: 6px; font-size: 22px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.2; }
.t-tag { padding: 3px 10px; border-radius: 999px; background: var(--white); font-size: 12px; font-weight: 500; color: var(--ink); }
.bg-soft .t-tag { background: var(--soft); }
.t-meta { align-self: stretch; display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; padding-top: 18px; }
.t-meta .rating { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 500; }
.t-meta .price { font-size: 14px; font-weight: 500; white-space: nowrap; }
.t-go { width: 36px; height: 36px; flex-shrink: 0; margin-inline-start: auto; border-radius: 50%; background: var(--ink); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 15px; transition: transform .25s; }
.t-go::before { content: "↗"; }
[dir="rtl"] .t-go::before { content: "↖"; }
.t-card:hover .t-go { transform: rotate(45deg); }
[dir="rtl"] .t-card:hover .t-go { transform: rotate(-45deg); }
.l-card { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.l-photo, .a-img { position: relative; overflow: hidden; }
.l-photo { aspect-ratio: 1; border-radius: 20px; background: var(--ph); display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.l-photo .t-img, .a-img .t-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.l-card:hover .t-img, .a-card:hover .t-img { transform: scale(1.04); }
.l-cond { position: absolute; top: 12px; left: 12px; z-index: 1; padding: 5px 10px; border-radius: 999px; background: var(--white); font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; }
.l-price { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
.l-title { font-size: 16px; font-weight: 500; }
.l-card:hover .l-title { color: var(--red); }
/* Article cards: grey panels with the image on top, like the reference's journal. */
.a-card { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 12px 12px 24px; border-radius: var(--r); background: var(--soft); transition: background .2s; }
.bg-soft .a-card { background: var(--white); }
.a-card > *:not(.a-img) { padding: 0 12px; }
.a-img { aspect-ratio: 1; border-radius: 16px; background: var(--ph); display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.a-meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.a-meta .pill { color: var(--ink); background: var(--white); }
.bg-soft .a-meta .pill { background: var(--soft); }
.a-card h3 { font-size: 21px; line-height: 1.25; }
.a-card:hover h3 { color: var(--red); }
.a-card p { font-size: 15px; color: var(--muted); }

/* ---------- Directory ---------- */
.dir-head { padding-top: 56px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 24px; }
.dir-body { display: flex; gap: 40px; align-items: flex-start; padding-bottom: 112px; }
.filters { width: 280px; flex-shrink: 0; display: flex; flex-direction: column; gap: 28px; padding: 28px; border-radius: var(--r); background: var(--soft); position: sticky; top: 108px; }
.filters h4 { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.f-head { display: flex; justify-content: space-between; align-items: center; }
.f-head h3 { font-size: 22px; }
.f-head button { font-size: 14px; font-weight: 500; color: var(--muted); border-bottom: 1px solid currentColor; }
.f-head button:hover { color: var(--ink); }
.check { display: flex; align-items: center; gap: 12px; cursor: pointer; margin-bottom: 12px; }
.check:last-child { margin-bottom: 0; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check .box { width: 22px; height: 22px; border-radius: 7px; border: 1px solid var(--field); background: var(--white); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.check .box .ic { visibility: hidden; }
.check input:checked + .box { background: var(--ink); border-color: var(--ink); }
.check input:checked + .box .ic { visibility: visible; }
.check input:focus-visible + .box { outline: 2px solid var(--red); outline-offset: 2px; }
.check .n { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.radio .box { border-radius: 50%; }
.radio input:checked + .box { background: var(--white); border: 7px solid var(--ink); }
.range2 { position: relative; height: 28px; }
.range2 .track { position: absolute; left: 11px; right: 11px; top: 13px; height: 2px; background: var(--field); }
.range2 .fill { position: absolute; top: 12px; height: 4px; background: var(--ink); border-radius: 2px; }
.range2 input { position: absolute; inset: 0; width: 100%; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; height: 28px; }
.range2 input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 26px; height: 26px; border-radius: 50%; background: var(--white); border: 2px solid var(--ink); cursor: pointer; }
.range2 input::-moz-range-thumb { pointer-events: auto; width: 22px; height: 22px; border-radius: 50%; background: var(--white); border: 2px solid var(--ink); cursor: pointer; }
.range2 input::-webkit-slider-runnable-track { background: none; }
.range-vals { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; font-weight: 500; margin-top: 8px; }
.switch { position: relative; width: 51px; height: 31px; flex-shrink: 0; }
.switch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 16px; background: var(--field); transition: background .15s; }
.switch span::after { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: var(--white); transition: transform .15s; box-shadow: 0 1px 2px rgba(0,0,0,.15); }
.switch input:checked + span { background: var(--red); }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.results { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.res-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.res-bar .left { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.res-bar .count { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
.sort { display: inline-flex; align-items: center; gap: 4px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); }
.sort select { border: 0; background: transparent; font-family: var(--font); font-size: 15px; font-weight: 500; color: var(--ink); cursor: pointer; padding-right: 4px; text-transform: none; letter-spacing: 0; }
.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 20px; }
.t-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.empty { padding: 48px; text-align: center; color: var(--muted); border-radius: var(--r); background: var(--soft); }
.more { display: flex; flex-direction: column; align-items: center; gap: 14px; color: var(--muted); font-family: var(--mono); font-size: 12px; letter-spacing: .02em; text-transform: uppercase; }
.more .btn { font-family: var(--font); text-transform: none; letter-spacing: 0; font-size: 16px; }
.fit-card { padding: 40px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.fit-card h3 { font-size: 26px; }
.m-filter-bar { display: none; gap: 10px; }
.m-filter-bar > * { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 999px; background: var(--soft); font-size: 15px; font-weight: 500; }
.m-filter-bar > button:first-child { background: var(--ink); color: var(--white); }
.m-filter-bar > button:first-child .ic img { filter: brightness(0) invert(1); }
.m-filter-bar select { appearance: none; -webkit-appearance: none; border: 0; text-align: center; }

/* ---------- Profile ---------- */
.media.sq { aspect-ratio: 1; height: auto; }
/* Profile gallery: the main video (or photo) beside square photos. */
.gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; }
.gallery:has(.side:not(.one)) { grid-template-columns: 1fr 1fr; }
.gallery.single { grid-template-columns: 1fr; }
.gallery .side { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start; }
.gallery .side.one { grid-template-columns: 1fr; }
.gallery .side .media { aspect-ratio: 1; }
.gallery > .media:not(.video-wrap) { aspect-ratio: 1; }
.gallery.single > .media { aspect-ratio: 16 / 9; }
.gallery.single > .media:not(.video-wrap) { aspect-ratio: 1; max-width: 560px; }
.media-btn { cursor: pointer; transition: background .15s; }
.media-btn:hover { background: #e2e2e2; }
.video-wrap { background: #000; }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.more-badge { position: absolute; right: 12px; bottom: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--ink); font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; }
.photo-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.photo-strip a { aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--ph); }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; }
.prof-body { display: flex; gap: 56px; align-items: flex-start; padding-bottom: 112px; }
.prof-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 40px; }
.stat-card { padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.stat-card strong { font-size: 32px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }
.stat-card span { font-family: var(--mono); font-size: 11px; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); }
.tabs { display: flex; gap: 32px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tabs a { padding-bottom: 14px; font-size: 17px; font-weight: 500; color: var(--muted); white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a.on { color: var(--ink); border-bottom-color: var(--red); }
.pkg { padding: 22px; display: flex; flex-direction: column; gap: 6px; text-align: left; border: 1px solid transparent; border-radius: var(--r); background: var(--soft); transition: border-color .15s; }
.pkg:hover { border-color: var(--field); }
.pkg[aria-pressed="true"] { border-color: var(--red); background: var(--white); }
.pkg strong { font-size: 18px; font-weight: 600; }
.pkg span { font-size: 14px; color: var(--muted); }
.pkg b { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
.review { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.book-panel { width: 400px; flex-shrink: 0; padding: 28px; display: flex; flex-direction: column; gap: 18px; position: sticky; top: 108px; }
.reassure { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.msg-preview { background: var(--green-bg); border-radius: 18px; padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.msg-preview .lbl { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .03em; color: var(--green); }
.msg-preview p { font-size: 14px; white-space: pre-line; word-break: break-word; }
.msg-bubble { border-radius: 18px 18px 18px 4px; }
.divider { height: 1px; background: var(--line); }
.m-book-bar { display: none; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field > span { font-size: 14px; font-weight: 500; }
.field .hint { font-size: 13px; color: var(--muted); }
.input { height: 52px; border: 1px solid var(--field); border-radius: 14px; padding: 0 16px; font-size: 15px; background: var(--white); width: 100%; outline: none; transition: border-color .15s, box-shadow .15s; }
.input::placeholder { color: var(--subtle); }
.input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(10,10,10,.06); }
select.input { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%230a0a0a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 12px 8px; background-position: right 16px center; padding-right: 38px; }
select.input.placeholder { color: var(--subtle); }
textarea.input { height: auto; min-height: 120px; padding: 14px 16px; resize: vertical; }
.fields-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fields-2.g16 { gap: 16px; }

/* ---------- Modal / sheet (WA-04 / M-05) ---------- */
.scrim { position: fixed; inset: 0; z-index: 90; background: rgba(10,10,10,.55); backdrop-filter: blur(4px); display: flex; align-items: flex-start; justify-content: center; overflow-y: auto; padding: 93px 16px 40px; animation: fade .15s ease; }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { transform: translateY(24px); opacity: 0; } }
.modal { width: 560px; max-width: 100%; background: var(--white); border-radius: 28px; padding: 32px 36px; display: flex; flex-direction: column; gap: 18px; animation: rise .2s ease; }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.modal-head .who { display: flex; align-items: center; gap: 14px; }
.modal-head .avatar { width: 52px; height: 52px; }
.modal-head h2 { font-size: 26px; line-height: 1.15; }
.icon-btn { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 999px; flex-shrink: 0; }
.icon-btn:hover { background: var(--soft); }
.qr-box { border-radius: 18px; background: var(--soft); padding: 14px; display: flex; gap: 16px; align-items: center; }
.qr { width: 88px; height: 88px; border-radius: 10px; background: var(--white); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-weight: 700; color: var(--muted); overflow: hidden; }
.qr img, .qr canvas { width: 80px !important; height: 80px !important; }
.copy-link { align-self: flex-start; font-size: 14px; font-weight: 500; text-align: left; border-bottom: 1px solid currentColor; }
.copy-link:hover { color: var(--red); }
.sheet-grip { display: none; }

/* ---------- Photo gallery overlay (js/lightbox.js) ---------- */
[data-photo] { cursor: zoom-in; }
.lb { position: fixed; inset: 0; z-index: 95; display: flex; flex-direction: column; background: rgba(10,10,10,.94); backdrop-filter: blur(8px); color: var(--white); animation: fade .2s ease; }
.lb-top { display: flex; align-items: center; justify-content: space-between; padding: 16px var(--edge); flex-shrink: 0; }
.lb-count { font-family: var(--mono); font-size: 13px; letter-spacing: .04em; color: rgba(255,255,255,.7); }
.lb-btn { width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background .15s; }
.lb-btn:hover { background: rgba(255,255,255,.2); }
.lb-btn .ic img { filter: brightness(0) invert(1); }
.lb-btn:focus-visible { outline-color: var(--white); }
.lb-stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; gap: 24px; padding: 0 var(--edge); touch-action: pan-y; }
.lb-img { max-width: min(100%, 1100px); max-height: 100%; min-width: 0; object-fit: contain; border-radius: 16px; user-select: none; -webkit-user-drag: none; transition: opacity .2s ease; }
.lb-img.swap { opacity: 0; }
.lb-nav.prev .ic { transform: scaleX(-1); }
.lb-thumbs { display: flex; gap: 8px; justify-content: center; padding: 20px var(--edge) 24px; overflow-x: auto; flex-shrink: 0; scrollbar-width: none; }
.lb-thumbs button { width: 64px; height: 64px; flex-shrink: 0; border-radius: 12px; overflow: hidden; opacity: .45; transition: opacity .15s, box-shadow .15s; }
.lb-thumbs button:hover { opacity: .8; }
.lb-thumbs button[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--white); }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 768px) {
  .lb-stage { padding: 0; gap: 0; position: relative; }
  .lb-img { border-radius: 0; }
  .lb-nav { position: absolute; top: 50%; margin-top: -22px; width: 44px; height: 44px; background: rgba(10,10,10,.5); }
  .lb-nav.prev { inset-inline-start: 12px; }
  .lb-nav.next { inset-inline-end: 12px; }
  .lb-thumbs button { width: 52px; height: 52px; }
  .lb-thumbs { justify-content: flex-start; }
}

/* ---------- Musician accounts and admin review (js/accounts.js) ---------- */
.acct { padding-top: 48px; padding-bottom: 112px; }
.acct-card { max-width: 760px; padding: 40px; display: flex; flex-direction: column; gap: 22px; }
.acct-card.acct-wide { max-width: none; }
.acct-card .btn-secondary { background: var(--white); }
.acct-card .btn-secondary:hover { background: var(--line); }
.acct-who { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.acct-plain { border-bottom: 0; padding-bottom: 0; font-size: 14px; }
.acct-plain:hover { color: var(--ink); text-decoration: underline; }
.acct-code { font-family: var(--mono); font-size: 22px; letter-spacing: .3em; max-width: 260px; }
.notice { padding: 14px 18px; border-radius: 16px; font-size: 15px; line-height: 1.5; }
.notice-info { background: var(--white); }
.notice-success { background: var(--green-pill); color: var(--green); }
.notice-warn { background: #fdf3e1; color: var(--amber); }
.notice-error { background: #fde8e7; color: #a12a24; }
.acct-results { display: flex; flex-direction: column; gap: 8px; }
.acct-result, .acct-pick { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 16px; background: var(--white); text-align: start; }
.acct-result:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.acct-pick .link-chev { margin-inline-start: auto; }
.acct-result .avatar, .acct-pick .avatar { width: 44px; height: 44px; }
.acct-bio { min-height: 200px; }
.acct-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.acct-photo, .acct-add { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--white); }
.acct-photo img { width: 100%; height: 100%; object-fit: cover; }
.acct-photo-busy { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--muted); }
.acct-main { position: absolute; top: 8px; inset-inline-start: 8px; padding: 3px 8px; border-radius: 999px; background: var(--ink); color: var(--white); font-family: var(--mono); font-size: 10px; letter-spacing: .03em; text-transform: uppercase; }
.acct-photo-tools { position: absolute; inset-inline: 6px; bottom: 6px; display: flex; gap: 4px; justify-content: flex-end; }
.acct-photo-tools button { width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.92); font-size: 14px; line-height: 1; }
.acct-photo-tools button:disabled { opacity: .35; cursor: default; }
[dir="rtl"] .acct-photo-tools button[data-dir] { transform: scaleX(-1); }
.acct-add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; cursor: pointer; font-size: 14px; font-weight: 500; box-shadow: inset 0 0 0 1px var(--field); }
.acct-add:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.adm-sec { display: flex; flex-direction: column; gap: 12px; padding-top: 8px; }
.adm-count { display: inline-flex; min-width: 26px; height: 26px; padding: 0 8px; align-items: center; justify-content: center; border-radius: 999px; background: var(--ink); color: var(--white); font-family: var(--mono); font-size: 12px; vertical-align: middle; }
.adm-item { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; padding: 20px; border-radius: 18px; background: var(--white); }
.adm-edit { flex-direction: column; align-items: stretch; }
.adm-row { align-items: center; }
.adm-compare { display: flex; flex-direction: column; gap: 8px; }
.adm-label { font-weight: 600; font-size: 14px; margin-top: 8px; }
.adm-changed { margin-inline-start: 6px; padding: 2px 8px; border-radius: 999px; background: var(--red); color: var(--white); font-size: 11px; font-weight: 500; }
.adm-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.adm-cols > div { padding: 12px 14px; border-radius: 12px; background: var(--soft); min-width: 0; overflow-wrap: anywhere; }
.adm-cols p { white-space: pre-line; font-size: 14px; }
.adm-sub { display: block; margin-bottom: 6px; font-family: var(--mono); font-size: 10px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.adm-strip { display: flex; gap: 6px; flex-wrap: wrap; }
.adm-strip img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; }
/* Musician dashboard and booking cards */
.dash-head { display: flex; align-items: center; gap: 16px; }
.dash-head .avatar { width: 64px; height: 64px; }
.dash-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.dash-tabs .chip[aria-selected="true"] { background: var(--ink); color: var(--white); box-shadow: none; }
.dash-dot { display: inline-flex; min-width: 20px; height: 20px; margin-inline-start: 6px; padding: 0 6px; align-items: center; justify-content: center; border-radius: 999px; background: var(--red); color: var(--white); font-size: 11px; font-weight: 600; }
.dash-body { display: flex; flex-direction: column; gap: 24px; }
.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dash-stat { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px; border-radius: 18px; background: var(--white); text-align: start; transition: box-shadow .15s; }
.dash-stat:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.dash-stat b { font-size: 36px; font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.dash-stat b.dash-stat-word { font-size: 17px; letter-spacing: -0.01em; line-height: 1.3; }
.dash-stat span { font-family: var(--mono); font-size: 11px; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); }
.dash-sec { display: flex; flex-direction: column; gap: 10px; }
.bk { display: flex; gap: 16px; padding: 18px; border-radius: 18px; background: var(--white); }
.bk-off { opacity: .6; }
.bk-date { width: 64px; flex-shrink: 0; height: 72px; border-radius: 14px; background: var(--ink); color: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.bk-date b { font-size: 28px; font-weight: 500; line-height: 1; }
.bk-date span { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; opacity: .75; margin-top: 4px; }
.bk-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.bk-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 17px; }
.bk-pill { padding: 2px 10px; border-radius: 999px; font-family: var(--mono); font-size: 11px; letter-spacing: .03em; text-transform: uppercase; }
.bk-offered { background: #fdf3e1; color: var(--amber); }
.bk-accepted { background: var(--green-pill); color: var(--green); }
.bk-declined, .bk-cancelled { background: var(--soft); color: var(--muted); }
.bk-facts { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; }
.bk-facts div { display: flex; gap: 6px; font-size: 14px; }
.bk-facts dt { color: var(--muted); }
.bk-facts dd { margin: 0; font-weight: 500; }
.bk-notes { white-space: pre-line; color: var(--muted); }
.bk-link { border-bottom: 1px solid currentColor; }
.adm-times { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.adm-edit .check { margin-bottom: 0; }
@media (max-width: 768px) {
  .dash-stats { grid-template-columns: 1fr 1fr; }
  .dash-stat b { font-size: 28px; }
  .bk { padding: 14px; gap: 12px; }
  .bk-date { width: 52px; height: 60px; }
  .adm-times { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
}

/* Music services (distribution, YouTube verification) on the For musicians page */
.svc-lead { color: rgba(255,255,255,.7); max-width: 620px; }
.svc-card { padding: 28px; border-radius: var(--r); background: rgba(255,255,255,.06); display: flex; flex-direction: column; gap: 12px; transition: background .25s; }
.svc-card:hover { background: rgba(255,255,255,.1); }
.svc-card .tile { width: 52px; height: 52px; border-radius: 14px; background: var(--red); margin-bottom: 12px; }
.svc-card h3 { font-size: 22px; font-weight: 600; line-height: 1.3; }
.svc-card p { font-size: 15px; line-height: 1.55; color: rgba(255,255,255,.7); }
.svc-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 32px; }
.svc-platforms { display: flex; flex-wrap: wrap; gap: 8px; }
.svc-platforms span { padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); font-size: 14px; font-weight: 500; }
@media (max-width: 900px) { .svc-foot .btn { width: 100%; } }

/* "Musician sign in" card on the For musicians page */
.signin-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 22px 24px; border-radius: var(--r); background: var(--ink); color: var(--white); transition: transform .25s, box-shadow .25s; }
.signin-card:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(10,10,10,.18); }
.signin-card:hover .btn-white { background: var(--line); }
.signin-eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.signin-title { font-size: 20px; font-weight: 600; line-height: 1.3; }
.signin-list { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; opacity: .8; margin-top: 4px; }
.signin-list span { display: inline-flex; align-items: center; gap: 6px; }
[dir="rtl"] .signin-eyebrow { font-family: inherit; letter-spacing: 0; text-transform: none; font-size: 13px; font-weight: 600; }
@media (max-width: 640px) { .signin-card { padding: 20px; } .signin-card .btn { width: 100%; } }

/* "Is this your profile?" on talent pages */
.claim-link { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 16px; background: var(--soft); font-size: 14px; font-weight: 500; transition: background .2s; }
.claim-link:hover { background: var(--line); }
.claim-link > span { flex: 1; }
@media (max-width: 768px) {
  .acct { padding-top: 20px; padding-bottom: 56px; }
  .acct-card { padding: 22px; }
  .adm-cols { grid-template-columns: 1fr; }
  .acct-photos { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 32px; transform: translateX(-50%); z-index: 100; background: var(--ink); color: var(--white); padding: 12px 20px; border-radius: 999px; font-size: 15px; font-weight: 500; box-shadow: 0 12px 28px rgba(0,0,0,.2); animation: rise .2s ease; }

/* ---------- Musicians / join ---------- */
.ben-card { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.ben-card .tile { width: 52px; height: 52px; border-radius: 14px; margin-bottom: 12px; }
.ben-card h3 { font-size: 22px; }
.ben-card p { font-size: 15px; color: var(--muted); }
/* Big numbers, like the reference's "by the numbers" row. */
.big-num { font-size: 64px; font-weight: 500; letter-spacing: -0.05em; color: var(--ink); line-height: 1; }
.big-num::before { content: "0"; }
.need-list { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.need-list span { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; }
/* FAQ rows as rounded grey pills. */
.faq-item { background: var(--soft); border-radius: 28px; margin-bottom: 8px; padding: 0 28px; transition: background .15s; }
.faq-item:hover { background: var(--line); }
.faq-item button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-size: 18px; font-weight: 500; letter-spacing: -0.01em; text-align: left; }
.faq-item button i { font-style: normal; font-size: 22px; font-weight: 400; width: 24px; text-align: center; }
.faq-item .ans { padding: 0 0 24px; color: var(--muted); max-width: 900px; }
.steps-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.steps-bar .st { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--muted); }
.steps-bar .st i { font-style: normal; width: 32px; height: 32px; border-radius: 16px; border: 1px solid var(--field); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 13px; font-weight: 500; }
.steps-bar .st.on { color: var(--ink); }
.steps-bar .st.on i { background: var(--red); border-color: var(--red); color: var(--white); }
.steps-bar .st.done i { background: var(--ink); border-color: var(--ink); color: var(--white); }
.steps-bar .ln { width: 48px; height: 1px; background: var(--field); }
.photo-pick { width: 96px; height: 96px; border-radius: 50%; background: var(--white); border: 1px solid var(--field); background-size: cover; background-position: center; flex-shrink: 0; }

/* ---------- Tools ---------- */
.tool-hero { padding-top: 56px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 18px; }
.tool-hero p { max-width: 820px; }
.big-tool { padding: 28px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.big-tool .media { width: 100%; height: 220px; background: var(--white); }
.big-tool h3 { font-size: 24px; }
.big-tool p { color: var(--muted); }
.big-tool .tile { width: 48px; height: 48px; border-radius: 14px; }
.calc-grid { display: flex; gap: 32px; align-items: flex-start; padding-bottom: 112px; }
.calc-inputs { flex: 1; min-width: 0; padding: 40px; display: flex; flex-direction: column; gap: 32px; }
.calc-inputs h4 { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); }
.calc-inputs .grp { display: flex; flex-direction: column; gap: 12px; }
.result-card { width: 440px; flex-shrink: 0; padding: 32px; display: flex; flex-direction: column; gap: 18px; position: sticky; top: 108px; }
.result-card > strong { font-weight: 500 !important; letter-spacing: -0.04em; font-size: 52px !important; }
.kv { display: flex; justify-content: space-between; gap: 16px; }
.kv span { color: var(--muted); }
.kv b { font-weight: 500; }
.note { display: flex; gap: 8px; font-size: 14px; color: var(--muted); }
.inv-grid { display: flex; gap: 32px; align-items: flex-start; padding-bottom: 112px; }
.inv-form { width: 600px; flex-shrink: 0; display: flex; flex-direction: column; gap: 12px; }
.inv-step { padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.inv-step.closed { border: 1px solid transparent; }
.inv-step.open { background: var(--white); border: 1px solid var(--ink) !important; }
.inv-step-head { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; }
.inv-step-head i { font-style: normal; width: 32px; height: 32px; border-radius: 16px; background: var(--white); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 13px; font-weight: 500; flex-shrink: 0; }
.inv-step.open .inv-step-head i { background: var(--soft); }
.inv-step-head i.ok { background: var(--ink); }
.inv-step-head strong { flex: 1; font-size: 18px; font-weight: 500; }
.inv-step-head em { font-style: normal; font-size: 22px; font-weight: 500; color: var(--muted); }
.svc-row { display: grid; grid-template-columns: 266fr 90fr 56fr 100fr 28px; gap: 12px; align-items: center; }
.svc-row input { height: 48px; border: 1px solid var(--field); border-radius: 12px; padding: 12px; font-size: 15px; width: 100%; min-width: 0; outline: none; }
.svc-row input:focus { border-color: var(--ink); }
.svc-head { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); }
.inv-preview { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 16px; position: sticky; top: 108px; }
.a4 { padding: 48px; display: flex; flex-direction: column; gap: 20px; background: var(--white) !important; border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(10,10,10,.2); }
.a4 .lbl { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .03em; color: var(--muted); }
.tuner-grid { display: flex; gap: 32px; align-items: flex-start; padding-bottom: 112px; }
.tuner-display { flex: 1; min-width: 0; padding: 48px; display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.note-big { font-size: 160px; font-weight: 500; letter-spacing: -0.06em; line-height: 1; min-height: 160px; }
.tune-state { font-size: 22px; font-weight: 500; }
.tune-state.flat, .tune-state.sharp { color: var(--amber); }
.tune-state.ok { color: var(--green); }
.meter { position: relative; width: 560px; max-width: 100%; height: 64px; display: flex; align-items: center; justify-content: space-between; }
.meter i { width: 2px; height: 22px; background: var(--field); }
.meter i.major { height: 40px; }
.meter i.mid { background: var(--green); height: 40px; }
.meter .needle { position: absolute; top: 4px; left: 50%; width: 4px; height: 56px; margin-left: -2px; border-radius: 2px; background: var(--red); transition: left .12s ease-out; }
.meter-lbl { width: 560px; max-width: 100%; display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.meter-lbl b { color: var(--green); font-weight: 500; }
.strings { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.str { width: 64px; height: 64px; border-radius: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; background: var(--white); }
.str b { font-size: 22px; font-weight: 500; line-height: 1.1; }
.str small { font-family: var(--mono); font-size: 10px; font-weight: 500; color: var(--muted); }
.str.done { background: var(--green-pill); color: var(--green); }
.str.done small { color: var(--green); }
.str.cur { background: var(--ink); color: var(--white); }
.str.cur small { color: var(--white); }
.tuner-side { width: 420px; flex-shrink: 0; display: flex; flex-direction: column; gap: 16px; }
.tuner-side h4 { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); }
.stepper { display: flex; align-items: center; justify-content: space-between; }
.stepper div { display: flex; gap: 8px; }
.stepper button { width: 36px; height: 36px; border-radius: 999px; background: var(--white); font-size: 20px; font-weight: 500; }
.stepper button:hover { background: var(--line); }
.howto li { display: flex; gap: 12px; font-size: 15px; }
.howto li b { font-family: var(--mono); font-weight: 500; color: var(--red); }
.howto ol { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }

/* Marketplace */
.mk-search { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-radius: 999px; background: var(--soft); }
.mk-search:focus-within { box-shadow: inset 0 0 0 1px var(--ink); }
.mk-search input { flex: 1; border: 0; background: transparent; font-size: 16px; outline: none; }
.mk-search input::placeholder { color: var(--subtle); }
.mk-search .ic img { filter: invert(1) brightness(.4); }
.l-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 20px; }
.thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.thumbs button { height: 100px; border-radius: 18px; background: var(--ph); display: flex; align-items: center; justify-content: center; }
.thumbs button[aria-current="true"] { box-shadow: inset 0 0 0 2px var(--ink); }
.spec-row { display: flex; justify-content: space-between; gap: 16px; }
.spec-row span { font-family: var(--mono); font-size: 12px; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); }
.spec-row b { font-weight: 500; text-align: right; }
.inline-actions { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; flex-wrap: wrap; }
.inline-actions button { display: inline-flex; align-items: center; gap: 6px; }
.inline-actions button:hover { color: var(--red); }

/* Article */
.art-body p { font-size: 18px; line-height: 1.7; }
.ev-row { display: flex; gap: 12px; }
.ev-row strong { display: block; font-size: 16px; font-weight: 600; }
.ev-row span { font-size: 14px; color: var(--muted); }
.ev-row a span { text-decoration: underline; }

/* Quiz */
.quiz { max-width: 760px; padding: 40px; display: flex; flex-direction: column; gap: 24px; }
.quiz .opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quiz .opt { padding: 16px 20px; border-radius: 18px; background: var(--white); text-align: left; font-weight: 500; transition: box-shadow .15s; }
.quiz .opt:hover:not(:disabled) { box-shadow: inset 0 0 0 1px var(--ink); }
.quiz .opt.right { background: var(--green-pill); box-shadow: inset 0 0 0 1px var(--green); color: var(--green); }
.quiz .opt.wrong { box-shadow: inset 0 0 0 1px var(--amber); color: var(--amber); }
.quiz[dir="rtl"] .opt { text-align: right; }
.quiz-fact { background: var(--white); border-radius: 18px; padding: 16px 18px; }
.progress { height: 4px; border-radius: 2px; background: var(--white); overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--red); }

/* ---------- Load / scroll-in animation (classes added by app.js) ----------
   From the reference: opacity 0, blur 5px, 50px lower → in place over 1.2s with an out-quart ease,
   blur clearing over 0.6s; --rd staggers items. */
:root { --ease-out-quart: cubic-bezier(.25, 1, .5, 1); }
.reveal { opacity: 0; transform: translateY(50px); filter: blur(5px); transition: opacity 1.2s var(--ease-out-quart) var(--rd, 0s), transform 1.2s var(--ease-out-quart) var(--rd, 0s), filter .6s ease var(--rd, 0s); }
.reveal.in { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
}

/* ---------- Visibility helpers ---------- */
.m-only { display: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .nav { gap: 22px; }
  .h-display { font-size: 64px; }
  .hero-media { width: 420px; height: 500px; }
  .book-panel { width: 360px; }
  .result-card { width: 380px; }
  .inv-form { width: 520px; }
  .tuner-side { width: 360px; }
}
@media (max-width: 1100px) {
  .nav { display: none; }
  .site-header .lang { display: none; }
  .site-header .lang-toggle { display: none; }
  .grid-4, .t-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .t-grid, .l-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { flex-direction: column; align-items: stretch; }
  .hero-media { width: 100%; height: 380px; }
  .prof-body, .calc-grid, .inv-grid, .tuner-grid { flex-direction: column; align-items: stretch; }
  .book-panel, .result-card, .inv-form, .tuner-side { width: 100%; position: static; }
  .inv-preview { position: static; }
  .m-header-actions { display: flex; }
  .site-header .actions { display: none; }
  .logo-wall { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
  :root { --edge: 24px; --inset: 8px; --r: 20px; }
  .m-only { display: revert !important; }
  .d-only { display: none !important; }
  .site-header { border-radius: 18px; }
  .site-header .wrap { height: 60px; }
  .logo-img { height: 32px; }
  .section { padding-top: 56px; padding-bottom: 56px; }
  .h-display { font-size: 42px; line-height: 1.05; }
  .h1, .h1-44 { font-size: 34px; }
  .h2 { font-size: 32px; }
  .lead, .lead-18, .lead-19 { font-size: 16px; }
  .sec-head { margin-bottom: 24px; align-items: flex-start; flex-direction: column; gap: 12px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .grid-4.cats { grid-template-columns: 1fr 1fr; gap: 8px; }
  .cat-card { padding: 16px; gap: 6px; }
  .cat-card .name { font-size: 18px; }
  .cat-card .count { display: none; }
  .cat-card .tile { background: none; width: auto; height: auto; justify-content: flex-start; }
  .cat-card .cat-img { width: 64px; height: 64px; border-radius: 14px; }
  .hero { padding-top: 36px; padding-bottom: 28px; gap: 24px; }
  .hero-copy { gap: 20px; }
  .hero-media { height: 220px; border-radius: 16px; order: 2; }
  .hero-collage { height: 260px !important; }
  .search-bar { flex-direction: column; padding: 6px; border-radius: 20px; }
  .search-bar label { border-right: 0; border-bottom: 1px solid var(--line); padding: 12px 14px; }
  .search-bar input, .search-bar select { font-size: 15px; }
  .search-btn { justify-content: center; margin-top: 6px; padding: 15px; border-radius: 14px; }
  .popular { display: none; }
  .logo-ph { flex-shrink: 0; width: 120px; }
  .steps-m { display: flex; flex-direction: column; gap: 8px; }
  .step-card { padding: 16px; flex-direction: row; align-items: center; gap: 14px; background: var(--white); }
  .step-card p { display: none; }
  .step-card h3 { font-size: 17px; margin-top: 0; }
  .path-card { padding: 32px 22px; }
  .path-card h3 { font-size: 30px; }
  .grid-4.reviews { grid-template-columns: 1fr; gap: 12px; }
  .review-card { padding: 22px; }
  .rating-card { padding: 28px 22px; }
  .rating-card strong { font-size: 72px; }
  .t-grid, .t-grid-4 { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
  .l-grid { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
  .t-photo { border-radius: 14px; }
  .t-card { padding: 6px; border-radius: 18px; }
  .t-body { padding: 12px 6px 6px; gap: 4px; }
  .t-sub { font-size: 10px; }
  .t-go { width: 30px; height: 30px; font-size: 13px; }
  .t-meta { padding-top: 12px; }
  .l-photo { border-radius: 16px; }
  .t-name { font-size: 17px; }
  .t-meta .price { font-size: 12px; white-space: normal; }
  .t-meta .rating { font-size: 13px; }
  .t-save { width: 34px; height: 34px; top: 14px; right: 14px; }
  .t-badge { left: 8px; bottom: 8px; font-size: 10px; }
  .fit-card { flex-direction: column; align-items: flex-start; padding: 24px; }
  .site-footer { padding: 40px 0 0; }
  .foot-cols { flex-direction: column; gap: 32px; }
  .foot-brand { width: 100%; }
  .foot-brand p { font-size: 19px; }
  .foot-bottom { margin-top: 40px; }
  .fab { right: 16px; bottom: 16px; padding: 14px; }
  .fab > span:not(.ic) { display: none; }
  body.has-book-bar .fab { bottom: 112px; }
  body.has-book-bar .site-footer { margin-bottom: 96px; }
  .dir-head { padding-top: 24px; padding-bottom: 0; gap: 14px; }
  .dir-head .crumbs, .dir-head .shortlist-btn { display: none; }
  .dir-head .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; margin: 0 calc(-1 * var(--gutter)); padding-left: var(--gutter); padding-right: var(--gutter); scrollbar-width: none; }
  .m-filter-bar { display: flex; }
  .dir-body { padding-top: 20px; padding-bottom: 56px; }
  .filters { position: fixed; inset: 0; z-index: 85; background: var(--white); width: auto; padding: 24px 20px 120px; overflow-y: auto; display: none; border-radius: 0; }
  .filters.open { display: flex; }
  .filters .apply { position: fixed; left: 0; right: 0; bottom: 0; padding: 16px 20px 30px; background: var(--white); border-top: 1px solid var(--line); }
  .res-bar .sort, .res-bar .count { display: none; }
  .gallery { display: block; margin: 0 calc(-1 * var(--gutter) + var(--inset)); }
  .gallery .side { display: none; }
  .gallery .media { border-radius: 20px; aspect-ratio: 16 / 9; }
  .gallery .media:not(.video-wrap) { aspect-ratio: 1; max-width: none; }
  .prof-gallery { padding-top: 12px !important; padding-bottom: 16px !important; }
  .prof-gallery .crumbs { display: none; }
  .prof-body { padding-bottom: 48px; gap: 24px; }
  .prof-main { gap: 28px; }
  .stats { grid-template-columns: repeat(3, 1fr) !important; gap: 8px !important; }
  .stats .stat-card:nth-child(3) { display: none; }
  .stat-card { padding: 14px; }
  .stat-card strong { font-size: 22px; }
  .stat-card span { font-size: 10px; }
  .book-panel.d-only { display: none !important; }
  .m-book-bar { display: flex; position: fixed; left: 8px; right: 8px; bottom: 8px; z-index: 60; background: var(--ink); color: var(--white); border-radius: 20px; padding: 12px 12px 12px 18px; gap: 12px; align-items: center; justify-content: space-between; }
  .m-book-bar .muted { color: var(--on-dark); }
  .m-book-bar .btn { padding: 14px 20px; }
  .scrim { padding: 0; align-items: flex-end; }
  .scrim .modal { width: 100%; border-radius: 28px 28px 0 0; padding: 12px 20px 34px; max-height: 92vh; overflow-y: auto; animation: sheet .22s ease; }
  @keyframes sheet { from { transform: translateY(100%); } }
  .sheet-grip { display: block; width: 40px; height: 5px; border-radius: 3px; background: var(--line); margin: 0 auto; }
  .modal-head h2 { font-size: 22px; }
  .qr-box { display: none; }
  .calc-inputs, .tuner-display, .big-tool, .quiz { padding: 24px; }
  .result-card > strong { font-size: 40px !important; }
  .note-big { font-size: 104px; min-height: 104px; }
  .svc-row { grid-template-columns: 1fr 70px 44px 80px 24px; gap: 6px; }
  .svc-row input { padding: 10px 8px; font-size: 14px; }
  .a4 { padding: 24px; }
  .fields-2 { grid-template-columns: 1fr; }
  .fields-2.keep { grid-template-columns: 1fr 1fr; }
  .quiz .opts { grid-template-columns: 1fr; }
  .thumbs { gap: 8px; }
  .thumbs button { height: 64px; border-radius: 12px; }
  .steps-bar .ln { width: 16px; }
  .steps-bar .st span { display: none; }
  .steps-bar .st.on span { display: inline; }
  .big-num { font-size: 48px; }
  .faq-item { padding: 0 20px; border-radius: 22px; }
  .faq-item button { font-size: 16px; padding: 18px 0; }
}

/* Print: only the invoice */
@media print {
  body * { visibility: hidden; }
  #invoice-sheet, #invoice-sheet * { visibility: visible; }
  #invoice-sheet { position: absolute; left: 0; top: 0; width: 100%; border: 0; box-shadow: none; }
}

/* ---------- Arabic (RTL) ----------
   Flex rows and text alignment mirror automatically from <html dir="rtl">; these rules cover
   what is positioned or aligned by hand. Geist keeps rendering Latin text and digits. */
/* Geist Mono has no Arabic and its fixed-width spaces open wide gaps, so Arabic labels use the text font. */
html[lang="ar"] { --mono: var(--font); }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] .m-menu-list a strong { letter-spacing: 0; }
html[lang="ar"] .h-display, html[lang="ar"] .h1, html[lang="ar"] .h1-44, html[lang="ar"] .h2, html[lang="ar"] .path-card h3 { line-height: 1.3; }
html[lang="ar"] .eyebrow, html[lang="ar"] .badge-line, html[lang="ar"] .crumbs, html[lang="ar"] .filters h4, html[lang="ar"] .calc-inputs h4 { letter-spacing: 0; font-size: 13px; }
[dir="rtl"] .eyebrow { padding: 5px 10px 5px 12px; }
[dir="rtl"] .ic img[src*="chevron"] { transform: scaleX(-1); }
[dir="rtl"] .nav-dd .ic img[src*="chevron"] { transform: none; }
[dir="rtl"] .dd-menu { left: auto; right: -16px; }
[dir="rtl"] .lang { direction: ltr; }
[dir="rtl"] .fab { right: auto; left: 32px; }
[dir="rtl"] .search-bar label { border-right: 0; border-left: 1px solid var(--line); }
[dir="rtl"] .search-bar label:nth-of-type(3) { border-left: 0; }
[dir="rtl"] .t-save { right: auto; left: 20px; }
[dir="rtl"] .t-badge { left: auto; right: 12px; }
[dir="rtl"] .l-cond { left: auto; right: 12px; }
[dir="rtl"] .hero-collage span { left: auto; right: 12px; }
[dir="rtl"] .more-badge { right: auto; left: 12px; }
[dir="rtl"] select.input { background-position: left 16px center; padding-right: 16px; padding-left: 38px; }
[dir="rtl"] .sort select { padding-right: 0; padding-left: 4px; }
[dir="rtl"] .switch span::after { left: auto; right: 2px; }
[dir="rtl"] .switch input:checked + span::after { transform: translateX(-20px); }
[dir="rtl"] .pkg, [dir="rtl"] .faq-item button, [dir="rtl"] .copy-link, [dir="rtl"] .inv-step-head, [dir="rtl"] .quiz .opt { text-align: right; }
[dir="rtl"] .spec-row b { text-align: left; }
[dir="rtl"] .m-book-bar { padding: 12px 18px 12px 12px; }
[dir="rtl"] .m-menu-top { padding: 0 20px 0 12px; }
/* Budget slider, tuner meter and string row stay left-to-right: they are number lines. */
[dir="rtl"] .range2, [dir="rtl"] .range-vals, [dir="rtl"] .meter, [dir="rtl"] .meter-lbl, [dir="rtl"] .strings { direction: ltr; }
[dir="rtl"] input[type="email"], [dir="rtl"] input[type="url"], [dir="rtl"] input[type="tel"] { direction: ltr; text-align: right; }
@media (max-width: 768px) {
  [dir="rtl"] .fab { right: auto; left: 16px; }
  [dir="rtl"] .search-bar label { border-left: 0; }
  [dir="rtl"] .t-save { right: auto; left: 14px; }
  [dir="rtl"] .t-badge { left: auto; right: 8px; }
  /* About's fixed-width badge would overflow to the left (and scroll the page) in RTL. */
  [dir="rtl"] .hero-media { max-width: 100%; }
}
