/* MoviMax — inner pages, built on the "Dailies" system (dailies.css + latin-type.css).
   Same rules: warm black, film cream, tally red for what is live; hairlines, no shadows. */

body.page { padding-bottom: var(--scrub-h); }

/* ---------- page head ---------- */
.phead { padding-top: calc(var(--hdr-h) + clamp(48px, 7vw, 112px)); padding-bottom: clamp(48px, 6vw, 96px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-family: var(--mono, monospace); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--cream-3); margin-bottom: clamp(18px, 2.4vw, 30px); }
.crumbs a { color: var(--cream-2); border-bottom: 1px solid var(--line-2); }
.crumbs a:hover { color: var(--cream); border-color: var(--red); }
.crumbs .rec { width: 7px; height: 7px; }
.phead__h { font-size: clamp(50px, 8vw, 136px); line-height: .9; max-width: 15ch; }
.phead__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 110px); align-items: end; }
.phead__lede { margin-top: clamp(26px, 3vw, 40px); max-width: 52ch; color: var(--cream-2); }
.phead .note-line { margin-top: 22px; font-size: 13px; color: var(--cream-3); max-width: 70ch; }

/* ---------- generic section ---------- */
.sec { padding-block: clamp(72px, 9vw, 140px); border-top: 1px solid var(--line); }
.sec--tight { padding-block: clamp(48px, 6vw, 90px); }
.sec--red { background: var(--red); color: var(--black); border-top: 0; }
.sec--red .slug, .sec--red .muted { color: rgba(19, 17, 15, .72); }
.sec--cream { background: var(--cream); color: var(--black); border-top: 0; }
.sec--cream .slug, .sec--cream .muted { color: #5b554c; }
.sec__h { margin-bottom: clamp(36px, 5vw, 72px); max-width: 18ch; }
.split2 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 110px); }
.prose { max-width: 64ch; color: var(--cream-2); font-size: 17px; line-height: 1.65; }
.prose p + p { margin-top: 1em; }
.muted { color: var(--cream-3); }

/* ---------- crop-marked frame for stills ---------- */
.still { position: relative; aspect-ratio: var(--r, 2.39); background: #000; overflow: hidden; }
.still canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.still__marks { position: absolute; inset: 14px; pointer-events: none; z-index: 2; }
.still__marks::before, .still__marks::after { content: ""; position: absolute; width: 22px; height: 22px; border: 0 solid rgba(241, 234, 219, .8); }
.still__marks::before { top: 0; inset-inline-start: 0; border-top-width: 1px; border-inline-start-width: 1px; }
.still__marks::after { bottom: 0; inset-inline-end: 0; border-bottom-width: 1px; border-inline-end-width: 1px; }
.still__tag { position: absolute; z-index: 3; top: 18px; inset-inline-end: 22px; font-family: var(--mono, monospace); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(241, 234, 219, .88); text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.still__rec { position: absolute; z-index: 3; top: 18px; inset-inline-start: 22px; display: flex; gap: 8px; align-items: center; font-family: var(--mono, monospace); font-size: 10.5px; letter-spacing: .1em; color: rgba(241, 234, 219, .9); }
.still--type { display: grid; place-items: center; background: var(--black-2); }
.still--type > p { font-family: var(--display, var(--serif)); font-weight: 800; text-transform: uppercase; font-size: clamp(30px, 5vw, 84px); line-height: .9; text-align: center; color: var(--cream); padding: 0 8%; }
.still--type > p em { color: var(--red); font-style: normal; }

/* ---------- services index ---------- */
.svc-index { border-top: 1px solid var(--line); }
.svc-row { display: grid; grid-template-columns: 64px minmax(0, 1.25fr) minmax(0, 1fr) 150px 30px; gap: clamp(16px, 2.4vw, 36px); align-items: center; padding: clamp(22px, 2.6vw, 34px) 0; border-bottom: 1px solid var(--line); position: relative; transition: background-color .35s; }
.svc-row::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: calc(var(--gutter) * -1); width: 3px; background: var(--red); transform: scaleY(0); transition: transform .35s var(--ease-out); }
.svc-row:hover { background: var(--black-2); }
.svc-row:hover::before { transform: none; }
.svc-row__no { font-family: var(--mono, monospace); font-size: 12px; color: var(--cream-3); }
.svc-row:hover .svc-row__no { color: var(--red); }
.svc-row__name { font-family: var(--display, var(--serif)); font-weight: 800; text-transform: uppercase; font-size: clamp(28px, 3vw, 46px); line-height: .95; }
.svc-row__short { color: var(--cream-2); font-size: 15px; line-height: 1.5; }
.svc-row__meta { font-family: var(--mono, monospace); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--cream-3); display: grid; gap: 4px; }
.svc-row__go { justify-self: end; transition: transform .3s var(--ease-out); color: var(--cream-3); }
.svc-row:hover .svc-row__go { transform: translateX(6px); color: var(--red); }
[dir="rtl"] .svc-row__go svg { transform: scaleX(-1); }
[dir="rtl"] .svc-row:hover .svc-row__go { transform: translateX(-6px); }

/* ---------- packages ---------- */
.pkgs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); }
.pkg { padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; gap: 16px; border-inline-end: 1px solid var(--line); }
.pkg:last-child { border-inline-end: 0; }
.pkg--feat { background: var(--red); color: var(--black); border-color: transparent; }
.pkg__time { font-family: var(--mono, monospace); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--cream-3); }
.pkg--feat .pkg__time, .pkg--feat .pkg__for { color: rgba(19, 17, 15, .86); }
.pkg__name { font-family: var(--display, var(--serif)); font-weight: 800; text-transform: uppercase; font-size: clamp(36px, 3.4vw, 54px); line-height: .9; }
.pkg__for { color: var(--cream-2); font-size: 15px; }
.pkg .btn { margin-top: auto; align-self: flex-start; }
.pkg--feat .btn--line { border-color: var(--black); color: var(--black); }
.pkg--feat .btn--line:hover { background: var(--black); color: var(--cream); }

/* tick list */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-inline-start: 22px; color: var(--cream-2); font-size: 15.5px; line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .72em; width: 10px; height: 1px; background: var(--red); }
.pkg--feat .ticks li { color: var(--black); }
.pkg--feat .ticks li::before { background: var(--black); }
.ticks--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 36px; }

/* ---------- FAQ ---------- */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; font-size: clamp(18px, 1.6vw, 22px); font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono, monospace); color: var(--red); font-size: 20px; transition: transform .3s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 26px; color: var(--cream-2); max-width: 72ch; }

/* ---------- service detail ---------- */
.svc-body { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 90px); }
.svc-body__side { position: sticky; top: calc(var(--hdr-h) + 24px); align-self: start; }
.bignum { font-family: var(--display, var(--serif)); font-weight: 900; font-size: clamp(110px, 15vw, 250px); line-height: .8; color: transparent; -webkit-text-stroke: 1px var(--cream-3); }
.svc-body__side .muted { margin-top: 18px; font-family: var(--mono, monospace); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.svc-long { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.55; color: var(--cream); max-width: 60ch; }
.kv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 40px; }
.kv > div { padding: 20px 18px 20px 0; border-inline-end: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
[dir="rtl"] .kv > div { padding: 20px 0 20px 18px; }
.kv > div + div { padding-inline-start: 18px; }
.kv > div:last-child { border-inline-end: 0; }
.kv span { font-family: var(--mono, monospace); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--cream-3); }
.kv b { font-size: 17px; font-weight: 600; }
.kv .btn { align-self: center; justify-self: start; }
.label-h { font-family: var(--mono, monospace); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--cream-3); margin: 40px 0 16px; }

