/* Type scale floor. Loaded last on every page.
   Nothing readable is under 12px; buttons and links are 12.5px or more; captions 13.5px or more.
   Arabic already uses larger sizes and is left as it is. */

/* count-up numbers inherit the size of the figure they sit in (they were being shrunk by label rules) */
.cu, .inv-stat b .cu, .inv-stat b span, .nums-row dd .cu, .nums-row dd span { font-size: inherit; color: inherit; font-weight: inherit; letter-spacing: inherit; }
.nums-row dd small, .nums-row dd small span { font-size: .42em; }

/* figures */
.inv-stat { padding: 26px 22px; gap: 8px; }
.inv-stat b { font-size: 2.6rem; }
.inv-stat > span { font-size: .9rem; }
.nums-row dt { font-size: .95rem; }

html:not([lang="ar"]) .kicker { font-size: .75rem; letter-spacing: .34em; }
html:not([lang="ar"]) .mega .kicker { font-size: .75rem; letter-spacing: .28em; }
html:not([lang="ar"]) .bi-h { font-size: .75rem; letter-spacing: .3em; }
html:not([lang="ar"]) .hd-top-wa, html:not([lang="ar"]) .hd-s, html:not([lang="ar"]) .hd-s span { font-size: .75rem; letter-spacing: .1em; }
.hd-lang { font-size: .84rem; }
html:not([lang="ar"]) .btn, html:not([lang="ar"]) .btn span, html:not([lang="ar"]) .link, html:not([lang="ar"]) .inv-reset { font-size: .8rem; letter-spacing: .1em; }
html:not([lang="ar"]) .pf-tab, html:not([lang="ar"]) .md-tab { font-size: .78rem; letter-spacing: .12em; }
html:not([lang="ar"]) .fld label, html:not([lang="ar"]) .finder-f label { font-size: .75rem; letter-spacing: .18em; }
html:not([lang="ar"]) .fx dt, html:not([lang="ar"]) .tbl thead th, html:not([lang="ar"]) .ic-f dt { font-size: .75rem; letter-spacing: .16em; }
html:not([lang="ar"]) .inv-f legend, html:not([lang="ar"]) .inv-range span, html:not([lang="ar"]) .inv-sort span { font-size: .75rem; letter-spacing: .22em; }
html:not([lang="ar"]) .ac-tag { font-size: .75rem; letter-spacing: .1em; }
html:not([lang="ar"]) .chips li, html:not([lang="ar"]) .ic-types li { font-size: .8rem; }
.chip i { font-size: .8rem; }
.step-n, .acc-n, .bn-prog { font-size: .78rem; }
html:not([lang="ar"]) .ft-h { font-size: .8rem; }
.ac-date, .ft-c, .ft-line { font-size: .86rem; }
.note { font-size: .88rem; }
html:not([lang="ar"]) .bl { font-size: .75rem; }

@media (min-width: 900px) {
  .inv-stat b { font-size: 3.2rem; }
  .nums-row dd { font-size: 3.2rem; }
}

/* figures written out in full (7,500,000) need a smaller size to stay on one line */
.nums-row dd.nums-long { font-size: 1.7rem; line-height: 1.5; white-space: nowrap; }
@media (min-width: 600px) { .nums-row dd.nums-long { font-size: 2.1rem; line-height: 1.3; } }
@media (min-width: 900px) { .nums-row dd.nums-long { font-size: 2.3rem; line-height: 1.4; } }

/* "+7.5 Million": the word sits beside the figure, smaller */
.nums-row dd.nums-mil { white-space: nowrap; }
.nums-row dd.nums-mil small, .nums-row dd.nums-mil small span { font-size: .4em; font-weight: 400; letter-spacing: .04em; margin-inline-start: .15em; }

