/* ═══════════════════════════════════════════════════════════════════
   RENDER marketing site — cinematic production-house layout in the
   RENDER identity (navy #1C2A41, yellow #F4D140, Almarai / Reem Kufi).
   Loaded after style.css on public pages.
   ═══════════════════════════════════════════════════════════════════ */

:root { --navy-3: #131d2e; --navy-4: #0e1624; --glow: rgba(244, 209, 64, .16); }
html { scroll-behavior: smooth; }
body.site { background: #f6f7f9; }
.hl { color: var(--yellow); }
.kicker { font-family: var(--accent-font); font-size: 12.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); display: inline-flex; align-items: center; gap: 10px; }
.kicker::before { content: ''; width: 14px; height: 11px; flex: none; background: linear-gradient(currentColor 0 0) top / 100% 2px no-repeat, linear-gradient(currentColor 0 0) center / 100% 2px no-repeat, linear-gradient(currentColor 0 0) bottom / 100% 2px no-repeat; }
.dark .kicker, .kicker.on-dark { color: var(--yellow); }
.h-xl { font-weight: 800; font-size: clamp(30px, 4.2vw, 50px); line-height: 1.08; letter-spacing: -.02em; margin: 12px 0 14px; color: var(--ink); }
.dark .h-xl { color: #fff; }
.sub { font-size: 17px; line-height: 1.75; color: var(--ink-2); max-width: 60ch; margin: 0; }
.dark .sub { color: rgba(255, 255, 255, .72); }
.sec { padding: 96px 0; position: relative; }
.sec.tight { padding: 64px 0; }
.sec.white { background: #fff; }
.sec.dark { background: var(--navy); color: rgba(255, 255, 255, .78); overflow: hidden; }
.sec.dark h2, .sec.dark h3 { color: #fff; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.sec-head.center { flex-direction: column; align-items: center; text-align: center; }
.sec-head.center .sub { margin: 0 auto; }
@media (max-width: 640px) { .sec { padding: 68px 0; } .sec.tight { padding: 48px 0; } }

/* Buttons */
.btn.pill { border-radius: 999px; height: 50px; padding: 0 24px; font-size: 14.5px; gap: 10px; }
.btn.pill.sm { height: 40px; padding: 0 18px; font-size: 13px; }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }
.btn.glass { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .28); color: #fff; backdrop-filter: blur(6px); }
.btn.glass:hover { background: rgba(255, 255, 255, .14); }
.btn.yellow:hover { box-shadow: 0 10px 30px -10px rgba(244, 209, 64, .7); }

/* Grain / grid backdrops */
.grid-bg { position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%); }
.glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, var(--glow), transparent 65%); pointer-events: none; }

/* ───────── Header (floating, mega menu) ───────── */
.site-header.x { position: sticky; top: 0; z-index: 50; background: var(--navy); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); transition: box-shadow .25s; }
.site-header.x.scrolled { box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .6); }
.site-header.x .wrap { height: 76px; gap: 18px; }
.site-header.x .brand-logo { width: 128px; }
.site-header.x .nav { gap: 2px; }
.site-header.x .nav > a, .site-header.x .nav .dd > button { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: none; color: rgba(255, 255, 255, .8); padding: 9px 13px; border-radius: 999px; background: none; border: 0; cursor: pointer; font-family: inherit; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.site-header.x .nav > a:hover, .site-header.x .nav .dd > button:hover, .site-header.x .nav .dd.open > button { color: #fff; background: rgba(255, 255, 255, .08); }
.site-header.x .nav > a.on, .site-header.x .nav .dd.on > button { color: var(--yellow); }
.site-header.x .nav .btn { margin-left: 10px; }
.site-header.x .nav > a.btn.yellow { background: var(--yellow); color: var(--navy); padding: 0 18px; height: 40px; border-radius: 999px; }
.site-header.x .nav > a.btn.yellow:hover { background: var(--yellow); color: var(--navy); box-shadow: 0 10px 30px -10px rgba(244, 209, 64, .7); }
.dd { position: relative; }
.dd > button svg { transition: transform .2s; }
.dd.open > button svg { transform: rotate(180deg); }
.mega { position: absolute; top: calc(100% + 14px); left: 50%; transform: translate(-50%, 8px); width: min(760px, 92vw); background: #fff; border-radius: 20px; box-shadow: 0 30px 60px -20px rgba(14, 22, 36, .45); padding: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s; }
.dd.open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega a { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; text-decoration: none; color: var(--ink); transition: background .15s; }
.mega a:hover { background: #f4f5f8; }
.mega a .mi { width: 40px; height: 40px; border-radius: 12px; background: var(--navy); color: var(--yellow); display: grid; place-items: center; flex: none; }
.mega a b { display: block; font-size: 14px; }
.mega a small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.mega .all { grid-column: 1 / -1; justify-content: space-between; background: #f4f5f8; font-weight: 800; font-size: 13.5px; }
@media (max-width: 1060px) {
  .site-header.x .nav-toggle { display: inline-flex; }
  .site-header.x .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--navy-3); padding: 10px 16px 20px; max-height: calc(100vh - 76px); overflow: auto; }
  .site-header.x .nav.open { display: flex; }
  .site-header.x .nav > a, .site-header.x .nav .dd > button { border-radius: 10px; padding: 11px 10px; width: 100%; justify-content: space-between; font-size: 15px; }
  .mega { position: static; transform: none; width: auto; opacity: 1; visibility: visible; display: none; grid-template-columns: 1fr; background: rgba(255, 255, 255, .04); box-shadow: none; padding: 6px; margin: 4px 0 8px; }
  .dd.open .mega { display: grid; transform: none; }
  .mega a { color: #fff; }
  .mega a:hover, .mega .all { background: rgba(255, 255, 255, .06); }
  .mega a small { color: rgba(255, 255, 255, .55); }
  .site-header.x .nav .btn { margin: 14px 0 0 !important; width: 100%; height: 48px; justify-content: center; display: flex !important; color: var(--navy); }
}
@media (min-width: 1061px) { .site-header.x .nav-toggle { display: none; } .site-header.x .nav { display: flex !important; position: static; } }

/* ───────── Studio block ───────── */
.studio-x { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.studio-x .shots { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: 520px; }
.studio-x .shots figure { margin: 0; border-radius: 18px; overflow: hidden; position: relative; }
.studio-x .shots figure:first-child { grid-row: span 2; }
.studio-x .shots img { width: 100%; height: 100%; object-fit: cover; }
.studio-x .badge-live { position: absolute; left: 16px; top: 16px; display: inline-flex; gap: 8px; align-items: center; background: rgba(14, 22, 36, .7); backdrop-filter: blur(6px); color: #fff; font-family: var(--accent-font); font-size: 11px; letter-spacing: .18em; padding: 8px 12px; border-radius: 999px; }
.studio-x .badge-live::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #43d17a; box-shadow: 0 0 10px #43d17a; }
.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 26px 0 30px; }
.spec-list div { border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px; padding: 14px 16px; background: rgba(255, 255, 255, .03); }
.spec-list b { display: block; font-family: var(--accent-font); color: var(--yellow); font-size: 20px; font-weight: 600; }
.spec-list span { font-size: 13px; color: rgba(255, 255, 255, .65); }
@media (max-width: 900px) { .studio-x { grid-template-columns: minmax(0, 1fr); gap: 36px; } .studio-x .shots { height: 380px; } }
@media (max-width: 560px) { .studio-x .shots { height: 300px; } .spec-list { grid-template-columns: 1fr 1fr; } }

/* ───────── Page hero (inner pages) ───────── */
.page-x { position: relative; background: var(--navy); color: rgba(255, 255, 255, .78); padding: 84px 0 76px; overflow: hidden; isolation: isolate; }
.page-x .bgimg { position: absolute; inset: 0; z-index: -2; }
.page-x .bgimg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.page-x::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(28, 42, 65, .96) 30%, rgba(28, 42, 65, .6)); }
.page-x .crumb { font-size: 13px; color: rgba(255, 255, 255, .55); }
.page-x .crumb a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.page-x h1 { color: #fff; font-weight: 800; font-size: clamp(34px, 5.4vw, 64px); line-height: 1.04; letter-spacing: -.025em; margin: 16px 0 14px; max-width: 18ch; }
.page-x p.lead-x { font-size: 18px; line-height: 1.7; max-width: 58ch; margin: 0; color: rgba(255, 255, 255, .78); }
.page-x .hero-actions { margin-top: 30px; }
@media (max-width: 640px) { .page-x { padding: 40px 0 36px; } .page-x h1 { margin: 10px 0 10px; } .page-x p.lead-x { font-size: 15.5px; line-height: 1.6; } .page-x .hero-actions { margin-top: 20px; } }

/* ───────── Service detail ───────── */
.types-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.type-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; position: relative; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.type-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--yellow); transform: scaleY(0); transform-origin: bottom; transition: transform .3s; }
.type-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.type-card:hover::before { transform: scaleY(1); }
.type-card .num { font-family: var(--accent-font); color: var(--gold); font-size: 13px; letter-spacing: .14em; }
.type-card h3 { margin: 8px 0 6px; font-size: 18px; font-weight: 800; }
.type-card p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.65; }
@media (max-width: 900px) { .types-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .types-grid { grid-template-columns: minmax(0, 1fr); } }
.includes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.includes div { display: flex; gap: 12px; align-items: center; padding: 18px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); color: #fff; font-weight: 700; font-size: 14.5px; }
.includes div::before { content: ''; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%231c2a41' stroke-width='2'/%3E%3C/svg%3E") center / 14px no-repeat; }
@media (max-width: 1000px) { .includes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .includes { grid-template-columns: minmax(0, 1fr); } }
/* Studio equipment (studio page): one row of product cards per kind of light */
.gear-group + .gear-group { margin-top: 40px; }
.gg-head { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; color: #fff; }
.gc-ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--yellow); color: var(--navy); flex: none; }
.gg-head small { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--yellow); }
.gg-head b { display: block; font-size: 22px; font-weight: 800; margin-top: 2px; }
.gp-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.gp { border-radius: 16px; overflow: hidden; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); color: #fff; display: flex; flex-direction: column; transition: transform .25s, border-color .25s; }
.gp:hover { transform: translateY(-3px); border-color: rgba(244, 209, 64, .5); }
.gp-pic { position: relative; aspect-ratio: 1 / 1; background: #fff; display: grid; place-items: center; }
.gp-pic img { width: 86%; height: 86%; object-fit: contain; }
.gp-ph { color: rgba(28, 42, 65, .28); }
.gp-q { position: absolute; top: 10px; inset-inline-start: 10px; background: var(--navy); color: var(--yellow); font-weight: 800; font-size: 13px; border-radius: 999px; padding: 4px 10px; }
.gp-txt { padding: 12px 14px 14px; }
.gp-txt small { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .5); margin-bottom: 3px; }
.gp-txt b { display: block; font-size: 14.5px; line-height: 1.3; font-weight: 800; }
@media (max-width: 1000px) { .gp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .gp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .gp-txt { padding: 10px 12px 12px; } .gp-txt b { font-size: 13.5px; } }
.svc-nav { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.svc-nav a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 700; font-size: 14.5px; transition: border-color .2s, transform .2s; }
.svc-nav a:hover { border-color: var(--navy); transform: translateY(-2px); }
.svc-nav a .mi { width: 36px; height: 36px; border-radius: 10px; background: var(--navy); color: var(--yellow); display: grid; place-items: center; flex: none; }