/* six gates */
.gates { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.gate { padding: 24px 18px 8px 0; border-inline-end: 1px solid var(--line); }
[dir="rtl"] .gate { padding: 24px 0 8px 18px; }
.gate + .gate { padding-inline-start: 18px; }
.gate:last-child { border-inline-end: 0; }
.gate__n { font-family: var(--display, var(--serif)); font-weight: 900; font-size: 52px; line-height: 1; color: var(--cream-3); transition: color .3s; }
.gate:hover .gate__n { color: var(--red); }
.gate h4 { font-family: var(--display, var(--serif)); font-weight: 800; text-transform: uppercase; font-size: 24px; line-height: 1; margin: 14px 0 8px; }
.gate p { font-size: 14px; color: var(--cream-2); line-height: 1.5; }
.gate small { display: block; margin-top: 12px; font-family: var(--mono, monospace); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--cream-3); }

/* ---------- film grids (work index, related) ---------- */
.films-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 4vw, 64px) clamp(24px, 3vw, 48px); }
.films-grid .film { width: auto; flex: none; }
.films-grid .film, .is-static .films-grid .film, .is-reduced .films-grid .film,
.is-static .film--page, .is-reduced .film--page { grid-column: auto; grid-row: auto; width: auto; }
.films-grid .film--v { max-width: 340px; }
.films-grid .film:nth-child(even) { margin-top: clamp(0px, 8vw, 120px); }
.film__title a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease-out); }
.film__title a:hover { background-size: 100% 1px; color: var(--cream); }
[dir="rtl"] .film__title a { background-position: 100% 100%; }
.film__more { display: inline-flex; margin-top: 14px; }
.film--page { width: auto; flex: none; }
.film--page .film__frame { max-height: 78vh; }
.film--page.film--v { max-width: 520px; margin-inline: auto; }

/* case body */
.case-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 56px); }
.case-cols h3 { font-family: var(--mono, monospace); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--cream-3); margin-bottom: 14px; font-weight: 500; }
.case-cols .is-red { color: var(--red); }
.case-cols p { font-size: 17px; line-height: 1.6; color: var(--cream); }
.chips-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.chip { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono, monospace); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; padding: 7px 10px; border: 1px solid var(--line-2); color: var(--cream-2); }
a.chip:hover { border-color: var(--red); color: var(--cream); }
.chip--red { border-color: var(--red); color: var(--red); }
.disclaimer { margin-top: 36px; padding: 16px 20px; border-inline-start: 2px solid var(--red); background: var(--black-2); color: var(--cream-3); font-size: 14px; max-width: 80ch; }

/* pager */
.pager { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; padding-block: 40px; border-top: 1px solid var(--line); }
.pager__pg { display: grid; gap: 6px; }
.pager__pg span { font-family: var(--mono, monospace); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--cream-3); }
.pager__pg b { font-family: var(--display, var(--serif)); font-weight: 800; text-transform: uppercase; font-size: clamp(22px, 2.4vw, 36px); line-height: 1; transition: color .3s; }
.pager__pg:hover b { color: var(--red); }
.pager__next { text-align: end; }

/* ---------- studio ---------- */
.areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 72px); }
.area { border-top: 1px solid var(--line); padding: 26px 0 34px; }
.area__n { font-family: var(--mono, monospace); font-size: 11px; color: var(--red); letter-spacing: .1em; }
.area h3 { font-family: var(--display, var(--serif)); font-weight: 800; text-transform: uppercase; font-size: clamp(26px, 2.4vw, 38px); line-height: .95; margin: 10px 0 10px; }
.area p { color: var(--cream-2); font-size: 15.5px; max-width: 52ch; }
.rules { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid rgba(19, 17, 15, .22); }
.rule-c { padding: 24px 18px 30px 0; border-inline-end: 1px solid rgba(19, 17, 15, .22); border-bottom: 1px solid rgba(19, 17, 15, .22); }
[dir="rtl"] .rule-c { padding: 24px 0 30px 18px; }
.rule-c:nth-child(5n) { border-inline-end: 0; }
.rule-c:not(:nth-child(5n + 1)) { padding-inline-start: 18px; }
.rule-c__n { font-family: var(--display, var(--serif)); font-weight: 900; font-size: 44px; line-height: 1; }
.rule-c h4 { font-family: var(--display, var(--serif)); font-weight: 800; text-transform: uppercase; font-size: 22px; line-height: 1; margin: 14px 0 8px; }
.rule-c p { font-size: 14px; line-height: 1.5; color: rgba(19, 17, 15, .82); }
.kit { border: 1px solid var(--line); }
.kit__row { display: grid; grid-template-columns: 60px minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px; padding: 16px 20px; border-top: 1px solid var(--line); align-items: baseline; }
.kit__row:first-child { border-top: 0; }
.kit__row span:first-child { font-family: var(--mono, monospace); font-size: 11px; color: var(--cream-3); }
.kit__row span:last-child { color: var(--cream-2); text-align: end; direction: ltr; }
[dir="rtl"] .kit__row span:last-child { text-align: left; }

/* ---------- crew ---------- */
.crew { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.crew-card { background: var(--black); padding: 20px 20px 24px; display: flex; flex-direction: column; position: relative; transition: background-color .35s; }
.crew-card:hover { background: var(--black-2); }
.crew-card__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.crew-card__ch { font-family: var(--mono, monospace); font-size: 10.5px; letter-spacing: .08em; color: var(--cream-3); }
.crew-card:hover .crew-card__ch { color: var(--red); }
.crew-card__dept { font-family: var(--mono, monospace); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; border-inline-start: 2px solid var(--red); background: var(--black-3); color: var(--cream-2); }
.crew-card__fig { height: 300px; margin: 14px -20px 0; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; border-bottom: 1px solid var(--line); position: relative; }
.crew-card__fig img { height: 100%; width: auto; transform-origin: 50% 100%; transition: transform .6s var(--ease-out); }
.crew-card:hover .crew-card__fig img { transform: translateY(-6px) scale(1.02); }
.crew-card__fig::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--red); transform: scaleX(0); transition: transform .5s var(--ease-out); }
.crew-card:hover .crew-card__fig::after { transform: none; }
.crew-card h3 { font-family: var(--display, var(--serif)); font-weight: 800; text-transform: uppercase; font-size: 26px; line-height: .95; margin-top: 18px; }
.crew-card p { font-size: 14px; line-height: 1.5; color: var(--cream-2); margin-top: 8px; }
.crew-card .crew-card__kit { margin-top: 12px; font-family: var(--mono, monospace); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--cream-3); direction: ltr; }
[dir="rtl"] .crew-card__kit { text-align: right; }
.callsheet { border: 1px solid var(--line); }
.callsheet__row { display: grid; grid-template-columns: 110px minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 16px; padding: 15px 20px; border-top: 1px solid var(--line); align-items: baseline; }
.callsheet__row:first-child { border-top: 0; background: var(--black-2); font-family: var(--mono, monospace); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--cream-3); }
.callsheet__row b { font-family: var(--mono, monospace); font-weight: 500; color: var(--red); direction: ltr; }
.callsheet__row span:last-child { text-align: end; color: var(--cream-2); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 110px); }
.big-link { display: block; font-family: var(--display, var(--serif)); font-weight: 800; font-size: clamp(40px, 5vw, 80px); line-height: 1; text-transform: uppercase; padding-block: 18px; border-bottom: 1px solid var(--line); transition: color .25s; direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] .big-link { text-align: right; }
.big-link:hover { color: var(--red); }
.big-link--sm { font-size: clamp(26px, 2.8vw, 42px); text-transform: none; }
.c-block { margin-top: 36px; }
.c-block p { margin-top: 10px; color: var(--cream-2); }
.form { display: grid; gap: 24px; }
.form__h { display: flex; align-items: center; gap: 10px; font-family: var(--mono, monospace); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > label, .field > legend { font-family: var(--mono, monospace); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--cream-3); padding: 0; }
.field input, .field textarea, .field select { font: inherit; font-size: 17px; color: var(--cream); background: transparent; border: 0; border-bottom: 1px solid var(--line-2); padding: 10px 0; border-radius: 0; outline: 0; width: 100%; }
.field select option { background: var(--black); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--red); }
.field textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; inset: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 9px 14px; border: 1px solid var(--line-2); font-size: 14px; color: var(--cream-2); transition: all .2s; }
.chips input:checked + span { background: var(--cream); color: var(--black); border-color: var(--cream); }
.chips input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.form__note { font-size: 13px; color: var(--cream-3); }