/* ---- spacing rhythm: one section padding everywhere; two neighbours on the same background share one gap, not two ---- */
.sec { padding-block: 64px; }
.enq { padding-block: 72px; }
.nums { padding-block: 56px 52px; }
.sec:not(.alt):not(.qs):not(.how) + .sec:not(.alt):not(.qs):not(.how),
.sec.alt + .sec.alt,
.nums + .sec:not(.alt):not(.qs):not(.how) { padding-top: 0; }
.sec-head { margin-bottom: 36px; }
@media (min-width: 900px) {
  .sec { padding-block: 104px; }
  .enq { padding-block: 112px; }
  .nums { padding-block: 88px 80px; }
  .pf { padding-bottom: 104px; }
  .inv { padding-block: 72px 104px; }
  .art-body { padding-block: 56px 104px; }
  .sec-head { margin-bottom: 52px; }
  .row { margin-top: 88px; }
  .sec-head + .row { margin-top: 0; }
}
.sec:not(.alt):not(.qs):not(.how) + .nums { padding-top: 0; }

/* ---- tabs on project pages: choose what to see; Enquire is always in reach ---- */
.tabs-bar { position: sticky; top: 98px; z-index: 30; background: var(--white); border-block: 1px solid var(--line); }
.tabs-in { max-width: calc(var(--wrap) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); display: flex; align-items: center; gap: 16px; }
.tabs-nav { flex: 1; min-width: 0; display: flex; gap: 4px 26px; overflow-x: auto; scrollbar-width: none; }
.tabs-nav::-webkit-scrollbar { display: none; }
.tab { flex: none; display: inline-flex; align-items: center; min-height: 56px; padding: 0 2px; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; white-space: nowrap; }
html[lang="ar"] .tab { letter-spacing: 0; font-size: .98rem; font-weight: 600; }
.tab:hover { color: var(--slate); }
.tab.is-on { color: var(--slate); border-bottom-color: var(--slate); }
.tabs-cta { display: none; flex: none; }
.js .tab-p:not(.is-on) { display: none; }
.tab-p > .sec:first-child { padding-top: 56px; }
.phg { display: grid; gap: 20px; }
.phc { display: flex; flex-direction: column; text-decoration: none; background: var(--white); border: 1px solid var(--line); transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.phc:hover { border-color: var(--slate); box-shadow: 0 18px 40px rgba(26, 28, 32, .08); }
.phc-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--stone); }
.phc-img img { width: 100%; height: 100%; object-fit: cover; }
.phc-b { display: flex; flex-direction: column; gap: 8px; padding: 26px 24px 22px; flex: 1; }
.phc-n { font-size: .78rem; font-weight: 700; letter-spacing: .14em; color: var(--muted); }
.phc-t { font-size: 1.45rem; font-weight: 400; line-height: 1.25; }
html[lang="ar"] .phc-t { font-weight: 500; line-height: 1.55; }
.phc-d { color: var(--muted); font-size: .95rem; line-height: 1.6; }
.phc-m { font-size: .9rem; font-weight: 600; margin-top: 4px; }
.phc .more { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 16px; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
html[lang="ar"] .phc .more { letter-spacing: 0; font-size: .95rem; font-weight: 600; }
.galg { display: grid; gap: 12px; }
.galg-i { margin: 0; overflow: hidden; background: var(--stone); }
.galg-i img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.lines-links li { padding: 0; }
.lines-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 54px; text-decoration: none; font-weight: 500; }
.lines-links a:hover { text-decoration: underline; text-underline-offset: 5px; }
.plinks { border-top: 1px solid var(--line); }
.plinks a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; text-decoration: none; font-size: 1.15rem; border-bottom: 1px solid var(--line); }
.plinks a:hover { text-decoration: underline; text-underline-offset: 5px; }
.crumb { text-decoration: none; border-bottom: 1px solid currentColor; }
@media (min-width: 600px) { .phg { grid-template-columns: 1fr 1fr; } .galg { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) {
  .phg { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .tabs-cta { display: inline-flex; }
  .tab-p > .sec:first-child { padding-top: 80px; }
  .galg-i:first-child { grid-column: 1 / -1; }
}
@media (min-width: 1100px) { .tabs-bar { top: 118px; } }

/* ---- v23: Ivory-led palette on every page ---- */
:root { --slate: #23262b; --slate-d: #1a1c20; --slate-l: #6b6f76; --stone: #e6e7e9; --stone-l: #ffffff; --line: #dcdde0; --grey: #b5b8be; --text: #23262b; --muted: #5d6168; --ivory: #ffffff; }
body { background: var(--ivory); }
.fac .tk-prog::before, .tk-prog::before { background: var(--ivory); }
.alt .tk-prog::before { background: var(--stone-l); }
.pf .tk-prog::before { background: var(--slate); }
.qs-list li.on a, .qs-list li a:hover { background: var(--ivory); }
.inv-stat, .ic, .phc, .ph-card, .chip, .qs-chip { border-color: var(--line); }

/* home: film in a cinema frame on a dark ground */
.hx { padding-top: 118px; background: var(--slate); }
.hx-frame { position: relative; max-width: 1280px; margin-inline: auto; background: #000; overflow: hidden; }
.hx-v { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hx-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(26, 28, 32, .12) 0%, rgba(26, 28, 32, 0) 30%, rgba(26, 28, 32, .72) 100%); }
.hx-copy { position: absolute; z-index: 2; inset-inline: 0; bottom: 0; padding: 22px 20px 26px; }
.hx-copy .kicker { margin-bottom: 10px; color: rgba(255, 255, 255, .85); }
.hx-t { font-size: clamp(2.4rem, 9vw, 5rem); font-weight: 300; line-height: 1.05; letter-spacing: -.025em; color: #fff; }
html[lang="ar"] .hx-t { letter-spacing: 0; line-height: 1.3; font-weight: 400; }
.hx-d { display: none; margin-top: 14px; max-width: 34em; color: rgba(255, 255, 255, .88); font-size: 1.02rem; line-height: 1.7; }
.hx .bn-btns { margin-top: 18px; }
.home .bn-index { background: var(--slate-d); border-top: 0; -webkit-backdrop-filter: none; backdrop-filter: none; max-width: 1280px; margin-inline: auto; }

.home .lx-intro { text-align: center; padding-bottom: 0; background: var(--ivory); }
.home .lx-intro .wrap { max-width: 980px; }
.lx-statement { font-size: clamp(1.45rem, 2.7vw, 2.35rem); font-weight: 300; line-height: 1.45; letter-spacing: -.012em; margin-bottom: 26px; }
html[lang="ar"] .lx-statement { letter-spacing: 0; line-height: 1.75; }
.home .nums { background: var(--ivory); padding-block: 44px 72px; }
.home .nums-row { border-block: 1px solid var(--line); padding-block: 34px; }

.home .split.lx-feature { display: block; background: var(--ivory); padding-bottom: 72px; }
.home .lx-feature .split-img img { width: 100%; height: min(62vh, 520px); min-height: 280px; object-fit: cover; }
.home .lx-feature .split-copy { position: relative; background: #fff; margin: -48px 16px 0; padding: 32px 24px 34px; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(35, 38, 43, .08); }
.home .sec.qs { background: var(--stone-l); }
.home .qs-chip { background: #fff; }
.home .qs-chip:hover { background: var(--slate); }
.home .sec.upd { background: #fff; }

/* the films keep the developer's logo, so nothing sits on top of it */
.bn-film .bn-in { padding-bottom: 150px; }
.bn-cap { position: absolute; z-index: 3; inset-inline-start: var(--gut); bottom: 22px; margin: 0; font-size: .78rem; color: rgba(255, 255, 255, .78); max-width: 60%; text-align: start; }

@media (min-width: 700px) {
  .hx-v { aspect-ratio: 2.4 / 1; }
  .hx-copy { padding: 40px 44px 44px; }
  .hx-d { display: block; }
  .hx .bn-btns { margin-top: 26px; }
}
@media (min-width: 900px) {
  .home .split.lx-feature { padding-bottom: 120px; }
  .home .lx-feature .split-img img { height: min(76vh, 760px); }
  .home .lx-feature .split-copy { max-width: 560px; margin: -200px 0 0; margin-inline-start: max(var(--gut), calc((100vw - var(--wrap)) / 2)); padding: 56px 56px 60px; }
  .home .nums { padding-block: 56px 104px; }
}
@media (min-width: 1100px) {
  .hx { padding-top: 142px; }
  .bn-cap { inset-inline-start: max(var(--gut), calc((100vw - var(--wrap)) / 2)); }
}