/* ───────── Split + photo helpers ───────── */
.split-x { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: center; }
.split-x .photo-x { border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3.4; position: relative; box-shadow: 0 30px 60px -36px rgba(14, 22, 36, .6); }
.split-x .photo-x img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .split-x { grid-template-columns: minmax(0, 1fr); gap: 34px; } }

/* ───────── Footer ───────── */
.site-footer.x { background: var(--navy-4); padding: 72px 0 28px; color: rgba(255, 255, 255, .62); }
.site-footer.x .cols { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr; gap: 40px; }
.site-footer.x h5 { font-family: var(--accent-font); color: var(--yellow); letter-spacing: .16em; text-transform: uppercase; font-size: 12px; margin: 0 0 18px; }
.site-footer.x .links { display: flex; flex-direction: column; gap: 10px; }
.site-footer.x a { color: rgba(255, 255, 255, .75); text-decoration: none; font-size: 14.5px; }
.site-footer.x a:hover { color: var(--yellow); }
.site-footer.x .about p { margin: 18px 0 20px; max-width: 36ch; line-height: 1.75; font-size: 14.5px; }
.site-footer.x .bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.site-footer.x .bottom a { font-size: 13px; }
.socials { display: flex; gap: 8px; }
.socials a { width: 38px; height: 38px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .14); display: grid; place-items: center; }
@media (max-width: 900px) { .site-footer.x .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) {
  /* Phone: a short footer. Links wrap in rows, the about text and the services column (only the studio for now) are dropped. */
  .site-footer.x { padding: 34px 0 18px; }
  .site-footer.x .cols { grid-template-columns: 1fr 1fr; gap: 22px 16px; }
  .site-footer.x .about { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; }
  .site-footer.x .about p, .site-footer.x .f-svc { display: none; }
  .site-footer.x .about .brand-logo { width: 110px; }
  .site-footer.x h5 { margin-bottom: 10px; }
  .site-footer.x .links { gap: 7px; }
  .site-footer.x .links a { font-size: 13.5px; overflow-wrap: anywhere; }
  .site-footer.x .bottom { margin-top: 24px; padding-top: 16px; font-size: 12px; }
}

/* ───────── Reveal on scroll ───────── */
html.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
html.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { opacity: 1; transform: none; }
  .hero-x .bg img, .marquee .track, .vf .rec::before, .vf .bars b, .scroll-cue::after { animation: none; }
}