/* ---------- Arabic ---------- */
[dir="rtl"] .phead__h { font-size: clamp(40px, 6vw, 100px); line-height: 1.25; max-width: 18ch; }
[dir="rtl"] :is(.svc-row__name, .pkg__name, .gate h4, .area h3, .rule-c h4, .crew-card h3, .pager__pg b, .bignum, .gate__n, .rule-c__n, .still--type > p) { font-family: "Cairo", sans-serif; text-transform: none; line-height: 1.3; }
[dir="rtl"] .svc-row__name { font-size: clamp(22px, 2.2vw, 34px); font-weight: 700; }
[dir="rtl"] .pkg__name { font-size: clamp(28px, 2.6vw, 40px); font-weight: 800; }
[dir="rtl"] .gate h4, [dir="rtl"] .rule-c h4 { font-size: 19px; font-weight: 700; }
[dir="rtl"] .area h3 { font-size: clamp(22px, 2vw, 30px); font-weight: 700; }
[dir="rtl"] .crew-card h3 { font-size: 20px; font-weight: 700; }
[dir="rtl"] .big-link { font-family: "Martian Mono", monospace; font-size: clamp(28px, 3.4vw, 56px); }
[dir="rtl"] :is(.crumbs, .svc-row__meta, .pkg__time, .kv span, .label-h, .gate small, .chip, .pager__pg span, .case-cols h3, .crew-card__dept, .crew-card__ch, .callsheet__row:first-child, .field > label, .field > legend, .form__h, .still__tag, .area__n) { font-family: "Cairo", sans-serif; letter-spacing: 0; text-transform: none; font-size: 13px; }
[dir="rtl"] .still__rec { font-family: "Martian Mono", monospace; }
[dir="rtl"] .prose, [dir="rtl"] .svc-long, [dir="rtl"] .case-cols p { line-height: 1.9; }
[dir="rtl"] .ticks li { line-height: 1.8; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .gates { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gates .gate:nth-child(3) { border-inline-end: 0; }
  .gates .gate:nth-child(n+4) { border-top: 1px solid var(--line); }
  .gates .gate:nth-child(4) { padding-inline-start: 0; }
  .rules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rule-c, .rule-c:not(:nth-child(5n + 1)) { padding-inline-start: 0; border-inline-end: 0; }
  .rule-c:nth-child(odd) { border-inline-end: 1px solid rgba(19, 17, 15, .22); padding-inline-end: 18px; }
  .rule-c:nth-child(even) { padding-inline-start: 18px; }
  .crew { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .svc-row { grid-template-columns: 50px minmax(0, 1fr) minmax(0, 1fr) 26px; }
  .svc-row__meta { display: none; }
}
@media (max-width: 900px) {
  .phead__grid, .split2, .svc-body, .contact-grid, .case-cols { grid-template-columns: 1fr; }
  .svc-body__side { position: static; }
  .bignum { font-size: 110px; }
  .svc-row { grid-template-columns: 40px minmax(0, 1fr) 24px; gap: 10px 14px; }
  .svc-row__short { grid-column: 2 / 3; }
  .svc-row__go { grid-row: 1; grid-column: 3; }
  .pkgs { grid-template-columns: 1fr; }
  .pkg { border-inline-end: 0; border-top: 1px solid var(--line); }
  .pkg:first-child { border-top: 0; }
  .kv { grid-template-columns: 1fr 1fr; }
  .kv > div:nth-child(2) { border-inline-end: 0; }
  .kv > div:nth-child(3) { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-inline-start: 0; }
  .ticks--2 { grid-template-columns: 1fr; }
  .films-grid { grid-template-columns: 1fr; }
  .films-grid .film:nth-child(even) { margin-top: 0; }
  .areas { grid-template-columns: 1fr; }
  .crew { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .crew-card { padding: 16px; }
  .crew-card__fig { height: 230px; margin-inline: -16px; }
  .crew-card h3 { font-size: 21px; }
  .callsheet__row { grid-template-columns: 70px minmax(0, 1fr); }
  .callsheet__row span:nth-child(3), .callsheet__row span:nth-child(4) { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .pager { grid-template-columns: 1fr 1fr; }
  .pager__all { grid-column: 1 / -1; grid-row: 1; justify-self: start; }
}
@media (max-width: 520px) {
  .gates { grid-template-columns: 1fr 1fr; }
  .gates .gate { border-inline-end: 1px solid var(--line) !important; padding-inline-start: 0 !important; }
  .gates .gate:nth-child(even) { border-inline-end: 0 !important; padding-inline-start: 14px !important; }
  .gates .gate:nth-child(n+3) { border-top: 1px solid var(--line); }
  .rules { grid-template-columns: 1fr; }
  .rule-c, .rule-c:nth-child(odd), .rule-c:nth-child(even) { border-inline-end: 0; padding-inline: 0; }
  .crew-card { padding: 14px 12px; }
  .crew-card__fig { height: 180px; margin-inline: -12px; }
  .crew-card h3 { font-size: 18px; }
  [dir="rtl"] .crew-card h3 { font-size: 16px; }
  .crew-card p { font-size: 13px; }
  .crew-card__kit { display: none; }
  .kv { grid-template-columns: 1fr; }
  .kv > div { border-inline-end: 0 !important; padding-inline-start: 0 !important; }
  .kv > div + div { border-top: 1px solid var(--line); }
}

/* fixes that need extra specificity against latin-type.css / arabic-cairo.css */
html:not([dir="rtl"]) .h2.phead__h { font-size: clamp(50px, 7.4vw, 128px); line-height: .9; }
[dir="rtl"] .h2.phead__h { font-size: clamp(38px, 5.4vw, 92px); line-height: 1.25; }
.lang__soon { padding: 6px 7px; color: var(--cream-3); opacity: .45; cursor: default; }
html:not([dir="rtl"]) .lang__soon { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; }
.credits--page { padding-top: clamp(64px, 8vw, 110px); text-align: start; }
.frames__more li a { color: inherit; border-bottom: 1px solid transparent; transition: border-color .3s, color .3s; }
.frames__more li a:hover { color: var(--cream); border-color: var(--red); }
.still__tag, .still__rec { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] :is(.btn, .pkg, .split2) > svg, [dir="rtl"] .btn svg { transform: scaleX(-1); }

/* ---------- services index: red hover rows + floating preview (from the Live Cut direction) ---------- */
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc { position: relative; border-bottom: 1px solid var(--line); }
.svc a { position: relative; display: grid; grid-template-columns: 64px minmax(0, 7fr) minmax(0, 3.4fr) minmax(90px, 1fr); column-gap: clamp(16px, 2.4vw, 36px); align-items: center; padding: 16px 0 14px; isolation: isolate; }
.svc a::before { content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); background: var(--red); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .5s var(--ease); z-index: -1; }
.svc-n { font-family: var(--mono, monospace); font-size: 12px; color: var(--grain); transition: color .3s; }
.svc-t { font-family: var(--display, var(--serif)); font-weight: 800; text-transform: uppercase; font-size: clamp(30px, 4vw, 64px); line-height: .95; }
.svc-t span { display: inline-block; transform-origin: 0 50%; transition: transform .7s var(--ease), letter-spacing .7s var(--ease); }
.svc-d { font-size: 14.5px; line-height: 1.4; color: rgba(241, 234, 219, .72); transition: color .3s; }
.svc-m { justify-self: end; text-align: end; font-family: var(--mono, monospace); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--grain); transition: color .3s; }
.svc a:hover::before, .svc a:focus-visible::before { transform: scaleY(1); }
.svc a:hover, .svc a:focus-visible { color: var(--black); outline: none; }
.svc a:hover .svc-t span, .svc a:focus-visible .svc-t span { transform: scaleX(1.05); letter-spacing: .01em; }
.svc a:hover .svc-n, .svc a:hover .svc-d, .svc a:hover .svc-m, .svc a:focus-visible .svc-n, .svc a:focus-visible .svc-d, .svc a:focus-visible .svc-m { color: var(--black); }
.peek { position: fixed; left: 0; top: 0; z-index: 40; width: 380px; pointer-events: none; opacity: 0; transform: translate3d(-999px, 0, 0); background: var(--black); color: var(--cream); box-shadow: 0 0 0 1px rgba(19, 17, 15, .6); clip-path: inset(0 0 100% 0); transition: opacity .25s, clip-path .45s var(--ease); }
.peek.on { opacity: 1; clip-path: inset(0 0 0 0); }
.peek-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #000; }
.peek-media > * { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .35s var(--ease); }
.peek-media > .on { opacity: 1; }
.peek-type { display: grid; place-items: center; background: var(--black-2); padding: 0 8%; }
.peek-type p { font-family: var(--display, var(--serif)); font-weight: 800; text-transform: uppercase; font-size: 40px; line-height: .92; text-align: center; }
.peek-type em { color: var(--red); font-style: normal; }
.peek-cap { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; font-family: var(--mono, monospace); font-size: 10.5px; letter-spacing: .07em; text-transform: uppercase; }
[dir="rtl"] .svc-t { font-family: "Cairo", sans-serif; text-transform: none; font-weight: 700; font-size: clamp(26px, 3.2vw, 50px); line-height: 1.35; }
[dir="rtl"] .svc-t span { transform-origin: 100% 50%; }
[dir="rtl"] .svc a:hover .svc-t span, [dir="rtl"] .svc a:focus-visible .svc-t span { transform: none; font-weight: 900; letter-spacing: 0; }
[dir="rtl"] :is(.svc-n, .svc-m, .peek-cap) { font-family: "Cairo", sans-serif; letter-spacing: 0; text-transform: none; font-size: 13px; }
[dir="rtl"] .peek-type p { font-family: "Cairo", sans-serif; text-transform: none; font-size: 30px; line-height: 1.35; }
@media (hover: none), (max-width: 960px) { .peek { display: none; } }
@media (max-width: 900px) {
  .svc a { grid-template-columns: 40px minmax(0, 1fr); row-gap: 6px; padding: 18px 0 16px; }
  .svc-t { grid-column: 2; white-space: normal; font-size: clamp(28px, 7vw, 44px); }
  .svc-d, .svc-m { grid-column: 2; }
  .svc-m { justify-self: start; text-align: start; }
}
@media (prefers-reduced-motion: reduce) { .svc-t span, .svc a::before, .peek { transition: none !important; } }

/* footer with the services column (internal links for people and crawlers) */
.foot { grid-template-columns: minmax(0, 1.5fr) repeat(5, minmax(0, 1fr)); }
@media (max-width: 1100px) { .foot { grid-template-columns: repeat(3, minmax(0, 1fr)); } .foot__brand { grid-column: 1 / -1; } }
@media (max-width: 600px) { .foot { grid-template-columns: 1fr 1fr; } .foot__col--svc { grid-column: 1 / -1; } }

/* ---------- real media from the studio's pipeline (content/media-prompts.md) ---------- */
.plate.is-real > canvas { opacity: 0; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film__vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s; pointer-events: none; }
.film__frame.is-clip .film__vid { opacity: 1; }
.film__frame.is-clip .film__cv { opacity: 0; }
.monitor__real { position: absolute; inset: 0; overflow: hidden; opacity: 0; transition: opacity .4s; pointer-events: none; }
.monitor.is-real .monitor__real { opacity: 1; }
.monitor__real img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0;
  transform: scale(var(--z, 1)); transform-origin: 65% 55%; transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.monitor__real img.on { opacity: 1; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.frame__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform 1.2s var(--ease-out); }
.frame.has-img::after { background: linear-gradient(0deg, rgba(15, 14, 12, .92) 0%, rgba(15, 14, 12, .45) 45%, rgba(15, 14, 12, .1) 100%) !important; opacity: 1; z-index: 1; transform: none !important; }
.frame.has-img:hover .frame__img { transform: scale(1.04); }
.frame.has-img .art, .frame.has-img .frame__matte { opacity: .35; }
:is(.is-static, .is-reduced) :is(.monitor__real, .monitor__real img, .film__vid, .frame__img) { transition: none !important; }

/* ---------- cinematic finish on every frame (code-drawn or real): moving grain, vignette, slow drift ---------- */
:root { --grain-img: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5  0 0 0 0 .5  0 0 0 0 .5  0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.film__frame::after, .still::after, .monitor::after, .viewer::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: var(--grain-img), radial-gradient(ellipse 85% 75% at 50% 50%, transparent 55%, rgba(0, 0, 0, .42) 100%);
  background-size: 220px 220px, 100% 100%; mix-blend-mode: overlay; opacity: .55;
  animation: mm-grain .5s steps(3) infinite;
}
@keyframes mm-grain { 0% { background-position: 0 0, 0 0; } 33% { background-position: -60px 40px, 0 0; } 66% { background-position: 50px -70px, 0 0; } 100% { background-position: -20px 90px, 0 0; } }
.still canvas, .frame__img { animation: mm-drift 22s ease-in-out infinite alternate; transform-origin: 60% 50%; }
@keyframes mm-drift { from { transform: scale(1.0); } to { transform: scale(1.05) translate3d(-1%, -.6%, 0); } }
.frame.has-img:hover .frame__img { animation-play-state: paused; }
:is(.is-static, .is-reduced) :is(.film__frame, .still, .monitor, .viewer)::after { animation: none; }
:is(.is-static, .is-reduced) :is(.still canvas, .frame__img) { animation: none; }
@media (prefers-reduced-motion: reduce) { .film__frame::after, .still::after, .monitor::after, .viewer::after, .still canvas, .frame__img { animation: none !important; } }
/* labels stay legible on bright real frames */
.still__rec, .still__tag { background: rgba(15, 14, 12, .62); padding: 5px 8px; text-shadow: none; }
@media (max-width: 700px) { .hero__video { object-position: 62% 50%; } }
/* real hero reel: extra shading under the headline so it reads over bright sets (white cyc, lit interiors) */
.hero__screen:has(.plate.is-real) .hero__shade {
  background: linear-gradient(0deg, rgba(15, 14, 12, .82) 0%, rgba(15, 14, 12, .4) 38%, rgba(15, 14, 12, 0) 68%),
              linear-gradient(90deg, rgba(15, 14, 12, .62) 0%, rgba(15, 14, 12, .18) 48%, rgba(15, 14, 12, 0) 70%);
}
[dir="rtl"] .hero__screen:has(.plate.is-real) .hero__shade {
  background: linear-gradient(0deg, rgba(15, 14, 12, .82) 0%, rgba(15, 14, 12, .4) 38%, rgba(15, 14, 12, 0) 68%),
              linear-gradient(270deg, rgba(15, 14, 12, .62) 0%, rgba(15, 14, 12, .18) 48%, rgba(15, 14, 12, 0) 70%);
}
.film__tc { background: rgba(15, 14, 12, .62); padding: 3px 6px; text-shadow: none; }
/* per-clip framing: the Riyadh clip has an outpainted awning in its top 15% */
.film[data-film="tongues"] .film__vid { object-position: 50% 66%; }

/* ---------- Direct this shot · camera monitor HUD (phase 1) ---------- */
.monitor .hud { position: absolute; inset: 0; pointer-events: none; z-index: 3; font-family: var(--mono, monospace); font-size: 10.5px; letter-spacing: .08em; color: rgba(251, 246, 236, .88); text-transform: uppercase; }
.hud__fd { position: absolute; left: 28px; bottom: 40px; color: rgba(251, 246, 236, .72); }
.hud__safe { position: absolute; inset: 9% 6%; border: 1px dashed rgba(251, 246, 236, .14); }
.hud__x { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; }
.hud__x::before, .hud__x::after { content: ""; position: absolute; background: rgba(251, 246, 236, .35); }
.hud__x::before { left: 6.5px; top: 0; width: 1px; height: 14px; }
.hud__x::after { top: 6.5px; left: 0; height: 1px; width: 14px; }
.hud__ret { position: absolute; left: 65%; top: 55%; transition: left .9s var(--ease), top .9s var(--ease), width .9s var(--ease); width: calc(var(--s, .17) * 100%); aspect-ratio: 1; transform: translate(-50%, -50%); transition: width .9s var(--ease); }
.hud__ret i { position: absolute; width: 12px; height: 12px; border: 0 solid rgba(251, 246, 236, .9); transition: border-color .4s; }
.hud__ret i:nth-child(1) { left: 0; top: 0; border-left-width: 1.5px; border-top-width: 1.5px; }
.hud__ret i:nth-child(2) { right: 0; top: 0; border-right-width: 1.5px; border-top-width: 1.5px; }
.hud__ret i:nth-child(3) { left: 0; bottom: 0; border-left-width: 1.5px; border-bottom-width: 1.5px; }
.hud__ret i:nth-child(4) { right: 0; bottom: 0; border-right-width: 1.5px; border-bottom-width: 1.5px; }
.hud__ret.is-hunting { animation: mm-hunt .9s var(--ease) both; }
.hud__ret.is-hunting i { border-color: var(--red); animation: mm-confirm .9s steps(1) both; }
@keyframes mm-hunt { 0% { opacity: 0; transform: translate(-50%, -50%) scale(1.35); } 35% { opacity: 1; transform: translate(-50%, -50%) scale(.92); } 60% { transform: translate(-50%, -50%) scale(1.04); } 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes mm-confirm { 0%, 70% { border-color: var(--red); } 100% { border-color: rgba(251, 246, 236, .9); } }
.monitor .hud .hud__hist { position: absolute; inset: 44px 28px auto auto; width: 96px; height: 34px; background: rgba(15, 14, 12, .45); border: 1px solid rgba(251, 246, 236, .18); }
.hud__meter { position: absolute; right: 12px; bottom: 34px; height: 64px; width: 10px; display: flex; gap: 2px; align-items: flex-end; }
.hud__meter i { flex: 1; height: 100%; background: linear-gradient(0deg, rgba(251, 246, 236, .7) 0 70%, #f2401d 70% 100%); clip-path: inset(calc((1 - var(--v, .12)) * 100%) 0 0 0); transition: clip-path .12s linear; opacity: .85; }
@media (max-width: 900px) {
  .hud__fd { left: 20px; bottom: 34px; }
  .monitor .hud .hud__hist { inset: 32px 20px auto auto; width: 72px; height: 26px; }
  .hud__safe, .hud__meter { display: none; }
}
.osd { z-index: 4; }

/* ---------- real frames: subject layer + background layer (compression, shallow depth of field) ---------- */
.monitor__real .mr { position: absolute; inset: 0; opacity: 0; transition: opacity .55s var(--ease); }
.monitor__real .mr.on { opacity: 1; }
.monitor__real .mr img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--opx, 50%) 50%; opacity: 1; transform-origin: var(--ox, 65%) var(--oy, 55%); transition: transform 1.3s var(--ease), filter .9s var(--ease); }
.monitor__real .mr__bg { transform: scale(var(--zb, 1)); filter: blur(var(--blur, 0px)); }
.monitor__real .mr__fg { transform: scale(var(--z, 1)); -webkit-mask-image: radial-gradient(ellipse var(--mrx, 22%) var(--mry, 34%) at var(--mx, 65%) var(--my, 55%), #000 62%, transparent 100%); mask-image: radial-gradient(ellipse var(--mrx, 22%) var(--mry, 34%) at var(--mx, 65%) var(--my, 55%), #000 62%, transparent 100%); }
.monitor__real.is-racking .mr__fg { animation: mm-rack .7s var(--ease); }
@keyframes mm-rack { 0% { filter: blur(0); } 35% { filter: blur(3.5px); } 100% { filter: blur(0); } }
.monitor__real .mr.sweep-r, .monitor__real .mr.sweep-l { transition: none; opacity: 1; -webkit-mask-size: 300% 100%; mask-size: 300% 100%; animation: mm-sweep 1.45s var(--ease) forwards; }
.monitor__real .mr.sweep-r { -webkit-mask-image: linear-gradient(90deg, #000 0 40%, transparent 60% 100%); mask-image: linear-gradient(90deg, #000 0 40%, transparent 60% 100%); }
.monitor__real .mr.sweep-l { -webkit-mask-image: linear-gradient(270deg, #000 0 40%, transparent 60% 100%); mask-image: linear-gradient(270deg, #000 0 40%, transparent 60% 100%); animation-name: mm-sweep-l; }
@keyframes mm-sweep { from { -webkit-mask-position: 100% 0; mask-position: 100% 0; } to { -webkit-mask-position: 0 0; mask-position: 0 0; } }
@keyframes mm-sweep-l { from { -webkit-mask-position: 0 0; mask-position: 0 0; } to { -webkit-mask-position: 100% 0; mask-position: 100% 0; } }
.monitor__real .mr.cut { transition: opacity .35s linear; }
:is(.is-static, .is-reduced) .monitor__real :is(.mr, img) { transition: none !important; animation: none !important; }

/* brief + share */
.note__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn--ink-line { border: 1px solid var(--black); color: var(--black); background: transparent; }
.btn--ink-line:hover { background: var(--black); color: var(--cream); }
.btn--ink-line.is-done { background: var(--black); color: var(--cream); }
html:not([dir="rtl"]) .btn--ink-line { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
@media (max-width: 900px) {
}
@media (max-width: 900px) { .hud__ret { left: 56%; top: 52%; } }
.film[data-film="bloom"] .film__vid { object-position: 50% 38%; }

/* phase 2: layered plate + subject, parallax */
.monitor__real .mr.is-layered .mr__fg { -webkit-mask-image: none; mask-image: none; transform: translate3d(calc(var(--px, 0) * 14px), calc(var(--py, 0) * 8px), 0) scale(var(--z, 1)); }
.monitor__real .mr.is-layered .mr__bg { transform: translate3d(calc(var(--px, 0) * -10px), calc(var(--py, 0) * -6px), 0) scale(var(--zb, 1)); }
.monitor__real .mr.is-layered img { transition: transform .5s cubic-bezier(.2, .7, .2, 1), filter .9s var(--ease); }
/* phase 3a: time-lapse layer */
.monitor__real .mr__tl { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--opx, 50%) 50%; z-index: 3; opacity: 0; transform: scale(var(--z, 1)); transform-origin: var(--ox, 65%) var(--oy, 55%); transition: opacity .25s; }
.monitor__real .mr__tl.on { opacity: 1; }
.film[data-film="offplan"] .film__vid { object-position: 50% 30%; }
.film__vis { position: absolute; z-index: 3; inset-inline-start: 12px; bottom: 14px; font-family: var(--mono, monospace); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(251, 246, 236, .92); background: rgba(15, 14, 12, .62); padding: 4px 8px; pointer-events: none; }
[dir="rtl"] .film__vis { font-family: "Cairo", sans-serif; letter-spacing: 0; font-size: 12px; }


/* ---------- title cards: shorter pinned run + a progress bar that dials the number ---------- */
.cards { height: 230vh; }
.cards.has-dial .cards__call { display: none; }
.cards__dial { position: absolute; left: 50%; bottom: calc(var(--scrub-h) + 18px); transform: translateX(-50%); z-index: 3; display: grid; justify-items: center; gap: 10px; width: min(420px, calc(100% - var(--gutter) * 2)); color: var(--cream); text-decoration: none; }
.cards__dial-k { font-family: var(--mono, monospace); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--cream-3); display: flex; align-items: center; gap: 8px; }
.cards__dial-k::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); animation: mm-nudge 1.4s var(--ease) infinite; }
@keyframes mm-nudge { 0%, 100% { transform: rotate(45deg) translate(-2px, -2px); opacity: .5; } 50% { transform: rotate(45deg) translate(1px, 1px); opacity: 1; } }
.cards__dial-n { font-family: var(--mono, monospace); font-size: clamp(20px, 2.2vw, 28px); font-weight: 500; letter-spacing: .04em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cards__dial-n .d { display: inline-block; color: transparent; position: relative; transition: color .15s; }
.cards__dial-n .d::before { content: "_"; position: absolute; left: 0; right: 0; text-align: center; color: var(--cream-3); opacity: .55; }
.cards__dial-n .d.on { color: var(--cream); }
.cards__dial-n .d.on::before { content: none; }
.cards__bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; width: 100%; }
.cards__bar i { height: 3px; background: rgba(241, 234, 219, .18); overflow: hidden; }
.cards__bar b { display: block; height: 100%; background: var(--red); transform: scaleX(0); transform-origin: left center; }
[dir="rtl"] .cards__bar b { transform-origin: left center; }
.cards__dial.is-done .cards__dial-k { color: var(--red); }
.cards__dial.is-done .cards__dial-k::after { content: none; }
.cards__dial.is-done .cards__dial-n { color: var(--cream); }
.cards__dial.is-done:hover .cards__dial-n .d.on { color: var(--red); }
.cards__dial.is-done .cards__dial-k::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: tally 1.2s steps(2, jump-none) infinite; }
[dir="rtl"] .cards__dial-k { font-family: "Cairo", sans-serif; letter-spacing: 0; text-transform: none; font-size: 13px; }
.cards__meta { pointer-events: none; }
@media (max-width: 900px) { .cards__dial { bottom: calc(var(--scrub-h) + 46px); } }

/* ---------- Direct this shot: tighter head, slate in the control column, note as a band ---------- */
.direct { padding-top: clamp(64px, 9vh, 110px); }
.direct__head { grid-template-columns: minmax(0, 1fr); margin-bottom: clamp(26px, 3vw, 44px); }
.direct__intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); column-gap: clamp(32px, 5vw, 96px); align-items: end; }
.direct__kicker { grid-column: 1 / -1; }
.direct__h { grid-column: 1; }
.direct__sub { grid-column: 2; margin-top: 0; padding-bottom: 10px; max-width: 46ch; }
html:not([dir="rtl"]) .direct__h { font-size: clamp(56px, 7.6vw, 136px); }
.deck__r > .slate { width: 100%; margin-top: 26px; }
.deck__r > .slate .slate__grid > div { padding: 8px 12px 9px; }
.deck > .note { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px clamp(20px, 3vw, 48px); align-items: center; padding-top: 18px; margin-top: 6px; }
.deck > .note p { min-height: 0; max-width: 78ch; margin: 0; }
.deck > .note .note__actions { justify-self: end; }
@media (max-width: 1100px) {
  .deck__r > .slate { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .direct__intro { grid-template-columns: minmax(0, 1fr); }
  .direct__sub { grid-column: 1; margin-top: 22px; padding-bottom: 0; }
  .deck > .note { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .deck > .note .note__actions { justify-self: start; }
}

/* ---------- Studio intro: copy sits beside the headline instead of floating below a gap ---------- */
@media (min-width: 901px) {
  .studio .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); column-gap: clamp(32px, 6vw, 110px); }
  .studio .slug, .studio .facts { grid-column: 1 / -1; }
  .studio__h { grid-column: 1; grid-row: 2; max-width: none; }
  .studio__grid { display: contents; }
  .studio__grid .lede { grid-column: 1; grid-row: 3; margin-top: clamp(26px, 3vw, 44px); max-width: 36ch; }
  .studio__side { grid-column: 2; grid-row: 2 / span 2; align-self: end; }
  .studio .facts { margin-top: clamp(64px, 8vw, 110px); }
}
@media (min-width: 1101px) { .deck { grid-template-columns: minmax(0, 2.7fr) minmax(0, 1fr); } }
.deck__r > .slate .slate__grid > div { padding: 8px 10px 9px; }
.deck__r > .slate .slate__grid .v { font-size: 14px; font-stretch: 80%; }
[dir="rtl"] .deck__r > .slate .slate__grid .v { font-size: 13.5px; font-stretch: 100%; }
@media (min-width: 901px) { .studio { padding-top: clamp(84px, 12vh, 150px); } }
.deck__r > .slate .slate__grid .v { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; }
[dir="rtl"] .deck__r > .slate .slate__grid .v.lat { font-size: 13px; letter-spacing: -.01em; }
.direct .slate__grid .v { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; }
[dir="rtl"] .direct .slate__grid .v.lat { font-size: 13px; letter-spacing: -.01em; }
/* bottom timeline: room for the longer page names on wide screens */
@media (min-width: 1101px) { .scrub { grid-template-columns: 290px minmax(0, 1fr) 150px; } }
@media (min-width: 1360px) { .scrub { grid-template-columns: 340px minmax(0, 1fr) 150px; } }
/* tablet widths: the mono labels in the slate and light options sit tight to their cells */
@media (max-width: 1279px) { .deck__r .slate__grid .k, .deck .opt-b .m { letter-spacing: .03em; } }
/* the RTL rule above enlarges every big link; the small ones (WhatsApp, email) keep a size that fits their column */
[dir="rtl"] .big-link--sm { font-size: clamp(22px, 2.4vw, 38px); }

/* ---------- launch QA, 25 Oct ---------- */
/* edit suite on landscape tablets: the inspector stays beside the viewer so stage, crew and timeline fit one pinned screen */
@media (min-width: 901px) and (max-width: 1180px) {
  .suite__main { grid-template-columns: minmax(0, 1fr) 250px; }
  .inspector { display: flex; padding: 16px 18px; gap: 10px; }
  .inspector__time { font-size: 38px; grid-row: auto; }
  .inspector__dl { grid-column: auto; grid-template-columns: 1fr; gap: 8px; }
  .inspector__dl dd { font-size: 13px; }
  .viewer { max-height: 42vh; }
  .suite__head .h2 { font-size: clamp(34px, 4vw, 56px); }
}
/* spec reel: the vertical card sits low enough to clear the counter */
@media (min-width: 901px) { .reel .film--v { --fh: min(54vh, 40vw); } }
.reel__count { z-index: 3; }
/* sub-pages: the footer follows the last call to action without a dead screen */
.credits--page { padding-top: 0; }
.credits--page .foot { margin-top: clamp(40px, 4vw, 64px); }
/* coverage cards with a real photo: the photo carries the subject, the placeholder line art goes */
.frame.has-img .art { display: none; }
.frame--product.has-img .frame__img { object-position: 82% 55%; }
.frame.has-img :is(.frame__no, .frame__ratio) { background: rgba(15, 14, 12, .72); padding: 4px 7px; color: var(--cream); }
/* the policy sheet on the AI content policy page */
.still--doc { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 4%; padding: 0 6%; }
.still--doc > p { padding: 0; text-align: start; font-size: clamp(28px, 4.2vw, 72px); }
.doc { height: 76%; align-self: center; aspect-ratio: 1 / 1.414; background: #ece4d3; color: #1b1712; padding: 6% 7%; display: flex; flex-direction: column; gap: 5%; transform: rotate(-2deg); box-shadow: 0 24px 60px rgba(0, 0, 0, .5); font-size: clamp(7px, .72vw, 11.5px); text-align: start; }
.doc__k { font-family: var(--mono, monospace); letter-spacing: .08em; text-transform: uppercase; color: var(--red); border-bottom: 1px solid rgba(27, 23, 18, .25); padding-bottom: 5%; }
.doc__t { font-family: var(--display, var(--serif)); font-weight: 800; text-transform: uppercase; font-size: 2.3em; line-height: .95; }
.doc__list { list-style: none; counter-reset: c; display: grid; gap: .75em; margin: 0; padding: 0; }
.doc__list li { counter-increment: c; display: grid; grid-template-columns: 2.4em minmax(0, 1fr); line-height: 1.3; }
.doc__list li::before { content: counter(c, decimal-leading-zero); font-family: var(--mono, monospace); color: var(--red); }
.doc__sign { margin-top: auto; display: grid; grid-template-columns: 1.4fr 1fr; gap: 10%; }
.doc__sign span { border-top: 1px solid #1b1712; padding-top: .5em; font-family: var(--mono, monospace); text-transform: uppercase; letter-spacing: .06em; font-size: .85em; color: #5c5246; }
[dir="rtl"] .doc { transform: rotate(2deg); font-family: "Cairo", sans-serif; font-size: clamp(8px, .8vw, 12.5px); }
[dir="rtl"] :is(.doc__k, .doc__t, .doc__sign span) { font-family: "Cairo", sans-serif; text-transform: none; letter-spacing: 0; }
[dir="rtl"] .doc__t { font-size: 2em; line-height: 1.25; }
[dir="rtl"] .doc__list li::before { content: counter(c, arabic-indic); font-family: "Cairo", sans-serif; }
@media (max-width: 700px) { .still--doc { grid-template-columns: minmax(0, 1fr); } .still--doc .doc { display: none; } .still--doc > p { text-align: center; } }
/* big headings and card titles break into even lines */
.city__points h3, .crew-card h3, .phead__h, .film__title { text-wrap: balance; }
/* the bottom timeline is opaque: nothing ghosts through it */
.scrub { background: rgba(15, 14, 12, .98); }
/* Direct this shot: option sub-labels at full contrast */
.opt-b .m { opacity: .9; }
/* current page in the header */
.hdr__nav a[aria-current="page"] { color: var(--cream); }
.hdr__nav a[aria-current="page"]::after { transform: scaleX(1); background: var(--red); }
/* footer: three columns until the six fit comfortably */
@media (max-width: 1240px) { .foot { grid-template-columns: repeat(3, minmax(0, 1fr)); } .foot__brand { grid-column: 1 / -1; } }
@media (max-width: 600px) { .foot { grid-template-columns: 1fr 1fr; } .foot__col--svc { grid-column: 1 / -1; } }
/* services index: the turnaround column has room for "3–7 days per language" */
@media (min-width: 961px) { .svc a { grid-template-columns: 64px minmax(0, 6.4fr) minmax(0, 3.4fr) minmax(160px, 1.4fr); } }
@media (max-width: 1279px) { html:not([dir="rtl"]) :is(.deck__r .slate__grid .k, .deck .opt-b .m) { letter-spacing: .02em; } .deck__r > .slate .slate__grid > div { padding-inline: 9px; } }
html:not([dir="rtl"]) .h2.phead__h { line-height: .95; }

/* ---------- consent bar (only when settings.json has a GA4 id) ---------- */
.consent { position: fixed; z-index: 70; inset-inline-start: var(--gutter); bottom: calc(var(--scrub-h) + 16px); max-width: 440px; background: #1C1916; color: var(--cream); border: 1px solid rgba(241, 234, 219, .18); padding: 18px 20px; box-shadow: 0 18px 50px rgba(0, 0, 0, .5); }
.consent[hidden] { display: none; }
.consent p { font-size: 14px; line-height: 1.55; color: var(--cream-2); margin: 0 0 14px; }
.consent a { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }
.consent__b { display: flex; gap: 10px; }
.consent__b .btn { flex: 1 1 0; justify-content: center; }
@media (max-width: 600px) { .consent { inset-inline: 12px; max-width: none; bottom: calc(var(--scrub-h) + 10px); } }

/* ---------- privacy page ---------- */
.policy { display: grid; gap: clamp(28px, 4vw, 52px); max-width: 1120px; }
.policy__s { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 12px clamp(24px, 4vw, 64px); padding-top: clamp(20px, 3vw, 30px); border-top: 1px solid var(--line); }
.policy__h { font-family: var(--display, var(--serif)); font-weight: 800; text-transform: uppercase; font-size: clamp(24px, 2.4vw, 34px); line-height: 1; }
[dir="rtl"] .policy__h { font-family: "Cairo", sans-serif; text-transform: none; line-height: 1.35; }
.policy .prose a { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }
.policy__act { margin-top: 22px; }
.policy__upd { font-family: var(--mono, monospace); font-size: 12px; letter-spacing: .06em; color: var(--cream-3); }
[dir="rtl"] .policy__upd { font-family: "Cairo", sans-serif; letter-spacing: 0; }
@media (max-width: 760px) { .policy__s { grid-template-columns: minmax(0, 1fr); } }

/* footer legal line: copyright, social profiles, privacy */
.foot__legal { align-items: center; flex-wrap: wrap; }
.foot__legal a { color: var(--cream-2); }
.foot__legal a:hover { color: var(--cream); }
.foot__social { display: inline-flex; gap: 6px; flex-wrap: wrap; }

/* ---------- launch QA, round 2: phones, portrait tablets, Arabic ---------- */
/* Direct this shot below 900px: the DP note and buttons close the section over the sticky monitor */
@media (max-width: 900px) {
  .deck > .note { position: relative; z-index: 6; background: var(--red); padding-bottom: 24px; }
  .sub-line { bottom: 62px; }
  .hero__foot { align-self: stretch; }
  .hero__live { top: 54px; }
  .reel .film--v { --fh: calc((100vw - 2 * var(--gutter) - 24px) / 2.39 * 1.25); }
  .frame__ratio { display: none; }               /* stacked frames are not drawn to their delivery ratio here */
}
/* portrait tablets: a landscape monitor leaves room for the controls under it */
@media (min-width: 601px) and (max-width: 900px) {
  .monitor { aspect-ratio: 16 / 9; }
  .brief__actions .btn { flex: 0 1 auto; }
}
@media (max-width: 600px) {
  .frame--hero.has-img .frame__img { object-position: 88% 50%; }
  .frame--estate.has-img .frame__img { object-position: 75% 50%; }
  .kit__row { grid-template-columns: 40px minmax(0, 1fr); }
  .kit__row span:last-child { grid-column: 2; text-align: start; }
}
/* the last clock label measures its own width so it can sit inside the grid */
.clocks__axis span:last-child { width: max-content; }
/* even line breaks in big lines and titles */
.brief__l1, .svc-t, .credits__h, .pager__pg b { text-wrap: balance; }
.crew-card__ch { white-space: nowrap; flex: none; }
/* language switch inside the phone menu */
.menu__lang { display: flex; gap: 22px; margin: 26px 0 18px; font-family: var(--mono, monospace); font-size: 14px; letter-spacing: .08em; }
.menu__lang a { color: var(--cream-2); padding: 6px 0; }
.menu__lang a[aria-current="page"] { color: var(--cream); border-bottom: 1px solid var(--red); }
[dir="rtl"] .menu__lang a[lang="ar"] { font-family: "Cairo", sans-serif; letter-spacing: 0; }
/* bigger tap targets on touch screens */
@media (pointer: coarse) {
  .foot__col a, .crumbs a, .foot__legal a, .consent a { padding-block: 8px; display: inline-block; }
  .foot__nav, .foot__contact, .foot__col { gap: 0; }
}
/* Arabic: the phone number never splits; Arabic lines never fall back to the mono face */
[dir="rtl"] .big-link[href^="tel:"] { white-space: nowrap; font-size: clamp(24px, 2.9vw, 42px); }
[dir="rtl"] :is(.crew-card__kit, .svc-body__side .muted, .kit__row span:first-child) { font-family: "Cairo", sans-serif; letter-spacing: 0; text-transform: none; font-size: 13px; direction: rtl; }
[dir="rtl"] .film__q b { font-style: normal; font-weight: 700; font-family: "Cairo", sans-serif; }
[dir="rtl"] .bignum { -webkit-text-stroke: 0; color: rgba(241, 234, 219, .1); }
[dir="rtl"] .suite__head .h2 { font-size: clamp(32px, 3.6vw, 60px); }
[dir="rtl"] .h2.phead__h { max-width: 22ch; }
[dir="rtl"] :is(.studio__side strong, .paper__f) { letter-spacing: 0; }
/* the animatic stage is drawn on light paper: the HUD goes dark there too */
.viewer[data-stage="3"] .viewer__hud { color: #2a241d; }
/* service delivery row: one logical padding rule for both directions */
.kv > div, [dir="rtl"] .kv > div { padding-block: 20px; padding-inline: 0 18px; }
.kv > div + div, [dir="rtl"] .kv > div + div { padding-inline-start: 18px; }
@media (max-width: 900px) { .deck > .note { margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); } }
/* the Arabic title card keeps «الذكاء الاصطناعي» on one line: the line runs a touch smaller so it fits */
html[dir="rtl"] .cards__line { max-width: min(100%, 15ch); }

/* ---------- launch QA, round 3: Turkish ---------- */
/* Turkish capitals carry dots, breves and circumflexes: every stacked display line gets room for them */
html[lang="tr"]:not([dir="rtl"]) :is(.h2, .h2.phead__h, .suite__head .h2, .cards__line, .brief__h, .direct__h, .hero__title) { line-height: 1.08; }
html[lang="tr"]:not([dir="rtl"]) :is(.svc-t, .crew-card h3, .frame__name, .still--type > p, .doc__t, .film__title, .credits__h, .pager__pg b, .policy__h, .gate h4, .rule-c h4, .city__points h3, .credits__billing b, .fact dt) { line-height: 1.06; }
.gate h4 { text-wrap: balance; }
/* the bottom timeline is fully opaque */
.scrub { background: rgb(15, 14, 12); }

/* ---------- launch QA, round 4: Arabic on phones and tablets ---------- */
@media (max-width: 600px) { .clocks__axis span:nth-child(2n) { visibility: hidden; } }   /* 06 · 12 · 18 only: no overlaps on a phone */
[dir="rtl"] .inspector__time { text-align: right; font-style: normal; }
[dir="rtl"] .kit__row span:last-child { direction: rtl; }
[dir="rtl"] .bignum { color: rgba(241, 234, 219, .16); }