/* ───────── Project request wizard ───────── */
.wz { position: fixed; inset: 0; z-index: 120; background: rgba(14, 22, 36, .62); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 16px; animation: fadeIn .2s; }
.wz-box { width: min(760px, 100%); max-height: calc(100svh - 32px); overflow: auto; background: #fff; border-radius: 24px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5); }
.wz-head { position: sticky; top: 0; z-index: 2; background: var(--navy); color: #fff; padding: 22px 26px 18px; }
.wz-head .row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.wz-head h2 { color: #fff; margin: 0; font-size: 22px; font-weight: 800; }
.wz-x { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: none; color: #fff; cursor: pointer; font-size: 16px; }
.wz-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 16px; }
.wz-steps span { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .15); }
.wz-steps span.on { background: var(--yellow); }
.wz-step-label { font-family: var(--accent-font); font-size: 11px; letter-spacing: .18em; color: var(--yellow); margin-top: 10px; }
.wz-body { padding: 24px 26px; }
.wz-body h3 { margin: 0 0 4px; font-size: 20px; font-weight: 800; }
.wz-body > p { margin: 0 0 18px; color: var(--muted); }
.wz-svcs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.wz-svcs label { position: relative; cursor: pointer; }
.wz-svcs input { position: absolute; opacity: 0; pointer-events: none; }
.wz-svcs .opt { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 16px; border-radius: 16px; border: 1.5px solid var(--line); transition: border-color .15s, background .15s; }
.wz-svcs .opt .mi { width: 38px; height: 38px; border-radius: 11px; background: #f2f3f6; color: var(--navy); display: grid; place-items: center; }
.wz-svcs .opt b { font-size: 14.5px; color: var(--ink); }
.wz-svcs .opt small { color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.wz-svcs input:checked + .opt { border-color: var(--navy); background: #f6f7fa; }
.wz-svcs input:checked + .opt .mi { background: var(--navy); color: var(--yellow); }
.wz-svcs input:focus-visible + .opt { outline: 2px solid var(--yellow); outline-offset: 2px; }
@media (max-width: 640px) { .wz-svcs { grid-template-columns: 1fr 1fr; } .wz-body, .wz-head { padding-left: 18px; padding-right: 18px; } }
.wz-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.wz-chips label input { position: absolute; opacity: 0; pointer-events: none; }
.wz-chips label span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 13.5px; cursor: pointer; font-weight: 700; color: var(--ink-2); }
.wz-chips label input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.wz-foot { position: sticky; bottom: 0; background: #fff; border-top: 1px solid var(--line); padding: 16px 26px; display: flex; justify-content: space-between; gap: 10px; }
.wz-review { display: grid; grid-template-columns: 150px 1fr; gap: 10px 16px; background: #f6f7fa; border-radius: 16px; padding: 18px; font-size: 14.5px; }
.wz-review dt { color: var(--muted); } .wz-review dd { margin: 0; color: var(--ink); font-weight: 700; white-space: pre-wrap; word-break: break-word; }
@media (max-width: 520px) { .wz-review { grid-template-columns: 1fr; gap: 2px; } .wz-review dd { margin-bottom: 8px; } }
@keyframes fadeIn { from { opacity: 0; } }

/* ───────── Live chat ───────── */
.rc-fab { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 62px; height: 62px; border-radius: 50%; border: 0; cursor: pointer; background: var(--yellow); color: var(--navy); display: grid; place-items: center; box-shadow: 0 16px 34px -12px rgba(14, 22, 36, .55), 0 0 0 6px rgba(244, 209, 64, .18); transition: transform .2s; }
.rc-fab:hover { transform: scale(1.06); }
.rc-fab .dot { position: absolute; top: 2px; right: 2px; min-width: 20px; height: 20px; border-radius: 999px; background: #e5484d; color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; padding: 0 5px; border: 2px solid #fff; }
.rc-fab .dot[hidden] { display: none; }
.rc-hint { position: fixed; right: 96px; bottom: 34px; z-index: 89; background: #fff; color: var(--ink); padding: 11px 16px; border-radius: 16px 16px 4px 16px; box-shadow: 0 16px 30px -14px rgba(14, 22, 36, .4); font-size: 14px; font-weight: 700; animation: fadeIn .4s; cursor: pointer; }
.rc-panel { position: fixed; right: 22px; bottom: 98px; z-index: 95; width: min(390px, calc(100vw - 24px)); height: min(620px, calc(100svh - 120px)); background: #f6f7fa; border-radius: 22px; box-shadow: 0 40px 80px -30px rgba(14, 22, 36, .6); display: flex; flex-direction: column; overflow: hidden; transform-origin: bottom right; animation: rcIn .22s cubic-bezier(.2, .8, .2, 1); }
.rc-panel[hidden] { display: none; }
@keyframes rcIn { from { opacity: 0; transform: translateY(12px) scale(.96); } }
.rc-head { background: var(--navy); color: #fff; padding: 16px 16px 16px 18px; display: flex; align-items: center; gap: 12px; }
.rc-av { width: 42px; height: 42px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; flex: none; position: relative; }
.rc-av .brand-logo { width: 30px; background: var(--navy); -webkit-mask-image: url('/assets/brand/render-icon.png'); mask-image: url('/assets/brand/render-icon.png'); aspect-ratio: 1; }
.rc-av::after { content: ''; position: absolute; right: 0; bottom: 1px; width: 11px; height: 11px; border-radius: 50%; background: #43d17a; border: 2px solid var(--navy); }
.rc-head b { display: block; font-size: 15px; }
.rc-head small { color: rgba(255, 255, 255, .6); font-size: 12px; }
.rc-head .x { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: none; color: #fff; cursor: pointer; }
.rc-body { flex: 1; overflow-y: auto; padding: 18px 14px 8px; display: flex; flex-direction: column; gap: 8px; scroll-behavior: smooth; }
.rc-msg { max-width: 84%; padding: 10px 14px; border-radius: 18px; font-size: 14.5px; line-height: 1.55; white-space: pre-wrap; word-wrap: break-word; }
.rc-msg.them { background: #fff; color: var(--ink); border-bottom-left-radius: 6px; align-self: flex-start; box-shadow: 0 1px 2px rgba(14, 22, 36, .06); }
.rc-msg.me { background: var(--navy); color: #fff; border-bottom-right-radius: 6px; align-self: flex-end; }
.rc-msg.sys { align-self: center; background: none; color: var(--muted); font-size: 12px; padding: 2px 8px; text-align: center; }
.rc-msg a { color: inherit; font-weight: 700; }
.rc-msg.them a { color: var(--navy); }
.rc-time { font-size: 10.5px; color: var(--muted); align-self: flex-start; margin: -2px 6px 4px; }
.rc-time.me { align-self: flex-end; }
.rc-typing { align-self: flex-start; background: #fff; border-radius: 18px; padding: 12px 14px; display: inline-flex; gap: 4px; }
.rc-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: typing 1s infinite; }
.rc-typing i:nth-child(2) { animation-delay: .15s; } .rc-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.rc-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 0 6px; }
.rc-chips button { border: 1.5px solid var(--navy); background: #fff; color: var(--navy); border-radius: 999px; padding: 7px 12px; font-family: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.rc-chips button:hover { background: var(--navy); color: #fff; }
.rc-card { background: #fff; border-radius: 16px; padding: 14px; border: 1px solid var(--line); align-self: stretch; }
.rc-card h4 { margin: 0 0 4px; font-size: 14.5px; }
.rc-card p { margin: 0 0 10px; font-size: 13px; color: var(--muted); }
.rc-card .field { margin-bottom: 8px; }
.rc-card .field label { font-size: 12px; }
.rc-card input:not(.cc-search) { height: 40px; font-size: 14px; }
.rc-foot { padding: 10px 12px 12px; background: #fff; border-top: 1px solid var(--line); }
.rc-form { display: flex; gap: 8px; align-items: flex-end; }
.rc-form textarea { flex: 1; resize: none; border: 1.5px solid var(--line); border-radius: 16px; padding: 10px 14px; font-family: inherit; font-size: 14.5px; max-height: 120px; min-height: 44px; line-height: 1.45; outline: none; }
.rc-form textarea:focus { border-color: var(--navy); }
.rc-form button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--navy); color: var(--yellow); cursor: pointer; display: grid; place-items: center; flex: none; }
.rc-form button:disabled { opacity: .4; cursor: default; }
.rc-powered { text-align: center; font-size: 11px; color: var(--muted); margin-top: 8px; }
/* iPhone zooms into any field under 16px: keep chat fields at 16px. */
.rc-panel textarea, .rc-panel input { font-size: 16px; }
@media (max-width: 520px) {
  /* Full screen; chat.js sizes it to the visible area so the box stays above the keyboard. */
  .rc-panel { inset: 0 auto auto 0; width: 100%; height: 100dvh; border-radius: 0; animation: none; }
  body.rc-open-sm .rc-fab { display: none; }
  .rc-fab { right: 16px; bottom: 16px; width: 56px; height: 56px; }
  .rc-hint { right: 82px; bottom: 26px; }
}
body.rc-open-sm { overflow: hidden; }
/* Steps aside while a button the visitor needs is underneath (chat.js keepClear). */
.rc-fab { transition: transform .2s, opacity .2s; }
.rc-fab.rc-away { opacity: 0; transform: scale(.6); pointer-events: none; }
.rc-fab.rc-away + .rc-hint, body:has(.rc-fab.rc-away) .rc-hint { display: none; }
/* Arabic pages: the button sits on the left, where reading ends. */
[dir="rtl"] .rc-fab { right: auto; left: 22px; }
[dir="rtl"] .rc-hint { right: auto; left: 96px; border-radius: 16px 16px 16px 4px; }
[dir="rtl"] .rc-panel { right: auto; left: 22px; transform-origin: bottom left; }
@media (max-width: 520px) {
  [dir="rtl"] .rc-fab { left: 16px; }
  [dir="rtl"] .rc-hint { left: 82px; }
  [dir="rtl"] .rc-panel { left: 0; }
}
/* Mobile menu: undo the base header's uppercase list styling inside the mega menu */
@media (max-width: 1060px) {
  .site-header.x .nav .mega a { display: flex !important; text-transform: none; letter-spacing: 0; border-bottom: 0; padding: 10px; border-radius: 12px; font-size: 14px; }
  .site-header.x .nav .mega a b { font-size: 14px; }
  .site-header.x .nav .mega a .mi { width: 34px; height: 34px; border-radius: 10px; }
  .site-header.x .nav > a { text-transform: none; letter-spacing: .02em; border-bottom: 1px solid rgba(255, 255, 255, .06); }
}


/* ═════════════ RENDER's own components ═════════════
   Motifs taken from the wordmark: the three bars of the "E" (kicker marker,
   dividers) and the "\" stroke of the "N" (separators, background accent).
   Hero image "renders" in tiles, like a frame finishing in a render engine. */

.slash-bg { position: absolute; pointer-events: none; width: 46vw; max-width: 640px; aspect-ratio: 1 / 1.25; right: -6vw; top: -10%;
  background: linear-gradient(115deg, transparent 46%, rgba(244, 209, 64, .09) 46%, rgba(244, 209, 64, .09) 58%, transparent 58%); }

/* Hero */
.r-hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; isolation: isolate; }
.r-hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; align-items: center; min-height: calc(100svh - 76px); padding-top: 56px; padding-bottom: 64px; }
.r-hero h1 { color: #fff; font-weight: 800; font-size: clamp(44px, 6.4vw, 92px); line-height: .98; letter-spacing: -.035em; margin: 18px 0 22px; }
.r-hero h1 .hl { display: block; }
.r-hero p { color: rgba(255, 255, 255, .76); font-size: 18px; line-height: 1.7; max-width: 46ch; margin: 0 0 32px; }
.r-hero .meta { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 34px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; color: rgba(255, 255, 255, .6); }
.r-hero .meta b { color: #fff; font-family: var(--accent-font); font-weight: 600; font-size: 20px; display: block; }
@media (max-width: 960px) { .r-hero .wrap { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 36px; padding-top: 40px; } }

/* The render frame */
.r-frame { position: relative; }
.r-frame .img { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 10.5; background: #0e1624; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); }
.r-frame .img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.r-frame .tiles { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(8, 1fr); grid-template-rows: repeat(5, 1fr); }
.r-frame .tiles i { background: #0e1624; border: 1px solid rgba(244, 209, 64, .0); transition: opacity .35s ease; }
.r-frame .tiles i.busy { border-color: rgba(244, 209, 64, .9); background: rgba(14, 22, 36, .55); }
.r-frame .tiles i.done { opacity: 0; }
.r-frame .bar { display: flex; align-items: center; gap: 12px; margin-top: 14px; font-family: var(--accent-font); font-size: 12px; letter-spacing: .08em; color: rgba(255, 255, 255, .62); }
.r-frame .bar .track { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.r-frame .bar .track span { display: block; height: 100%; width: 0; background: var(--yellow); transition: width .2s linear; }
.r-frame .bar b { color: var(--yellow); font-weight: 600; min-width: 4ch; text-align: right; }
.r-frame .tag { position: absolute; left: 16px; bottom: 16px; z-index: 2; background: rgba(14, 22, 36, .78); backdrop-filter: blur(6px); color: #fff; border-radius: 12px; padding: 10px 14px; font-size: 13px; display: flex; gap: 10px; align-items: center; opacity: 0; transform: translateY(6px); transition: .4s .2s; }
.r-frame.rendered .tag { opacity: 1; transform: none; }
.r-frame .tag b { color: var(--yellow); }
.r-frame .slash { position: absolute; right: -28px; top: -34px; width: 120px; height: 150px; z-index: -1; background: linear-gradient(115deg, transparent 42%, var(--yellow) 42%, var(--yellow) 58%, transparent 58%); opacity: .9; }
@media (max-width: 960px) { .r-frame .slash { right: -10px; width: 80px; height: 100px; } }

/* Numbers strip with the "\" separator */
.numbers { display: flex; flex-wrap: wrap; align-items: stretch; justify-content: space-between; gap: 18px 0; }
.numbers > div { flex: 1 1 160px; padding: 6px 22px; position: relative; }
.numbers > div + div::before { content: ''; position: absolute; left: -6px; top: 6px; bottom: 6px; width: 14px; background: linear-gradient(115deg, transparent 44%, var(--yellow) 44%, var(--yellow) 56%, transparent 56%); }
.numbers b { display: block; font-family: var(--accent-font); color: var(--navy); font-size: clamp(34px, 4vw, 52px); font-weight: 600; line-height: 1; letter-spacing: -.01em; }
.numbers > div > span { color: var(--muted); font-size: 14px; }
.numbers-note { margin: 26px 0 0; color: var(--ink-2); font-size: 15px; }
@media (max-width: 640px) { .numbers > div { flex-basis: 45%; padding: 6px 14px; } .numbers > div:nth-child(odd)::before { display: none; } }

/* Services index (editorial list with image preview) */
.svc-index { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.svc-rows { border-top: 1px solid var(--line-2); }
.svc-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto 36px; gap: 16px; align-items: center; padding: 22px 6px; border-bottom: 1px solid var(--line-2); text-decoration: none; color: var(--ink); position: relative; transition: padding .25s, background .25s; }
.svc-row .no { font-family: var(--accent-font); color: var(--muted); font-size: 14px; }
.svc-row h3 { margin: 0; font-size: clamp(19px, 2vw, 24px); font-weight: 800; letter-spacing: -.01em; }
.svc-row p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.svc-row .arrow { color: var(--navy); transition: transform .25s; }
.svc-row:hover, .svc-row.on { background: #fff; padding-left: 16px; }
.svc-row:hover .arrow, .svc-row.on .arrow { transform: translateX(4px); }
.svc-row:hover .no, .svc-row.on .no { color: var(--gold); }
.svc-row .thumb { display: none; }
.mode-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; letter-spacing: .02em; padding: 6px 11px; border-radius: 999px; white-space: nowrap; }
.mode-tag.book { background: var(--yellow); color: var(--navy); }
.mode-tag.request { background: #e9edf5; color: var(--navy); }
.mode-tag.quote { background: var(--navy); color: #fff; }
.mode-tag.price { background: #fff7d1; color: #7a5d00; }
.svc-preview { position: sticky; top: 100px; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 4.6; background: var(--navy); box-shadow: 0 30px 60px -36px rgba(14, 22, 36, .6); }
.svc-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .45s, transform .9s; }
.svc-preview img.on { opacity: 1; transform: none; }
.svc-preview .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 24px 22px; background: linear-gradient(transparent, rgba(14, 22, 36, .9)); color: #fff; }
.svc-preview .cap b { display: block; font-size: 20px; }
.svc-preview .cap span { color: rgba(255, 255, 255, .7); font-size: 14px; }
@media (max-width: 960px) {
  .svc-index { grid-template-columns: minmax(0, 1fr); }
  .svc-preview { display: none; }
  .svc-row { grid-template-columns: 64px minmax(0, 1fr) 36px; gap: 12px; padding: 16px 0; }
  .svc-row .thumb { width: 64px !important; height: 64px !important; }
  .svc-row .no { display: none; }
  .svc-row .thumb { display: block; width: 72px; height: 72px; border-radius: 12px; object-fit: cover; }
  .svc-row .mode-tag { grid-column: 2; justify-self: start; margin-top: -6px; }
  .svc-row .arrow { grid-row: 1; grid-column: 3; }
  .svc-row:hover, .svc-row.on { padding-left: 0; background: none; }
}

/* Studio tech sheet */
.sheet { border-top: 1px solid rgba(255, 255, 255, .14); margin: 26px 0 30px; }
.sheet div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 16px; padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 15px; }
.sheet dt { color: rgba(255, 255, 255, .5); font-family: var(--accent-font); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; padding-top: 3px; }
.sheet dd { margin: 0; color: #fff; font-weight: 700; }
.studio-photo { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 4.4; }
.studio-photo img { width: 100%; height: 100%; object-fit: cover; }
.studio-photo .strip { position: absolute; left: 14px; right: 14px; bottom: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.studio-photo .strip img { aspect-ratio: 4 / 3; border-radius: 10px; border: 2px solid rgba(255, 255, 255, .8); }
.studio-home.sec { padding-block: 64px; }
.studio-home .studio-photo { aspect-ratio: 16 / 10; }
.studio-home .sheet { margin: 20px 0 24px; }

/* Process as an editing timeline */
.tl { position: relative; background: var(--navy); border-radius: 22px; padding: 26px 24px 30px; color: #fff; overflow: hidden; }
.tl .ruler { display: flex; justify-content: space-between; font-family: var(--accent-font); font-size: 11px; letter-spacing: .1em; color: rgba(255, 255, 255, .4); padding: 0 2px 10px; border-bottom: 1px dashed rgba(255, 255, 255, .15); }
.tl .track { display: grid; grid-template-columns: 1.1fr 1.6fr 1.8fr 2fr 1fr; gap: 6px; margin-top: 18px; }
.tl .clip { border-radius: 10px; padding: 14px 14px 16px; min-height: 150px; position: relative; overflow: hidden; }
.tl .clip:nth-child(1) { background: #34486c; } .tl .clip:nth-child(2) { background: #2b3d5e; } .tl .clip:nth-child(3) { background: var(--yellow); color: var(--navy); }
.tl .clip:nth-child(4) { background: #3d5480; } .tl .clip:nth-child(5) { background: #f8e48d; color: var(--navy); }
.tl .clip::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 22px; opacity: .25;
  background: repeating-linear-gradient(90deg, currentColor 0 2px, transparent 2px 6px); mask-image: linear-gradient(transparent, #000); -webkit-mask-image: linear-gradient(transparent, #000); }
.tl .clip small { display: block; font-family: var(--accent-font); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.tl .clip h3 { margin: 6px 0 6px; font-size: 19px; font-weight: 800; color: inherit; }
.tl .clip p { margin: 0; font-size: 13.5px; line-height: 1.55; opacity: .85; }
.tl .playhead { position: absolute; top: 14px; bottom: 14px; left: 24px; width: 2px; background: #ff5a5a; box-shadow: 0 0 12px rgba(255, 90, 90, .7); z-index: 2; }
.tl .playhead::before { content: ''; position: absolute; top: -2px; left: -6px; border: 7px solid transparent; border-top: 9px solid #ff5a5a; }
html.js .tl.in .playhead { animation: play 6s linear .3s both; }
@keyframes play { from { left: 24px; } to { left: calc(100% - 26px); } }
@media (max-width: 860px) {
  .tl .track { grid-template-columns: minmax(0, 1fr); }
  .tl .clip { min-height: 0; }
  .tl .ruler, .tl .playhead { display: none; }
}

/* Why RENDER list */
.why-x { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.why-x ol { list-style: none; counter-reset: w; padding: 0; margin: 0; }
.why-x li { counter-increment: w; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 10px; padding: 18px 0; border-bottom: 1px solid var(--line); font-weight: 700; color: var(--ink); font-size: 16.5px; align-items: center; }
.why-x li::before { content: counter(w, decimal-leading-zero); font-family: var(--accent-font); color: var(--gold); font-size: 15px; }
.why-x .photo-x { aspect-ratio: 4 / 4.2; }
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 46px; border-top: 3px solid var(--navy); }
.values div { padding: 22px 22px 6px 0; }
.values b { display: block; font-size: 17px; color: var(--ink); margin-bottom: 6px; }
.values span { font-size: 14px; color: var(--muted); line-height: 1.6; }
@media (max-width: 900px) { .why-x { grid-template-columns: minmax(0, 1fr); gap: 34px; } .values { grid-template-columns: 1fr 1fr; } }

/* Yellow CTA band */
.cta-y { background: var(--yellow); color: var(--navy); position: relative; overflow: hidden; }
.cta-y .wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding-top: 64px; padding-bottom: 64px; position: relative; }
.cta-y h2 { margin: 0; font-size: clamp(30px, 4.4vw, 56px); font-weight: 800; letter-spacing: -.03em; line-height: 1.02; color: var(--navy); max-width: 16ch; }
.cta-y p { margin: 12px 0 0; font-size: 16.5px; max-width: 48ch; color: rgba(28, 42, 65, .78); }
.cta-y .btn.pill { background: var(--navy); border-color: var(--navy); color: #fff; }
.cta-y .btn.pill.alt { background: transparent; color: var(--navy); border-color: rgba(28, 42, 65, .4); }
.cta-y::after { pointer-events: none; content: ''; position: absolute; right: 4%; top: -30%; width: 220px; height: 160%; background: linear-gradient(115deg, transparent 44%, rgba(28, 42, 65, .08) 44%, rgba(28, 42, 65, .08) 56%, transparent 56%); }

/* Inner page hero */
.page-x { padding: 76px 0 70px; }
.page-x .bgimg img { opacity: .2; }
.page-x::before { content: ''; position: absolute; right: 6%; top: -20%; width: 260px; height: 140%; z-index: -1; background: linear-gradient(115deg, transparent 45%, rgba(244, 209, 64, .12) 45%, rgba(244, 209, 64, .12) 55%, transparent 55%); }

/* Packages (fixed-price, order → approval) */
.pkgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.pkg { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.pkg h3 { margin: 0; font-size: 19px; font-weight: 800; }
.pkg .price { font-family: var(--accent-font); font-size: 30px; color: var(--navy); font-weight: 600; line-height: 1; }
.pkg .price small { font-family: var(--sans); font-size: 13px; color: var(--muted); font-weight: 400; }
.pkg p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.pkg ul { margin: 4px 0 8px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.pkg ul li { padding-left: 20px; position: relative; }
.pkg ul li::before { content: ''; position: absolute; left: 0; top: 7px; width: 10px; height: 2px; background: var(--gold); box-shadow: 0 -4px 0 var(--gold), 0 4px 0 var(--gold); }
.pkg .btn { margin-top: auto; }
.pkg .note { font-size: 12.5px; color: var(--muted); }

/* Request status page */
.status-card { max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.status-card .top { background: var(--navy); color: #fff; padding: 26px 28px; }
.status-card .top h1 { color: #fff; margin: 6px 0 0; font-size: 28px; font-weight: 800; }
.status-card .body { padding: 26px 28px; }
.steps-x { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 4px 0 22px; }
.steps-x div { border-top: 4px solid var(--line); padding-top: 8px; font-size: 13px; color: var(--muted); font-weight: 700; }
.steps-x div.on { border-color: var(--yellow); color: var(--ink); }

/* ═════════════ Language switch + Arabic (RTL) ═════════════ */
.lang-switch { font-family: 'Almarai', var(--sans); font-size: 13.5px; font-weight: 700; color: rgba(255, 255, 255, .85) !important; padding: 8px 12px !important; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22) !important; margin-inline-start: 8px; text-decoration: none; }
.lang-switch:hover { background: rgba(255, 255, 255, .08); color: #fff !important; }
@media (max-width: 1060px) { .site-header.x .nav .lang-switch { margin: 12px 0 0; text-align: center; display: block !important; } }

[dir="rtl"] body { font-family: 'Almarai', system-ui, sans-serif; }
[dir="rtl"] .eyebrow, [dir="rtl"] .kicker, [dir="rtl"] .site-footer.x h5, [dir="rtl"] .wz-step-label, [dir="rtl"] .tl .clip small, [dir="rtl"] .sheet dt, [dir="rtl"] .type-card .num { letter-spacing: 0; text-transform: none; }
[dir="rtl"] .h-xl, [dir="rtl"] .r-hero h1, [dir="rtl"] .page-x h1, [dir="rtl"] .cta-y h2 { letter-spacing: 0; line-height: 1.25; }
[dir="rtl"] .r-hero h1 { font-size: clamp(42px, 6vw, 84px); line-height: 1.15; }
[dir="rtl"] .nav { margin-left: 0; margin-right: auto; }
[dir="rtl"] .nav .btn, [dir="rtl"] .site-header.x .nav .btn { margin-left: 0; margin-right: 10px; }
[dir="rtl"] .nav-toggle { margin-left: 0; margin-right: auto; }
[dir="rtl"] .btn .arr, [dir="rtl"] .svc-row .arrow svg, [dir="rtl"] .flip-rtl, [dir="rtl"] .bento-card .go svg { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .arr { transform: scaleX(-1) translateX(3px); }
[dir="rtl"] .svc-row:hover, [dir="rtl"] .svc-row.on { padding-left: 6px; padding-right: 16px; }
[dir="rtl"] .svc-row:hover .arrow, [dir="rtl"] .svc-row.on .arrow { transform: translateX(-4px); }
@media (max-width: 960px) { [dir="rtl"] .svc-row:hover, [dir="rtl"] .svc-row.on { padding: 16px 0; } }
[dir="rtl"] .page-x::after { background: linear-gradient(270deg, rgba(28, 42, 65, .96) 30%, rgba(28, 42, 65, .6)); }
[dir="rtl"] .page-x::before { right: auto; left: 6%; }
[dir="rtl"] .slash-bg { right: auto; left: -6vw; transform: scaleX(-1); }
[dir="rtl"] .r-frame .slash { right: auto; left: -28px; transform: scaleX(-1); }
[dir="rtl"] .r-frame .tag { left: auto; right: 16px; }
[dir="rtl"] .numbers > div + div::before { left: auto; right: -6px; transform: scaleX(-1); }
[dir="rtl"] .cta-y::after { right: auto; left: 4%; transform: scaleX(-1); }
[dir="rtl"] .tl .playhead { left: auto; right: 24px; }
[dir="rtl"] .tl .playhead::before { left: auto; right: -6px; }
html.js[dir="rtl"] .tl.in .playhead { animation-name: playRtl; }
@keyframes playRtl { from { right: 24px; } to { right: calc(100% - 26px); } }
[dir="rtl"] .type-card::before { left: auto; right: 0; }
[dir="rtl"] .pkg ul li { padding-left: 0; padding-right: 20px; }
[dir="rtl"] .pkg ul li::before { left: auto; right: 0; }
[dir="rtl"] .studio-photo .strip img { direction: ltr; }
/* Base booking styles */
[dir="rtl"] .features li, [dir="rtl"] .checks li { padding-left: 0; padding-right: 28px; }
[dir="rtl"] .features li::before, [dir="rtl"] .checks li::before { left: auto; right: 0; }
[dir="rtl"] .hours-table td:last-child, [dir="rtl"] .panel-head .tz, [dir="rtl"] .extra .pr { text-align: left; }
[dir="rtl"] .sec-label .step-n { margin-right: 0; margin-left: 8px; }
[dir="rtl"] .cal-legend i { margin-right: 0; margin-left: 6px; }
[dir="rtl"] .time-row select { padding-right: 14px; padding-left: 36px; background-position: left 14px center; }
/* Phone numbers stay left-to-right */
[dir="rtl"] .phone-field { direction: ltr; }
[dir="rtl"] .phone-field .cc-pop { direction: rtl; text-align: right; }
[dir="rtl"] .phone-field .field-error, [dir="rtl"] .field-error { direction: rtl; text-align: right; }
/* Chat bubbles: own messages on the left in Arabic */
[dir="rtl"] .rc-msg.them { border-bottom-left-radius: 18px; border-bottom-right-radius: 6px; }
[dir="rtl"] .rc-msg.me { border-bottom-right-radius: 18px; border-bottom-left-radius: 6px; }
[dir="rtl"] .rc-hint { border-radius: 16px 16px 4px 16px; }
[dir="rtl"] .mega a .mi { flex: none; }
/* Hidden anti-spam field: no off-screen offset (it made Arabic pages scroll sideways). */
.hp { position: absolute !important; left: 0 !important; top: 0; width: 1px; height: 1px; opacity: 0; overflow: hidden; pointer-events: none; }

/* Client logos ("Trusted by") */
.logos-sec { background: #fff; border-top: 1px solid var(--line); }
.logo-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0; border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.logo-tile { display: grid; place-items: center; height: 112px; padding: 22px; border-bottom: 1px solid var(--line); border-inline-end: 1px solid var(--line); transition: background .2s; }
.logo-wall .logo-tile.word b { white-space: normal; text-align: center; font-size: 16px; line-height: 1.25; }
.logo-tile img { width: 100%; max-width: 170px; height: auto; object-fit: contain; filter: grayscale(1); opacity: .65; transition: filter .25s, opacity .25s, transform .25s; }
.logo-tile:hover { background: #fafbfc; }
.logo-tile.blank:hover { background: none; }
.logo-tile:hover img { filter: none; opacity: 1; transform: scale(1.04); }
@media (max-width: 560px) {
  .logo-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .logo-tile { height: 68px; padding: 10px; }
  .logo-wall .logo-tile.word b { font-size: 11.5px; }
  .logos-sec.folded .logo-wall > :nth-child(n+25) { display: none; }
}
.logo-more { display: none; margin: 18px auto 0; }
@media (max-width: 560px) { .logo-more { display: flex; } }

/* Home: moving logo strip */
.logos-strip { background: #fff; padding: 72px 0 64px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.logos-strip .sec-head { margin-bottom: 34px; }
.logo-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-track { display: flex; width: max-content; animation: logoScroll var(--dur, 40s) linear infinite; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-set { display: flex; align-items: center; gap: 0; flex: none; }
/* Every logo file is the same 800×320 transparent canvas with the mark centred at equal visual weight, so one width fits all */
.logo-set .logo-tile { height: auto; width: 168px; padding: 2px 4px; border: 0; }
.logo-set .logo-tile img { width: 100%; max-width: none; filter: none; opacity: .92; }
.logo-set .logo-tile:hover { background: transparent; }
.logo-set .logo-tile:hover img { opacity: 1; transform: scale(1.06); }
@keyframes logoScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
[dir="rtl"] .logo-track { animation-name: logoScrollRtl; }
@keyframes logoScrollRtl { from { transform: translateX(0); } to { transform: translateX(50%); } }
@media (max-width: 640px) { .logos-strip { padding: 52px 0 44px; } .logo-set .logo-tile { width: 118px; padding: 2px 2px; } }
.logo-marquee.rev { margin-top: 6px; }
.logo-marquee.rev .logo-track { animation-direction: reverse; }
@media (prefers-reduced-motion: reduce) { .logo-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } .logo-set[aria-hidden] { display: none; } .logo-set { flex-wrap: wrap; justify-content: center; } }
/* Client name shown until its logo image is uploaded */
.logo-tile.word b { font-family: var(--sans); font-weight: 800; font-size: 19px; color: var(--navy); letter-spacing: -.01em; white-space: nowrap; opacity: .8; transition: opacity .2s, color .2s; }
.logo-tile.word:hover b { opacity: 1; color: var(--gold); }
.logo-set .logo-tile.word { width: auto; padding: 18px 36px; }

/* ───────── Services as boxes (home + services page) ───────── */
.svc-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.sb-card { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3.3; background: var(--navy); color: #fff; text-decoration: none; isolation: isolate; display: block; box-shadow: 0 18px 36px -28px rgba(14, 22, 36, .55); transition: transform .3s, box-shadow .3s; }
.sb-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s cubic-bezier(.22, .61, .36, 1); }
.sb-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 22, 36, .2) 25%, rgba(14, 22, 36, .92) 100%); transition: background .3s; }
.sb-card:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -26px rgba(14, 22, 36, .7); }
.sb-card:hover img { transform: scale(1.06); }
.sb-card:hover::after { background: linear-gradient(180deg, rgba(14, 22, 36, .3) 15%, rgba(14, 22, 36, .95) 100%); }
.sb-ic { position: absolute; top: 12px; inset-inline-end: 12px; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: rgba(14, 22, 36, .45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .2); color: var(--yellow); transition: background .3s, color .3s; }
.sb-card:hover .sb-ic { background: var(--yellow); color: var(--navy); }
.sb-card .mode-tag { position: absolute; top: 14px; inset-inline-start: 12px; font-size: 10.5px; padding: 4px 9px; }
.sb-txt { position: absolute; inset-inline: 14px; bottom: 13px; display: block; }
.sb-txt b { display: block; font-size: 16.5px; line-height: 1.2; font-weight: 800; }
.sb-txt small { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.4; color: rgba(255, 255, 255, .75); }
.sb-wide { grid-column: 1 / -1; aspect-ratio: auto; min-height: 220px; }
.sb-wide .sb-txt b { font-size: clamp(20px, 2.4vw, 28px); }
@media (max-width: 980px) { .svc-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .svc-bento { gap: 10px; }
  .sb-card { border-radius: 14px; aspect-ratio: 1 / 1; }
  .sb-ic { width: 30px; height: 30px; border-radius: 9px; top: 9px; inset-inline-end: 9px; }
  .sb-card .mode-tag { top: 11px; inset-inline-start: 9px; font-size: 9.5px; padding: 3px 7px; }
  .sb-txt { inset-inline: 11px; bottom: 10px; }
  .sb-txt b { font-size: 14.5px; }
  .sb-txt small { font-size: 11.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .sb-wide { aspect-ratio: auto; min-height: 180px; }
}

/* ───────── Portfolio ───────── */
.work-sec .sec-head { margin-bottom: 30px; }
/* Same-size boxes in rows of four (reels are cropped to the box here; the full frame plays when opened). */
.wk-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.wk[hidden] { display: none; }
.wk { display: block; width: 100%; aspect-ratio: 4 / 3.3; margin: 0; position: relative; border: 0; padding: 0; cursor: pointer; border-radius: 16px; overflow: hidden; background: #0e1624; color: #fff; text-align: start; font-family: inherit; transform: translateZ(0); }
.wk img, .wk video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.wk video { opacity: 0; transition: opacity .5s; } .wk video.on { opacity: 1; }
.wk::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 50%, rgba(14, 22, 36, .85)); }
.wk-cap { position: absolute; inset-inline: 14px; bottom: 12px; display: block; z-index: 2; }
.wk-cap small { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--yellow); }
.wk-cap b { display: block; font-size: 15.5px; font-weight: 800; margin-top: 3px; line-height: 1.25; }
.wk-play { position: absolute; z-index: 2; top: 10px; inset-inline-end: 10px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .25); color: #fff; transition: transform .25s, background .25s; }
.wk:hover .wk-play { transform: scale(1.1); background: var(--yellow); color: var(--navy); }
.wk-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.wk-filters button { border: 1px solid rgba(255, 255, 255, .22); background: transparent; color: rgba(255, 255, 255, .8); border-radius: 999px; padding: 9px 16px; font: 700 13.5px/1 inherit; font-family: inherit; cursor: pointer; }
.wk-filters button.on { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
.wk[hidden] { display: none; }
.wk-box { position: fixed; inset: 0; z-index: 120; background: rgba(8, 12, 20, .92); display: grid; place-items: center; padding: 18px; }
.wk-box[hidden] { display: none; }
.wk-box video { max-width: min(1100px, 100%); max-height: calc(100svh - 120px); border-radius: 16px; background: #000; }
.wk-box .x { position: absolute; top: 16px; inset-inline-end: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; font-size: 22px; cursor: pointer; }
.wk-box .t { position: absolute; bottom: 18px; inset-inline: 18px; text-align: center; color: #fff; font-weight: 800; }
.wk-box .ph { max-width: min(1200px, 100%); max-height: calc(100svh - 120px); border-radius: 16px; object-fit: contain; user-select: none; }
.wk-box .ph[hidden], .wk-box video[hidden], .wk-box .nav[hidden] { display: none; }
.wk-box .nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.wk-box .nav:hover { background: var(--yellow); color: var(--navy); }
.wk-box .prev { left: 16px; } .wk-box .next { right: 16px; }
.wk-count { position: absolute; z-index: 2; top: 15px; inset-inline-end: 52px; font-size: 12px; font-weight: 800; color: #fff; background: rgba(14, 22, 36, .55); border-radius: 999px; padding: 4px 9px; }
@media (max-width: 900px) { .wk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .wk { border-radius: 14px; aspect-ratio: 1 / 1; } .wk-cap b { font-size: 14.5px; } .wk-cap { inset-inline: 10px; bottom: 10px; } .wk-cap small { font-size: 10px; } .wk-play { width: 32px; height: 32px; top: 8px; inset-inline-end: 8px; } }

/* Logo rows driven by site.js (drift): scrollable by hand, no CSS animation */
.logo-marquee.manual { overflow-x: auto; scrollbar-width: none; cursor: grab; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.logo-marquee.manual::-webkit-scrollbar { display: none; }
.logo-marquee.manual .logo-track { animation: none; }
.logo-marquee.manual.dragging { cursor: grabbing; }
.logo-marquee.manual.dragging * { user-select: none; pointer-events: none; }
.logo-marquee.manual img { -webkit-user-drag: none; }

/* ───────── Full-bleed home hero: slides with a slow zoom, light HUD ───────── */
.r-hero.full { min-height: calc(100svh - 76px); display: flex; flex-direction: column; justify-content: center; background: #0b1220; }
.r-hero.full .slides, .r-hero.full .shade { position: absolute; inset: 0; z-index: -2; }
/* Crossfade without a dark dip: the new slide fades in on top; the old one stays fully visible underneath and hides once covered. */
.r-hero.full .slides img, .r-hero.full .slides video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0; transition: opacity 0s linear 1.5s; will-change: transform, opacity; }
.r-hero.full .slides .on { z-index: 1; transition: opacity 1.4s ease; }
.r-hero.full .slides img.on { opacity: 1; animation: heroZoom 9s linear forwards; }
.r-hero.full .slides video.on { opacity: 1; }
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.08); } }
.r-hero.full .shade { z-index: -1; background: linear-gradient(90deg, rgba(10, 17, 30, .86) 0%, rgba(10, 17, 30, .62) 48%, rgba(10, 17, 30, .28) 100%), linear-gradient(180deg, rgba(10, 17, 30, .55) 0%, transparent 30%, transparent 70%, rgba(10, 17, 30, .7) 100%); }
.r-hero.full .wrap { display: block; min-height: 0; padding-top: 72px; padding-bottom: 96px; }
.r-hero.full .copy { max-width: 720px; }
.r-hero.full h1 { text-shadow: 0 12px 40px rgba(0, 0, 0, .35); }
.r-hero.full p { color: rgba(255, 255, 255, .84); }
.r-hero.full .meta { border-top-color: rgba(255, 255, 255, .18); color: rgba(255, 255, 255, .7); }
.r-hero .hud { position: absolute; inset: 0; pointer-events: none; font-family: var(--accent-font); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }
.r-hero .hud .rec { position: absolute; top: 26px; inset-inline-end: 28px; display: inline-flex; align-items: center; gap: 8px; }
.r-hero .hud .rec i { width: 8px; height: 8px; border-radius: 50%; background: #e5484d; box-shadow: 0 0 0 3px rgba(229, 72, 77, .25); animation: recBlink 1.2s steps(1) infinite; }
@keyframes recBlink { 50% { opacity: .25; } }
.r-hero .hud .rec b { font-weight: 500; color: #fff; font-variant-numeric: tabular-nums; }
.r-hero .hud .spec { position: absolute; bottom: 30px; inset-inline-end: 28px; }
.r-hero .hud .corner { position: absolute; width: 22px; height: 22px; border: 1.5px solid rgba(255, 255, 255, .35); }
.r-hero .hud .c-tl { top: 22px; left: 22px; border-right: 0; border-bottom: 0; } .r-hero .hud .c-tr { top: 22px; right: 22px; border-left: 0; border-bottom: 0; }
.r-hero .hud .c-bl { bottom: 22px; left: 22px; border-right: 0; border-top: 0; } .r-hero .hud .c-br { bottom: 22px; right: 22px; border-left: 0; border-top: 0; }
.r-hero .foot { position: absolute; bottom: 30px; left: 0; right: 0; display: flex; align-items: center; justify-content: center; gap: 18px; pointer-events: none; }
.r-hero .scroll-cue { font-family: var(--accent-font); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .6); display: flex; align-items: center; gap: 10px; }
.r-hero .scroll-cue::after { content: ''; width: 1px; height: 28px; background: linear-gradient(180deg, var(--yellow), transparent); animation: cueDrop 1.6s ease-in-out infinite; }
@keyframes cueDrop { 0% { transform: scaleY(.2); transform-origin: top; opacity: 0; } 40% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
.r-hero .dots { display: flex; gap: 6px; pointer-events: auto; }
.r-hero .dots i { width: 22px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .28); overflow: hidden; position: relative; cursor: pointer; }
.r-hero .dots i.on::after { content: ''; position: absolute; inset: 0; background: var(--yellow); transform-origin: left; animation: dotFill 6s linear forwards; }
[dir="rtl"] .r-hero .dots i.on::after { transform-origin: right; }
@keyframes dotFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 960px) {
  .r-hero.full { min-height: calc(100svh - 64px); }
  .r-hero.full .wrap { padding-top: 56px; padding-bottom: 104px; }
  .r-hero.full .shade { background: linear-gradient(180deg, rgba(10, 17, 30, .55) 0%, rgba(10, 17, 30, .35) 35%, rgba(10, 17, 30, .78) 100%); }
  .r-hero.full h1 { font-size: clamp(40px, 11vw, 64px); }
  .r-hero .hud .spec, .r-hero .hud .corner { display: none; }
  .r-hero .hud .rec { top: 16px; inset-inline-end: 16px; }
  .r-hero .foot { bottom: 22px; }
}
@media (prefers-reduced-motion: reduce) { .r-hero.full .slides img.on, .r-hero .hud .rec i, .r-hero .dots i.on::after { animation: none; } .r-hero .dots i.on { background: var(--yellow); } }

/* Language switch: both languages with flags, the current one highlighted */
.lang-pill { display: inline-flex; align-items: center; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; padding: 3px; margin-inline-start: 8px; gap: 2px; }
.lang-pill a, .lang-pill span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px !important; border-radius: 999px; font-size: 12.5px !important; font-weight: 800; letter-spacing: .02em; text-decoration: none; color: rgba(255, 255, 255, .7) !important; line-height: 1; }
.lang-pill span { background: var(--yellow); color: var(--navy) !important; }
.lang-pill a:hover { color: #fff !important; background: rgba(255, 255, 255, .08); }
.lang-pill svg { width: 18px; height: 13px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .25); flex: none; }
.lang-pill .ar { font-family: 'Almarai', var(--sans); }
@media (max-width: 1060px) { .site-header.x .nav .lang-pill { margin: 12px auto 0; display: inline-flex !important; } }

/* Studio page: photos + facts | booking panel; then location · hours · rates; then equipment rows */
.st-info { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.side-box { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; }
.side-box[hidden] { display: none; }
.side-box h3 { margin: 0 0 12px; font-size: 15px; }
.side-box .hours-table { margin: 0; font-size: 13.5px; }
.side-box .hours-table td { padding: 6px 0; }
.side-box .loc-mini { margin: 0; align-items: flex-start; }
.side-box .lm-map { width: 104px; height: 104px; }
.side-box .lm-txt b { font-size: 13.5px; }
.side-box .lm-txt span { font-size: 12.5px; }
#studio .panel-sec { padding: 16px 22px; }
#studio .panel-head { padding: 18px 22px 14px; }
#studio .cal-day { aspect-ratio: auto; height: 38px; font-size: 13.5px; }
#studio .cal-day.few::after { bottom: 3px; }
#studio .cal-grid .dow { padding: 4px 0; }
.st-gear h3 { margin: 8px 0 18px; font-size: 22px; }
.st-note { margin: 24px 0 0; font-size: 14px; line-height: 1.7; color: var(--ink-2); }
.st-note a { color: var(--navy); font-weight: 700; }
.includes.light { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.includes.light div { background: #fff; border-color: var(--line); color: var(--ink); padding: 11px 14px; font-size: 14px; }
.st-inc.includes.light { grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; }
.st-inc.includes.light div { font-size: 13.5px; }
@media (max-width: 1000px) { .st-inc.includes.light { grid-template-columns: repeat(2, minmax(0, 1fr)); } .st-inc.includes.light div:first-child { grid-column: 1 / -1; } }
.st-gear .gear-group + .gear-group { margin-top: 26px; }
.st-gear .gg-head { color: var(--ink); margin-bottom: 12px; }
.st-gear .gg-head small { color: var(--gold, #b8932e); }
.st-gear .gg-head b { font-size: 18px; }
.st-gear .gp-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.st-gear .gp { background: #fff; border-color: var(--line); color: var(--ink); }
.st-gear .gp:hover { border-color: var(--navy); }
.st-gear .gp-txt small { color: var(--muted); }
@media (max-width: 1000px) {
  .st-info { grid-template-columns: minmax(0, 1fr); }
  /* one swipeable row per light family */
  .st-gear .gp-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .st-gear .gp { flex: 0 0 150px; scroll-snap-align: start; }
}
@media (max-width: 640px) { .includes.light { gap: 6px; } .includes.light div { padding: 10px; font-size: 12.5px; gap: 8px; } .st-gear .gp { flex-basis: 138px; } }

/* Launch: studio + "other services soon" */
.svc-soon { display: grid; grid-template-columns: 2fr 1fr; gap: 14px; }
.svc-soon .sb-wide { grid-column: auto; min-height: 320px; }
.soon-card { position: relative; border-radius: 18px; background: var(--navy); color: rgba(255, 255, 255, .72); padding: 24px; display: flex; flex-direction: column; }
.soon-card h3 { color: #fff; font-size: 22px; margin: 14px 0 6px; }
.soon-card p { margin: 0 0 14px; font-size: 14px; line-height: 1.6; }
.soon-card ul { list-style: none; margin: auto 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; }
.soon-card li { display: flex; gap: 8px; align-items: center; font-size: 13px; color: rgba(255, 255, 255, .55); }
.soon-card li svg { color: var(--yellow); opacity: .7; flex: none; }
.soon-pill { display: inline-block; align-self: flex-start; background: var(--yellow); color: var(--navy); font-style: normal; font-weight: 800; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; border-radius: 999px; padding: 4px 10px; }
.mega-soon { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; opacity: .75; cursor: default; }
.mega-soon .soon-pill, .links .soon-pill { padding: 2px 7px; font-size: 9.5px; margin-inline-start: 6px; vertical-align: middle; }
@media (max-width: 860px) { .svc-soon { grid-template-columns: 1fr; } .svc-soon .sb-wide { min-height: 240px; } }

/* Phone: less scrolling on the home page. */
@media (max-width: 640px) {
  .sec { padding: 52px 0; }
  .sec.tight { padding: 38px 0; }
  .studio-home.sec { padding-block: 44px; }
  .studio-home .studio-photo { aspect-ratio: 16 / 9; }
  .studio-home .split-x { gap: 22px; }
  .numbers > div { flex-basis: 33%; padding: 4px 8px; }
  .numbers > div:nth-child(odd)::before { display: block; }
  .numbers > div:nth-child(3n+1)::before { display: none; }
  .numbers b { font-size: 28px; }
  .numbers > div > span { font-size: 12.5px; }
  .numbers-note { display: none; }
  .home-work .sec-head .sub { display: none; }
  .home-work .wk-grid > :nth-child(n+7) { display: none; }
}

/* Phone: a shorter studio page. Facts in one row, included items as small tags, tighter boxes. */
@media (max-width: 640px) {
  .book-layout .details .facts { flex-wrap: nowrap; margin: 0; }
  .book-layout .details .facts div { flex: 1 1 0; min-width: 0; padding: 10px 8px; text-align: center; }
  .book-layout .details .facts small { font-size: 10.5px; letter-spacing: 0; }
  .book-layout .details .facts b { font-size: 13.5px; }
  .st-inc.includes.light { display: flex; flex-wrap: wrap; gap: 6px; }
  .st-inc.includes.light div { padding: 6px 10px 6px 12px; border-radius: 999px; font-size: 12.5px; gap: 6px; }
  .st-inc.includes.light div::before { width: 16px; height: 16px; background-size: 11px; }
  .st-info .side-box { padding: 14px 16px; }
}
@media (max-width: 640px) {
  .st-gear .gp { flex-basis: 112px; }
  .st-gear .gp-txt b { font-size: 12.5px; }
  .st-gear .gear-group + .gear-group { margin-top: 16px; }
  .st-gear .gg-head { margin-bottom: 8px; }
}
@media (max-width: 640px) { .split-x .photo-x { aspect-ratio: 16 / 10; } }

/* Studio page, laptop: included items, location, hours and rates sit beside the booking box (no empty column). */
@media (min-width: 981px) {
  .st-inc.includes.light { display: flex; flex-wrap: wrap; gap: 8px; }
  .st-inc.includes.light div { padding: 8px 14px 8px 12px; border-radius: 999px; }
  .st-info { grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; }
  .st-info #d-location { grid-column: 1 / -1; }
  .st-gear h3 { margin: 4px 0 14px; }
  .st-gear .gear-group + .gear-group { margin-top: 18px; }
  .st-gear .gp-pic { aspect-ratio: 4 / 3; }
  .st-gear .gp-txt { padding: 10px 14px 12px; }
}

.wk-more { display: flex; margin: 26px auto 0; }
.wk-more[hidden] { display: none; }

/* About page on phones: the hero already shows the studio shelf, so the first text block drops its photo;
   the studio photo sits above its text, and vision/mission sit closer together. */
@media (max-width: 640px) {
  .about-who .photo-x { display: none; }
  .about-studio .split-x { gap: 20px; }
  .about-studio .photo-x { aspect-ratio: 1 / 1; } /* the RENDER shelf photo is square: show all of it */
  .about-vm.split-x { gap: 26px; }
  .about-vm .h-xl { font-size: 24px !important; }
}

/* WhatsApp number: icon + number, opens a chat */
.site-footer.x .wa-num { display: inline-flex; align-items: center; gap: 7px; }
.wa-ic { color: #25d366; flex: none; }
#contact-list i.wa { display: grid; place-items: center; }

/* Phones: the hero clip and photos fill about three quarters of the screen (centred), the text sits under them. */
@media (max-width: 640px) {
  .r-hero.full { min-height: 0; display: flex; flex-direction: column; }
  .r-hero.full .slides { position: relative; inset: auto; z-index: 0; order: -1; flex: none; width: 100%; height: 72svh; overflow: hidden; }
  .r-hero.full .slides::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(11, 18, 32, .2) 0%, transparent 16%, transparent 48%, rgba(11, 18, 32, .8) 78%, #0b1220 100%); }
  .r-hero.full .shade { display: none; }
  .r-hero.full .slides video:first-child { object-position: 30% center; } /* keep the camera operator in frame next to the talent */
  .r-hero.full .slides .hp-podcast { object-position: 50% center; } /* the two guests at the podcast table, centred */
  .r-hero.full .wrap { position: relative; z-index: 2; margin-top: -200px; padding-top: 0; padding-bottom: 60px; }
  .r-hero.full p { font-size: 14.5px; line-height: 1.6; }
  .r-hero.full .hero-actions { margin-top: 18px; }
}

/* Arabic letters are joined: letter-spacing pulls them apart (kickers, buttons, labels). */
html[lang="ar"] body *, [dir="rtl"] body * { letter-spacing: 0 !important; }
.field-err { color: #c4323a; font-size: 13.5px; margin-top: 6px; font-weight: 600; }
.alert.field-err { margin: 0 0 12px; }
/* Phone numbers row: keep the slash divider clear of the digits */
@media (max-width: 640px) { .numbers > div { padding-inline: 18px 6px; } }

/* Tablets: the menu is folded, but "Book now" stays in the header next to it */
.site-header.x .hdr-book { display: none; }
@media (min-width: 641px) and (max-width: 1060px) {
  .site-header.x .hdr-book { display: inline-flex; margin-inline-start: auto; margin-inline-end: 0; }
  .site-header.x .hdr-book + .nav-toggle { margin-inline-start: 0; } /* one auto margin only: the button sits next to the menu */
}
/* Tablets: numbers 3 + 2, studio hours and rates side by side, equipment row with breathing room */
@media (min-width: 641px) and (max-width: 1060px) {
  .numbers > div { flex-basis: 33%; }
  .numbers > div:nth-child(3n+1)::before { display: none; }
  .st-info { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .st-info #d-location { grid-column: 1 / -1; }
  .st-gear .gp-grid { padding-inline-end: 24px; scroll-padding-inline: 24px; }
  .st-gear .gp:last-child { margin-inline-end: 24px; }
}

/* Payment flow ended (left the payment page, or the time ran out): the customer starts again from home. */
.pay-ended { position: fixed; inset: 0; z-index: 1000; background: rgba(18, 17, 16, .6); display: grid; place-items: center; padding: 16px; }
.pay-ended-box { background: var(--surface, #fff); color: var(--ink); border-radius: 18px; padding: 26px 22px; max-width: 400px; width: 100%; text-align: center; box-shadow: 0 20px 60px rgba(0, 0, 0, .25); }
.pay-ended-box h2 { margin: 0 0 10px; font-size: 22px; }
.pay-ended-box p { margin: 0 0 18px; color: var(--muted); line-height: 1.6; }
.hold-left { margin: 0 0 14px; font-size: 14px; color: var(--muted); }
.hold-left b { color: var(--ink); font-variant-numeric: tabular-nums; font-size: 16px; }

/* Booking page: change of date (coupon) / cancellation (refund). */
.manage-box { margin-top: 22px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.manage-box.ok { border-color: rgba(244, 209, 64, .8); background: rgba(244, 209, 64, .12); }
.manage-box h3 { margin: 0 0 8px; font-size: 17px; }
.manage-box p, .manage-box li { font-size: 14.5px; line-height: 1.7; color: var(--ink-2); }
.manage-box ul { margin: 6px 0 12px; padding-inline-start: 18px; }
.manage-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.manage-btns .btn { flex: 1 1 160px; }
.coupon-code { font: 800 24px/1.2 var(--accent-font, monospace); letter-spacing: .08em; margin: 6px 0 8px; }

.manage-mini { margin-top: 18px; font-size: 14px; }
.manage-mini summary { cursor: pointer; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; list-style: none; display: inline; }
.manage-mini summary::-webkit-details-marker { display: none; }
.manage-mini .manage-in { margin-top: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; }
.manage-mini p { margin: 0 0 8px; font-size: 14px; line-height: 1.7; color: var(--ink-2); }
.manage-mini .manage-btns .btn { flex: 0 1 auto; }

/* Manage booking page (manage.html) and its small link on the booking page. */
.manage-link { margin: 16px 0 0; font-size: 13.5px; }
.manage-link a { color: var(--muted); text-underline-offset: 3px; }
.mg-opts { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.mg-opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; text-align: start; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface, #fff); font: inherit; color: var(--ink); cursor: pointer; }
.mg-opt:hover:not(:disabled) { border-color: var(--ink-2); }
.mg-opt:disabled { cursor: default; opacity: .6; }
.mg-opt b { display: block; font-size: 15.5px; margin-bottom: 3px; }
.mg-opt small { display: block; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.mg-arr { font-size: 22px; color: var(--muted); flex: none; }
.mg-result { margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.mg-result.ok { border-color: rgba(244, 209, 64, .8); background: rgba(244, 209, 64, .12); }
.mg-result h3 { margin: 0 0 6px; font-size: 16px; }
.mg-result p { margin: 0 0 10px; font-size: 14px; line-height: 1.7; }
.mg-dlg-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.mg-dlg-btns .btn { flex: 1 1 140px; }

.mg-note { display: block; margin: 0 0 12px; font-size: 13.5px; color: var(--muted); }
.mg-note textarea { display: block; width: 100%; margin-top: 6px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; font: inherit; color: var(--ink); resize: vertical; }

/* Arabic small caps-style labels (eyebrows, footer headings) need a bigger size to stay readable. */
[dir="rtl"] .eyebrow, [dir="rtl"] .site-footer.x h5 { font-size: 13.5px; }
/* Short pages (booking, manage, pay): the footer sits at the bottom instead of leaving a gap below it. */
body.site { min-height: 100dvh; display: flex; flex-direction: column; }
body.site > main { flex: 1 0 auto; width: 100%; }
.field-err { margin-top: 6px; color: var(--bad, #c33); font-size: 13px; font-weight: 600; }
label.check + .field-err, .check .field-err { margin-top: 4px; }
.about-studio .photo-x img { object-position: center top; } /* keep the RENDER sign in view if the photo is cropped */
.gallery .xfade { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s ease; }
.gallery .xfade.in { opacity: 1; }
/* Studio page on phones: one booking bar at the bottom (the chat button moves up above it). */
.book-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 85; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--navy); color: #fff; font-size: 14px; transition: transform .25s ease; }
.book-bar b { color: var(--yellow); }
.book-bar.away { transform: translateY(110%); }
@media (max-width: 640px) { body.has-book-bar .rc-fab { bottom: calc(76px + env(safe-area-inset-bottom)); } body.has-book-bar main { padding-bottom: 64px; } }
/* Home hero on phones: both buttons in one row in every language (English used to push the second one below the fold). */
@media (max-width: 640px) {
  .r-hero .hero-actions { flex-wrap: nowrap; gap: 10px; }
  .r-hero .hero-actions .btn { flex: 1 1 0; min-width: 0; justify-content: center; padding-inline: 12px; white-space: nowrap; font-size: 14px; }
}
#book { scroll-margin-top: 72px; } /* land below the sticky header */
