/* The phone homepage (rule 12): the story told with the film's stills, no video.
   Linked with media="(max-width: 760px), (pointer: coarse) and (max-height: 500px)" and
   scoped to html.phone-story (site/boot.js), so tablets and desktops are untouched (rule 9).
   Layout, type and colour follow site/DESIGN-RULES.md: 8 px spacing, 24 px gutter (16 at
   ≤360), Inter 400/500, Plex Arabic 400/500, brand tokens, logical properties for RTL. */

html.phone-story{
  --ps-ink:#1c0509;--ps-deep:#2b0204;--ps-burgundy:#70050a;--ps-gold:#ebc17d;--ps-gold-dim:rgba(235,193,125,.32);--ps-hairline:rgba(235,193,125,.28);
  --ps-on:#f6eee4;--ps-on-2:rgba(246,238,228,.82);--ps-on-3:rgba(246,238,228,.64);--ps-line-on-dark:rgba(246,238,228,.4);
  --ps-cream:#f5eee4;--ps-surface:#fbf7f1;--ps-text:#2a0d12;--ps-text-2:#5b4244;--ps-muted:#78605f;--ps-gold-ink:#8a5a13;--ps-line:rgba(64,21,27,.14);--ps-line-strong:rgba(64,21,27,.28);--ps-line-field:rgba(64,21,27,.5);
  --ps-contact-bg:#f5eee4;
  --ps-gutter:24px;--ps-ease:cubic-bezier(.22,1,.36,1);--ps-cut:cubic-bezier(.4,0,.2,1);--ps-film-ease:cubic-bezier(.22,.8,.2,1);
  --ps-head:calc(80px + env(safe-area-inset-top));
  background:var(--ps-ink);scroll-padding-top:calc(var(--ps-head) + 8px);scroll-behavior:auto
}
html.phone-story[data-theme=dark]{--ps-contact-bg:#12060a}
@media (max-width:360px){html.phone-story{--ps-gutter:16px}}
html.phone-story body{background:var(--ps-ink);overflow-x:clip}
html.phone-story.content-modal-open,html.phone-story:has(body.menu-open){overflow:hidden}
html.phone-story :focus-visible{outline:2px solid var(--ps-gold);outline-offset:4px}
html.phone-story .ps-sr,html.phone-story .film-dialog #film-description{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
html.phone-story .ps-nowrap{white-space:nowrap;unicode-bidi:isolate}
html.phone-story .ps-icon{display:block;flex:0 0 auto}
html.phone-story .ps-glyph{display:inline-flex;align-items:center;font-size:0}
html.phone-story[dir=rtl] .ps-arrow{transform:scaleX(-1)}
html.phone-story[dir=rtl] .ps-arrow.ps-v{transform:none}
html.phone-story[dir=rtl] .ps-glyph{transform:none!important}
html.phone-story[lang=ar] :is(.journey-link,.story-read,.solid-button,.plain-button) .ps-glyph{display:inline-flex}

/* ---------- Header: the shared bar (rule 6), 80 px + the safe area ---------- */
/* Measured against the inner pages' .head-bar (site.css §2.3): the same 80 px bar, gaps, tools and
   type, so nothing moves between the homepage and a full page (rule 6). */
html.phone-story .site-header{box-sizing:border-box;height:var(--ps-head);padding:env(safe-area-inset-top) max(var(--ps-gutter),env(safe-area-inset-right)) 0 max(var(--ps-gutter),env(safe-area-inset-left));gap:12px;background:transparent;text-shadow:none;transition:background-color 240ms,color 240ms,box-shadow 240ms}
/* Scrolled, the bar is solid to its edge, so no text reads through it (§2.3), with a hairline. */
html.phone-story body.ps-scrolled:not(.header-on-light):not(.menu-open) .site-header{background:var(--ps-ink);box-shadow:0 1px 0 var(--ps-hairline)}
html.phone-story:not([data-theme=dark]) body.header-on-light:not(.menu-open) .site-header{background:var(--ps-cream);box-shadow:0 1px 0 var(--ps-line)}
html.phone-story[data-theme=dark] body.header-on-light:not(.menu-open) .site-header{background:#12060a;box-shadow:0 1px 0 rgba(243,235,225,.12)}
html.phone-story body.ps-header-solid:not(.menu-open) .site-header{background:var(--ps-ink);box-shadow:0 1px 0 var(--ps-hairline);color:var(--ps-on)}
html.phone-story body.ps-header-solid .site-header .mark-light{display:block}
html.phone-story body.ps-header-solid .site-header .mark-ink{display:none}
html.phone-story .holding-identity{gap:12px}
html.phone-story .holding-identity img{width:46px;height:38px}
html.phone-story .identity small{font-size:8px;letter-spacing:.13em}
html.phone-story .site-header .header-tools{gap:8px;margin-inline-start:auto}
html.phone-story .header-search{width:44px;height:44px}
html.phone-story .site-header .language-switch{margin-inline-start:0;padding:0 4px;font-size:13px;line-height:20px;font-weight:400}
html.phone-story .site-header .language-switch[lang=ar]{font-size:14px;font-weight:500}
html.phone-story .menu-button{gap:12px;padding:0;font-size:13px;line-height:20px;font-weight:500;min-height:44px;margin-inline-start:0}
html.phone-story[lang=ar] .menu-button{font-size:15px;line-height:1.5}
html.phone-story .menu-button span{display:inline-block;font-size:23px;font-weight:400;line-height:1;transition:transform 240ms var(--ps-ease)}
html.phone-story .menu-button[aria-expanded=true] span{transform:rotate(45deg)}
html.phone-story body.menu-open .site-header{background:var(--ps-ink);color:var(--ps-on)}
html.phone-story body.menu-open .site-header .mark-light{display:block}
html.phone-story body.menu-open .site-header .mark-ink{display:none}
@media (max-width:360px){
  html.phone-story .site-header,html.phone-story .site-header .header-tools{gap:8px}
  html.phone-story .holding-identity{gap:8px}
  html.phone-story .holding-identity img{width:40px;height:32px}
  html.phone-story .header-search{width:40px}
}
@media (max-width:359px){html.phone-story .menu-button{font-size:0;gap:0}}

/* The menu: a full sheet of the chapters (thumbnail, name, the film's number) */
html.phone-story .site-header nav{position:fixed;inset:0;z-index:-1;display:flex;flex-direction:column;align-items:stretch;gap:0;max-height:none;padding:calc(var(--ps-head) + 16px) var(--ps-gutter) calc(32px + env(safe-area-inset-bottom));background:var(--ps-ink);border:0;-webkit-backdrop-filter:none;backdrop-filter:none;overflow-y:auto;overscroll-behavior:contain;visibility:hidden;opacity:0;transform:translateY(16px);transition:opacity 240ms var(--ps-ease),transform 240ms var(--ps-ease),visibility 0s linear 240ms}
html.phone-story .site-header nav.is-open{visibility:visible;opacity:1;transform:none;transition:opacity 240ms var(--ps-ease),transform 240ms var(--ps-ease),visibility 0s}
html.phone-story .site-header nav a{position:relative;display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:16px;min-height:64px;padding:8px 0;font-size:20px;line-height:28px;font-weight:500;letter-spacing:0;color:var(--ps-on);border-bottom:1px solid rgba(246,238,228,.08)}
html.phone-story .site-header nav a::after{display:none}
html.phone-story .site-header nav a[aria-current=true]{color:var(--ps-gold)}
html.phone-story .site-header nav a[aria-current=true]::before{content:'';position:absolute;inset-block:12px;inset-inline-start:calc(var(--ps-gutter) * -1);width:2px;background:var(--ps-gold)}
html.phone-story .ps-thumb{width:36px;height:48px;border-radius:4px;object-fit:cover;background:var(--ps-deep)}
html.phone-story .site-header nav .ps-num{font-size:12px;line-height:16px;font-weight:500;letter-spacing:.1em;font-variant-numeric:tabular-nums;color:var(--ps-gold)}
html.phone-story .site-header nav .menu-theme{display:flex;align-items:center;gap:12px;min-height:56px;margin-top:16px;padding:0;font-size:15px;color:var(--ps-on);text-align:start}

/* ---------- The plate: one still per chapter, dissolving and pushing in ---------- */
html.phone-story .ps-plate{position:fixed;inset:0 0 auto 0;height:100lvh;z-index:0;overflow:hidden;background:var(--ps-ink);pointer-events:none;transition:opacity 600ms var(--ps-cut)}
html.phone-story[data-still=contact] .ps-plate,html.phone-story[data-still=group-footer] .ps-plate{opacity:0}
html.phone-story .ps-still,html.phone-story .ps-frame{position:absolute;inset:0;display:block;opacity:0;transition:opacity 1200ms var(--ps-cut)}
html.phone-story .ps-still img,html.phone-story .ps-frame img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:var(--fx,50% 50%);transform-origin:var(--fx,50% 50%);transform:scale(1);transition:transform 0s linear 1300ms}
html.phone-story[data-still=gallery] .ps-still[data-still=gallery],html.phone-story[data-still=projects] .ps-still[data-still=projects],html.phone-story[data-still=community] .ps-still[data-still=community],html.phone-story[data-still=news] .ps-still[data-still=news],html.phone-story[data-still=careers] .ps-still[data-still=careers],html.phone-story[data-still=closing] .ps-still[data-still=closing]{opacity:1}
html.phone-story.ps-motion[data-still=gallery] .ps-still[data-still=gallery] img,html.phone-story.ps-motion[data-still=projects] .ps-still[data-still=projects] img,html.phone-story.ps-motion[data-still=community] .ps-still[data-still=community] img,html.phone-story.ps-motion[data-still=news] .ps-still[data-still=news] img,html.phone-story.ps-motion[data-still=careers] .ps-still[data-still=careers] img,html.phone-story.ps-motion[data-still=closing] .ps-still[data-still=closing] img{transform:scale(var(--push,1.06));transition:transform 16s cubic-bezier(.25,.1,.25,1)}
html.phone-story .ps-plate.ps-cut .ps-still,html.phone-story .ps-plate.ps-cut img{transition:none!important}
/* The hero reel, in the landing's frame: five frames of the opening film, 6 s each, 1.2 s dissolves (30 s loop) */
html.phone-story .ps-reel .ps-frame:first-child{opacity:1}
html.phone-story.ps-motion .ps-reel.is-running .ps-frame{animation:ps-reel 30s linear infinite both;animation-delay:calc(var(--i) * 6s - 1.2s)}
html.phone-story.ps-motion .ps-reel.is-running .ps-frame img{animation:ps-reel-push 30s linear infinite both;animation-delay:calc(var(--i) * 6s - 1.2s);transition:none}
html.phone-story:not([data-still=film]) .ps-reel .ps-frame,html.phone-story:not([data-still=film]) .ps-reel .ps-frame img,html.phone-story.ps-reel-held .ps-reel .ps-frame,html.phone-story.ps-reel-held .ps-reel .ps-frame img{animation-play-state:paused}
@keyframes ps-reel{0%{opacity:0}4%{opacity:1}20%{opacity:1}24%{opacity:0}100%{opacity:0}}
@keyframes ps-reel-push{0%{transform:scale(1)}24%{transform:scale(1.06)}25%,100%{transform:scale(1)}}
/* The top band holds the bar's words at ≥4.5:1 over the brightest sky of every still (§8.2). */
html.phone-story .ps-scrim{position:absolute;inset:0;background:linear-gradient(180deg,rgba(28,5,9,.86) 0,rgba(28,5,9,.74) 64px,rgba(28,5,9,.36) 112px,rgba(28,5,9,0) 168px,rgba(28,5,9,0) 40%,rgba(28,5,9,.86) 74%,var(--ps-ink) 100%)}

/* ---------- Page flow over the plate ---------- */
html.phone-story main.showcase-story{position:relative;z-index:1;height:auto;color:var(--ps-on)}
html.phone-story .ps-chapter{position:relative;inset:auto;display:block;min-height:0;padding:0;opacity:1;visibility:visible;transform:none;pointer-events:auto;color:var(--ps-on)}
html.phone-story .ps-cover{position:relative;z-index:1;display:flex;flex-direction:column;justify-content:flex-end;padding:var(--ps-head) var(--ps-gutter) 48px;background:linear-gradient(180deg,rgba(28,5,9,0) 0,rgba(28,5,9,0) 30%,rgba(28,5,9,.64) 62%,rgba(28,5,9,.92) 100%)}
html.phone-story .ps-cover-100{min-height:100svh;padding-bottom:96px}
html.phone-story .ps-cover-64{min-height:64svh}
html.phone-story .ps-cover-56{min-height:56svh}
/* A chapter that follows another opens out of the burgundy above it, like a dissolve, instead of
   starting its still on a hard edge. */
html.phone-story .ps-chapter+.ps-chapter .ps-cover{background:linear-gradient(180deg,var(--ps-ink) 0,rgba(28,5,9,.72) 48px,rgba(28,5,9,0) 160px,rgba(28,5,9,0) 30%,rgba(28,5,9,.64) 62%,rgba(28,5,9,.92) 100%)}
html.phone-story .ps-panel{position:relative;padding:32px var(--ps-gutter) 96px;background:linear-gradient(180deg,rgba(28,5,9,.92) 0,var(--ps-ink) 96px)}
/* The label row: the film's chapter number, the GH mark, the eyebrow (Ahmad, 24 Nov: option C).
   The companies chapter's eyebrow has no number, so it draws the mark itself; the closing's
   large mark stands just above its label, so that label carries no small one. */
html.phone-story .ps-label,html.phone-story .ps-eyebrow{display:flex;align-items:center;gap:16px;margin:0 0 16px;font-size:12px;line-height:16px;font-weight:500;letter-spacing:.14em;text-transform:uppercase;color:var(--ps-gold);text-shadow:0 1px 14px rgba(18,6,10,.6)}
html.phone-story .ps-num{font-variant-numeric:tabular-nums;letter-spacing:.1em}
html.phone-story .ps-rule,html.phone-story .ps-eyebrow::before{content:'';flex:0 0 17px;width:17px;height:14px;background:currentColor;-webkit-mask:url(/assets/ghozlan-mark.svg) center/contain no-repeat;mask:url(/assets/ghozlan-mark.svg) center/contain no-repeat}
html.phone-story #closing .ps-eyebrow::before{content:none}
html.phone-story :is(#gallery-title,#projects-title,#community-title,#news-title,#careers-title){margin:0;font-size:32px;line-height:38px;font-weight:500;letter-spacing:-.015em;color:var(--ps-on);text-wrap:balance;max-width:none;min-height:0}
html.phone-story .ps-body{margin:16px 0 0;font-size:16px;line-height:26px;color:var(--ps-on-2);max-width:34em;text-wrap:pretty}
html.phone-story .ps-panel>.ps-body:first-child{margin-top:0}
html.phone-story .ps-h3{margin:0;font-size:22px;line-height:28px;font-weight:500;letter-spacing:-.01em;color:var(--ps-on)}
html.phone-story .ps-link{display:inline-flex;align-items:center;gap:12px;min-height:44px;margin:8px 0 0;padding:0;border:0;font-size:15px;line-height:24px;font-weight:500;color:var(--ps-on);text-decoration:underline;text-decoration-color:var(--ps-gold);text-decoration-thickness:1px;text-underline-offset:8px}
html.phone-story .ps-link svg,html.phone-story .ps-row svg,html.phone-story .ps-explore svg,html.phone-story .ps-continue svg{color:var(--ps-gold)}
html.phone-story .ps-rows{display:block;margin-top:32px;border-top:1px solid var(--ps-hairline)}
html.phone-story .ps-row{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:56px;margin:0;padding:16px 0;border:0;border-bottom:1px solid var(--ps-hairline);background:none;font-size:16px;line-height:24px;font-weight:500;color:var(--ps-on);text-align:start;text-decoration:none}
@media (hover:hover){html.phone-story .ps-row:hover svg,html.phone-story .ps-link:hover svg{transform:translateX(4px)}html.phone-story[dir=rtl] .ps-row:hover svg,html.phone-story[dir=rtl] .ps-link:hover svg{transform:scaleX(-1) translateX(4px)}}
/* Text rises in as it arrives (only once JavaScript runs and motion is allowed) */
html.phone-story.ps-motion .ps-rise{transition:opacity 700ms var(--ps-ease),transform 700ms var(--ps-ease);transition-delay:calc(var(--i,0) * 80ms)}
html.phone-story.ps-motion .ps-rise:not(.is-in){opacity:0;transform:translateY(24px)}

/* ---------- Hero: the film, full frame (Ahmad, 30 Nov 2026) ---------- */
/* The film fills everything under the bar, edge to edge. The headline, Watch the film, Sound on, Our companies and the
   pause control sit on a burgundy fade at its foot, which ends in the burgundy of the chapters below. The rules name the
   page's own elements (#film, .hero-media, .hero-shade and the copy), so the landing is laid out the same before this
   module has run (the copy on a grid) as after it (in rows): nothing moves when it takes over. */
html.phone-story #film{position:relative;inset:auto;display:flex;flex-direction:column;justify-content:flex-end;height:max(640px,100svh);min-height:0;max-height:none;margin:0;padding:var(--ps-head) var(--ps-gutter) calc(24px + env(safe-area-inset-bottom));overflow:hidden;isolation:isolate;opacity:1;pointer-events:auto;background:var(--ps-cream);color:var(--ps-on);will-change:auto;--ps-lift:0px}
html.phone-story[data-theme=dark] #film{background:var(--ps-ink)}
/* While the cookie banner is open, or about to come (no choice saved yet: html.ps-consent-due, site/boot.js), the copy
   and its fade sit above it (--ps-consent-h, measured once this module runs; until then the banner's usual height on a
   phone: 160 px, 184 in Arabic). The room is kept from the first paint, so the copy doesn't jump when the banner comes. */
html.phone-story body:has(> .consent) #film,html.phone-story.ps-consent-due:not(.is-preview) #film{--ps-lift:var(--ps-consent-h,160px);padding-bottom:calc(var(--ps-lift) + 24px)}
html.phone-story[lang=ar] body:has(> .consent) #film,html.phone-story[lang=ar].ps-consent-due:not(.is-preview) #film{--ps-lift:var(--ps-consent-h,184px)}
/* The frame: the still first (the page's own picture, then the reel), the silent film over it once a frame is decoded */
html.phone-story #film .hero-media{position:absolute;inset:var(--ps-head) 0 0 0;z-index:0;overflow:hidden;transform:none;will-change:auto;border-radius:0;background:var(--ps-deep);-webkit-tap-highlight-color:transparent}
html.phone-story #film .hero-media>picture>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 40%;transform-origin:50% 40%}
html.phone-story #film .hero-media .ps-reel{position:absolute;inset:0;opacity:1}
html.phone-story .ps-landing{cursor:pointer}
html.phone-story .ps-landing:focus-visible{outline:2px solid var(--ps-gold);outline-offset:-4px}
html.phone-story .ps-landing-film{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 30%;opacity:0;transition:opacity 1200ms var(--ps-cut);pointer-events:none;background:transparent}
html.phone-story .ps-landing.has-film .ps-landing-film{opacity:1}
html.phone-story .ps-landing.has-film .ps-reel .ps-frame,html.phone-story .ps-landing.has-film .ps-reel .ps-frame img{animation-play-state:paused}
/* The fade: clear over the top of the film, burgundy behind the copy, the chapters' burgundy at its foot (measured from
   the foot, so a short screen keeps the copy on it) */
html.phone-story #film .hero-shade{position:absolute;inset:var(--ps-head) 0 0 0;z-index:1;pointer-events:none;background:linear-gradient(0deg,var(--ps-ink) 0,var(--ps-ink) var(--ps-lift),rgba(43,2,4,.96) calc(var(--ps-lift) + 168px),rgba(52,3,6,.82) calc(var(--ps-lift) + 275px),rgba(80,4,9,.42) calc(var(--ps-lift) + 382px),rgba(43,2,4,0) calc(var(--ps-lift) + 489px))}
/* A thin gold line under the bar grows with the film */
html.phone-story .ps-landing-progress{position:absolute;inset:var(--ps-head) 0 auto 0;z-index:2;height:2px;background:var(--ps-gold);transform:scaleX(var(--p,0));transform-origin:left center;pointer-events:none}
html.phone-story[dir=rtl] .ps-landing-progress{transform-origin:right center}
/* The copy, on the film in both appearances */
html.phone-story #film :is(.hero-content,.hero-bottom){position:relative;z-index:3;inset:auto;width:auto;max-width:none;margin:0;padding:0;border:0;translate:none;opacity:1;text-align:start}
html.phone-story #film .hero-content{transform:none!important}
html.phone-story #film :is(h1,.watch-button,.sound-toggle,.gallery-cue,.media-toggle){position:relative;z-index:3}
html.phone-story #film h1{margin:0;font-size:44px;line-height:48px;font-weight:500;letter-spacing:-.02em;color:var(--ps-on);text-shadow:none;text-wrap:balance}
html.phone-story #film .ps-hero-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:24px}
html.phone-story #film .watch-button{display:inline-flex;align-items:center;gap:20px;min-height:48px;margin:0;padding:0;font-size:16px;line-height:24px;font-weight:500;color:var(--ps-on);text-align:start;background:none}
html.phone-story #film .play-disc{display:grid;place-items:center;flex:0 0 62px;width:62px;height:62px;margin:-7px 0;border:1px solid var(--ps-gold-dim);border-radius:50%;color:var(--ps-on);font-size:0;transform:none;background:none}
html.phone-story #film .play-disc svg{display:block;width:16px;height:16px;fill:currentColor;stroke:none}
@media (min-width:360px){html.phone-story #film .watch-button>span:not(.play-disc){white-space:nowrap}}
html.phone-story #film .sound-toggle{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin:2px 0;padding:0 16px;border:1px solid var(--ps-gold-dim);border-radius:999px;font-size:14px;line-height:20px;font-weight:500;color:var(--ps-on);white-space:nowrap;background:none}
html.phone-story #film .sound-toggle .sound-icon{display:block;order:-1}
html.phone-story #film .sound-toggle>span{font-size:inherit}
html.phone-story #film .sound-toggle svg{display:block;width:18px;height:18px;color:var(--ps-gold)}
html.phone-story #film .hero-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:24px}
html.phone-story #film .gallery-cue{display:inline-flex;align-items:center;gap:12px;min-height:44px;font-size:15px;line-height:24px;font-weight:500;color:var(--ps-on)}
html.phone-story #film .gallery-cue svg{color:var(--ps-gold)}
html.phone-story #film .gallery-cue span{color:inherit;font-size:inherit;transition:none}
html.phone-story #film .media-toggle{display:grid;place-items:center;width:44px;height:44px;min-height:44px;margin:0;padding:0;border:1px solid var(--ps-gold-dim);border-radius:50%;color:var(--ps-on);background:none;font-size:0}
html.phone-story #film .media-toggle svg{display:block;width:18px;height:18px;stroke-width:2.2}
html.phone-story #film .media-toggle [data-play-label]{display:none}
html.phone-story #film .media-toggle .ps-icon-play,html.phone-story.ps-reel-held #film .media-toggle .ps-icon-pause{display:none}
html.phone-story.ps-reel-held #film .media-toggle .ps-icon-play{display:block}
/* Before this module has run, the page's own copy takes the same places on a grid: the headline; Watch the film and
   Sound on; Our companies and the pause control. */
html.phone-story:not(.ps-js) #film{display:grid;grid-template-columns:minmax(0,1fr) auto;align-content:end;column-gap:16px}
html.phone-story:not(.ps-js) #film :is(.hero-content,.hero-bottom,.hero-controls){display:contents}
html.phone-story:not(.ps-js) #film h1{grid-area:1/1/2/3}
html.phone-story:not(.ps-js) #film .watch-button{grid-area:2/1;justify-self:start;margin-top:24px}
html.phone-story:not(.ps-js) #film .sound-toggle{grid-area:2/2;justify-self:end;margin-top:26px}
html.phone-story:not(.ps-js) #film .gallery-cue{grid-area:3/1;justify-self:start;margin-top:24px}
html.phone-story:not(.ps-js) #film .media-toggle{grid-area:3/2;justify-self:end;margin-top:24px}
html.phone-story:not(.ps-js) #film .gallery-cue>span{order:-1;flex:0 0 20px;width:20px;height:20px;font-size:0;background:var(--ps-gold);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v15M6 13l6 6 6-6'/%3E%3C/svg%3E") center/20px 20px no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v15M6 13l6 6 6-6'/%3E%3C/svg%3E") center/20px 20px no-repeat}
/* Under 390 px the disc eases to 52 and the row's gap to 8, so Watch the film and Sound off share one line at 375 (and
   360); narrower, the label wraps. */
@media (max-width:389px){
  html.phone-story #film .play-disc{flex-basis:52px;width:52px;height:52px;margin:-2px 0}
  html.phone-story #film .watch-button{gap:16px}
  html.phone-story #film .ps-hero-actions{gap:8px}
  html.phone-story:not(.ps-js) #film{column-gap:8px}
}
/* At the top of the landing the bar is cream in the light appearance, before this module has run as after it. */
html.phone-story:not([data-theme=dark]) body:not(.ps-scrolled):not(.menu-open) .site-header{background:var(--ps-cream);box-shadow:0 1px 0 var(--ps-line);color:var(--ink-deep,#2a0d12);text-shadow:none}
html.phone-story:not([data-theme=dark]) body:not(.ps-scrolled):not(.menu-open) .site-header .mark-light{display:none}
html.phone-story:not([data-theme=dark]) body:not(.ps-scrolled):not(.menu-open) .site-header .mark-ink{display:block}
/* The arrival (the mock-up's timing): a cream sheet (deep burgundy in the dark) slides down off the still, the still
   pushes in, and the copy rises. They run in CSS from the first paint; the sheet is the body's own, so it never moves,
   and when this module rebuilds the hero it sets the hero's animations back to the sheet's time (keepArrival). */
@media (prefers-reduced-motion:no-preference){
  html.phone-story body::after{content:'';position:fixed;inset:var(--ps-head) 0 0 0;z-index:2;background:var(--ps-cream);pointer-events:none;animation:ps-arrive-sheet 1100ms var(--ps-cut) 120ms both}
  html.phone-story[data-theme=dark] body::after{background:var(--ps-ink)}
  html.phone-story:not(.ps-js) #film .hero-media img,html.phone-story.ps-motion .ps-reel:not(.is-running) .ps-frame:first-child img{animation:ps-arrive-push 16s cubic-bezier(.25,.1,.25,1) both}
  html.phone-story #film h1{animation:ps-arrive-rise 700ms var(--ps-ease) 500ms both}
  html.phone-story:not(.ps-js) #film :is(.watch-button,.sound-toggle),html.phone-story #film .ps-hero-actions{animation:ps-arrive-rise 700ms var(--ps-ease) 700ms both}
  html.phone-story:not(.ps-js) #film :is(.gallery-cue,.media-toggle),html.phone-story.ps-js #film .hero-bottom{animation:ps-arrive-rise 700ms var(--ps-ease) 860ms both}
}
@keyframes ps-arrive-sheet{from{transform:translateY(0)}to{transform:translateY(101%);visibility:hidden}}
@keyframes ps-arrive-push{from{transform:scale(1)}to{transform:scale(1.06)}}
@keyframes ps-arrive-rise{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
/* Back from the full screen: the fade, the gold line and the copy come back in over the film (none of them carries an
   arrival animation once this module has run, so the arrival doesn't start again). */
@media (prefers-reduced-motion:no-preference){html.phone-story.ps-film-back #film :is(.hero-shade,.ps-landing-progress,.hero-content,.hero-bottom>*){animation:ps-film-back 360ms var(--ps-ease) both}}
@keyframes ps-film-back{from{opacity:0}}
/* Opened: the same film grows from the frame up under the bar to the whole screen (a rectangle's clip-path), then the
   controls come in. */
html.phone-story.ps-film-open,html.phone-story.ps-film-open body{overflow:hidden;overscroll-behavior:none}
html.phone-story .ps-film-stage{position:fixed;inset:0;z-index:200;background:var(--ps-ink);color:var(--ps-on)}
html.phone-story .ps-film-stage[hidden]{display:none}
html.phone-story .ps-film-stage.is-opening,html.phone-story .ps-film-stage.is-closing{transition:clip-path var(--ps-film-ms,560ms) var(--ps-film-ease)}
html.phone-story .ps-film-stage .ps-landing-film{position:absolute;inset:0;width:100%;height:100%;opacity:1;transition:none}
html.phone-story .ps-film-stage.is-opening .ps-landing-film,html.phone-story .ps-film-stage.is-closing .ps-landing-film{inset:auto;transition:left var(--ps-film-ms,560ms) var(--ps-film-ease),top var(--ps-film-ms,560ms) var(--ps-film-ease),width var(--ps-film-ms,560ms) var(--ps-film-ease),height var(--ps-film-ms,560ms) var(--ps-film-ease)}
/* In panel mode the full film, with sound, comes up over the landing's silent one at its first frame. */
html.phone-story .ps-film-stage .ps-whole-film{opacity:0;transition:opacity 420ms var(--ps-ease)}
html.phone-story .ps-film-stage .ps-whole-film.is-showing{opacity:1}
html.phone-story .ps-film-stage.is-opening .ps-whole-film,html.phone-story .ps-film-stage.is-closing .ps-whole-film{transition:left var(--ps-film-ms,560ms) var(--ps-film-ease),top var(--ps-film-ms,560ms) var(--ps-film-ease),width var(--ps-film-ms,560ms) var(--ps-film-ease),height var(--ps-film-ms,560ms) var(--ps-film-ease),opacity 420ms var(--ps-ease)}
html.phone-story .ps-film-chrome{position:absolute;inset:0;pointer-events:none;opacity:0;transition:opacity 360ms var(--ps-ease)}
html.phone-story .ps-film-stage.is-full .ps-film-chrome{opacity:1}
html.phone-story .ps-film-chrome>*{pointer-events:auto}
html.phone-story .ps-film-close{position:absolute;top:calc(16px + env(safe-area-inset-top));inset-inline-end:var(--ps-gutter);display:grid;place-items:center;width:48px;height:48px;border:1px solid rgba(235,193,125,.7);border-radius:50%;background:rgba(18,6,10,.62);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#fff;box-shadow:0 2px 14px rgba(0,0,0,.28)}
html.phone-story .ps-film-bar{position:absolute;inset-inline:var(--ps-gutter);bottom:calc(24px + env(safe-area-inset-bottom));display:flex;align-items:center;justify-content:space-between;gap:16px}
html.phone-story .ps-film-sound{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 18px;border:1px solid rgba(235,193,125,.7);border-radius:999px;background:rgba(18,6,10,.62);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:var(--ps-on);font-size:14px;font-weight:500}
html.phone-story .ps-film-sound svg{color:var(--ps-gold)}
html.phone-story .ps-film-pause{display:grid;place-items:center;width:48px;height:48px;border:1px solid rgba(235,193,125,.7);border-radius:50%;background:rgba(18,6,10,.62);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:var(--ps-on)}
html.phone-story .ps-film-pause .ps-icon-play,html.phone-story .ps-film-stage.is-paused .ps-film-pause .ps-icon-pause{display:none}
html.phone-story .ps-film-stage.is-paused .ps-film-pause .ps-icon-play{display:block}
html.phone-story .ps-film-status{position:absolute;inset-inline:var(--ps-gutter);bottom:calc(88px + env(safe-area-inset-bottom));margin:0;font-size:15px;line-height:1.5;color:var(--ps-on);text-shadow:0 1px 12px rgba(0,0,0,.6)}
html.phone-story .ps-film-status:empty{display:none}
html.phone-story[lang=ar] .ps-film-sound{font-size:15px}

/* ---------- Companies: the group's own heading (D1), a native carousel, no count ---------- */
html.phone-story .ps-gallery{position:relative;inset:auto;opacity:1;pointer-events:auto;padding:calc(var(--ps-head) + 24px) 0 96px;background:linear-gradient(180deg,rgba(28,5,9,.2) 0,rgba(28,5,9,.55) 40%,rgba(28,5,9,.85) 100%)}
html.phone-story .ps-gallery-head{padding:0 var(--ps-gutter)}
html.phone-story .ps-gallery .ps-lede{margin:16px 0 0;font-size:16px;line-height:26px;color:var(--ps-on-2);max-width:30em}
html.phone-story .ps-gallery .ps-link{margin-top:16px}
html.phone-story .ps-cards{display:flex;gap:12px;margin:40px 0 0;padding:4px calc((100% - 278px) / 2) 8px;list-style:none;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch}
html.phone-story .ps-cards::-webkit-scrollbar{display:none}
html.phone-story .ps-card{flex:0 0 278px;scroll-snap-align:center;scroll-snap-stop:always}
html.phone-story .ps-card a{position:relative;display:block;aspect-ratio:4/5;overflow:hidden;border:1px solid rgba(235,193,125,.36);border-radius:4px;background:var(--ps-deep);color:var(--ps-on)}
html.phone-story .ps-card-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
html.phone-story .ps-card-copy{position:absolute;inset:auto 0 0;display:flex;flex-direction:column;gap:4px;min-height:45%;justify-content:flex-end;padding:24px 20px 20px;background:linear-gradient(180deg,rgba(28,5,9,0) 0,rgba(28,5,9,.72) 38%,rgba(28,5,9,.92) 100%)}
html.phone-story .ps-card-mark{width:40px;height:40px;margin-bottom:8px}
html.phone-story .ps-card-copy strong{font-size:20px;line-height:26px;font-weight:500;letter-spacing:-.01em}
html.phone-story .ps-card-copy>span{font-size:13px;line-height:18px;color:var(--ps-gold);opacity:.88}
@supports (animation-timeline:view()){
  html.phone-story.ps-motion .ps-card{animation:ps-card linear both;animation-timeline:view(inline);animation-range:cover 0% cover 100%}
  @keyframes ps-card{0%,100%{transform:scale(.92);opacity:.56}50%{transform:none;opacity:1}}
}
/* Arabic runs the carousel as English does (Ahmad, 30 Nov 2026): Ghozlan Jewellery first at the left, the next
   company coming in from the right, the forward arrow on the right; each card's words stay right to left. */
html.phone-story[dir=rtl] .ps-cards,html.phone-story[dir=rtl] .ps-cards-nav{direction:ltr}
html.phone-story[dir=rtl] .ps-card{direction:rtl}
html.phone-story[dir=rtl] .ps-cards-nav .ps-arrow{transform:none}
html.phone-story .ps-gallery-foot{padding:0 var(--ps-gutter)}
html.phone-story .ps-place{margin:24px 0 0;font-size:13px;line-height:20px;color:var(--ps-on-2);text-align:center}
html.phone-story .ps-explore{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:56px;margin-top:16px;border-bottom:1px solid var(--ps-hairline);font-size:16px;line-height:24px;font-weight:500;color:var(--ps-gold)}
html.phone-story .ps-cards-nav{display:flex;align-items:center;gap:16px;margin-top:16px}
html.phone-story .ps-round{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border:1px solid var(--ps-gold-dim);border-radius:50%;color:var(--ps-on);background:none}
html.phone-story .ps-track{position:relative;flex:1 1 auto;height:2px;overflow:hidden;background:rgba(235,193,125,.16)}
html.phone-story .ps-track i{position:absolute;inset-block:0;inset-inline-start:0;width:calc(100% * var(--size,.125));background:var(--ps-gold);transform:translateX(calc(var(--p,0) * (1 / var(--size,.125) - 1) * 100%));transition:transform 120ms linear}
html.phone-story .ps-continue{display:flex;align-items:center;justify-content:center;gap:12px;width:fit-content;min-height:44px;margin:48px auto 0;font-size:15px;line-height:24px;font-weight:500;color:var(--ps-on)}

/* ---------- 01 Leadership: a close portrait of the chairman, then the message ---------- */
html.phone-story #leadership{background:var(--ps-ink)}
html.phone-story .ps-lead-figure{position:relative;height:min(78svh,150vw);min-height:440px;margin:0;overflow:hidden;background:var(--ps-deep)}
html.phone-story .ps-lead-figure picture{position:absolute;inset:0;display:block}
html.phone-story .ps-lead-figure img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 16%;transform-origin:50% 28%;transform:scale(1)}
html.phone-story .ps-lead-figure::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(28,5,9,.5) 0,rgba(28,5,9,0) 14%,rgba(28,5,9,0) 60%,var(--ps-ink) 100%)}
html.phone-story.ps-motion #leadership.is-racked .ps-lead-figure img{transform:scale(1.04);transition:transform 16s cubic-bezier(.25,.1,.25,1)}
html.phone-story .ps-lead-copy{margin-top:-48px;padding-top:0;background:none}
html.phone-story #leadership-title{margin:0 0 24px}
html.phone-story .ps-quote{margin:0;padding:0}
html.phone-story .ps-quote p{margin:0;font-size:26px;line-height:34px;font-weight:400;letter-spacing:-.01em;color:var(--ps-on);text-wrap:pretty;text-indent:0}
html.phone-story .ps-qmark{display:block;width:36px;height:25px;margin:0 0 16px;color:var(--ps-gold)}
html.phone-story .ps-lead-copy .ps-body{margin-top:24px}
html.phone-story .ps-sign{display:flex;flex-direction:column;gap:4px;margin-top:32px}
html.phone-story .ps-sign-rule{display:block;width:48px;height:1px;margin-bottom:12px;background:var(--ps-gold)}
html.phone-story .ps-sign strong{font-size:18px;line-height:24px;font-weight:500;color:var(--ps-on)}
html.phone-story .ps-sign>span:last-child{font-size:14px;line-height:20px;color:var(--ps-gold)}

/* ---------- 02 Projects: the photographs in an ivory mat, then the projects ---------- */
html.phone-story .ps-photos-frame{position:relative}
html.phone-story .ps-photos{display:flex;gap:12px;margin:0 calc(var(--ps-gutter) * -1);padding:0 var(--ps-gutter);list-style:none;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-inline:var(--ps-gutter);scrollbar-width:none}
html.phone-story .ps-photos::-webkit-scrollbar{display:none}
html.phone-story .ps-photos li{flex:0 0 100%;scroll-snap-align:start;padding:6px;border:1px solid rgba(235,193,125,.6);border-radius:4px;background:var(--ps-surface)}
html.phone-story .ps-photos img{display:block;width:100%;aspect-ratio:3/2;height:auto;object-fit:cover;border-radius:2px}
html.phone-story .ps-fullscreen{position:absolute;inset-block-start:16px;inset-inline-end:16px;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;border:1px solid var(--ps-line-on-dark);border-radius:999px;background:rgba(18,6,10,.62);color:var(--ps-on);font-size:13px;line-height:20px;font-weight:500}
html.phone-story .ps-photo-count{margin:8px 0 0;font-size:13px;line-height:20px;color:var(--ps-on-2);text-align:end;font-variant-numeric:tabular-nums}
html.phone-story .ps-project-copy{transition:opacity 200ms var(--ps-cut)}
html.phone-story .ps-project-copy.is-changing{opacity:0}
html.phone-story .ps-meta{margin:8px 0 0;font-size:13px;line-height:20px;color:var(--ps-gold)}
html.phone-story .ps-meta span{margin:0 4px}
html.phone-story .ps-title{margin:8px 0 0;font-size:22px;line-height:28px;font-weight:500;letter-spacing:-.01em}
html.phone-story .ps-title a{color:var(--ps-on)}
html.phone-story .ps-project .ps-deck{margin:8px 0 0;font-size:15px;line-height:24px;color:var(--ps-on-2)}
html.phone-story .ps-linkpair{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:16px}
html.phone-story .ps-project-list{margin:32px 0 0;padding:0;list-style:none;border-top:1px solid var(--ps-hairline)}
html.phone-story .ps-project-list button{display:grid;grid-template-columns:96px minmax(0,1fr);align-items:center;gap:16px;width:100%;min-height:80px;padding:8px 0;border-bottom:1px solid var(--ps-hairline);color:var(--ps-on);text-align:start;background:none}
html.phone-story .ps-project-list img{width:96px;height:64px;border-radius:4px;object-fit:cover}
html.phone-story .ps-project-list span{display:flex;flex-direction:column;gap:4px;min-width:0}
html.phone-story .ps-project-list small{font-size:13px;line-height:20px;color:var(--ps-gold)}
html.phone-story .ps-project-list strong{font-size:15px;line-height:20px;font-weight:500}
html.phone-story .ps-project-list [aria-pressed=true] strong{color:var(--ps-gold)}

/* ---------- 03 Ghozlan Al-Khair ---------- */
html.phone-story #community .foundation-mark{display:block;width:56px;height:56px;margin:0 0 16px}
html.phone-story #community .foundation-arabic{margin:0 0 8px;font-size:20px;line-height:32px;font-weight:500;color:var(--ps-gold);text-align:left}
/* One line, then the foundation's three pillars as pictures (titles only). */
html.phone-story .ps-khair-lead{margin:0;font-size:17px;line-height:28px;color:var(--ps-on)}
html.phone-story .ps-khair{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:32px 0 0;padding:0;list-style:none}
html.phone-story .ps-khair-tile{position:relative;margin:0;overflow:hidden;aspect-ratio:4/5;border:1px solid rgba(235,193,125,.36);border-radius:4px;background:var(--ps-deep)}
html.phone-story .ps-khair-tile:first-child{grid-column:1/-1;aspect-ratio:3/2}
html.phone-story .ps-khair-tile picture,html.phone-story .ps-khair-tile img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover}
html.phone-story .ps-khair-tile::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(28,5,9,0) 42%,rgba(28,5,9,.88) 100%)}
html.phone-story .ps-khair-tile strong{position:absolute;inset-inline:16px;inset-block-end:16px;z-index:1;font-size:16px;line-height:22px;font-weight:500;color:var(--ps-on)}
html.phone-story .ps-khair+.ps-rows{margin-top:24px;border-top:0}
html.phone-story[lang=ar] .ps-khair-lead{font-size:17px;line-height:1.85}
html.phone-story[lang=ar] .ps-khair-tile strong{line-height:1.5}

/* ---------- 04 News: one list in the page (no reading window) ---------- */
html.phone-story #news .ps-link{margin-top:16px}
html.phone-story .ps-chips{display:flex;align-items:center;gap:16px;margin:0 calc(var(--ps-gutter) * -1) 0 0}
html.phone-story[dir=rtl] .ps-chips{margin:0 0 0 calc(var(--ps-gutter) * -1)}
html.phone-story .ps-chip-row{display:flex;flex:1 1 auto;gap:8px;min-width:0;margin:0;padding:0 24px 0 0;overflow-x:auto;scrollbar-width:none;-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 32px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 32px),transparent)}
html.phone-story[dir=rtl] .ps-chip-row{padding:0 0 0 24px;-webkit-mask-image:linear-gradient(270deg,#000 calc(100% - 32px),transparent);mask-image:linear-gradient(270deg,#000 calc(100% - 32px),transparent)}
html.phone-story .ps-chip-row::-webkit-scrollbar{display:none}
html.phone-story .ps-chip-row button{flex:0 0 auto;min-height:44px;padding:0 16px;border:1px solid var(--ps-gold-dim);border-radius:999px;background:none;font-size:14px;line-height:20px;font-weight:500;color:var(--ps-on)}
html.phone-story .ps-chip-row button[aria-pressed=true]{background:var(--ps-gold);border-color:var(--ps-gold);color:var(--ps-ink)}
html.phone-story .ps-results{order:-1;display:none}
html.phone-story .ps-news{display:block;margin-top:32px;padding:0}
/* Every news item is the same row (Ahmad, 24 Nov: the news frames the same size): a 4:3 picture of one size, the
   date on one line and the title held to exactly three lines, so each row has the same height. */
html.phone-story #news .news-story{display:grid;grid-template-columns:112px minmax(0,1fr);grid-template-rows:auto auto;column-gap:16px;align-items:start;margin:0;padding:16px 0;border-bottom:1px solid var(--ps-hairline)}
html.phone-story #news .news-story .story-image{grid-row:1 / span 2;width:112px;height:auto;aspect-ratio:4/3;padding:0;border-radius:4px;overflow:hidden}
html.phone-story #news .story-image::after{content:none!important;display:none!important}
html.phone-story #news .story-image img{width:100%;height:100%;object-fit:cover;transform:none}
html.phone-story #news .story-meta{margin:0;font-size:13px;line-height:20px;color:var(--ps-gold);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.phone-story #news .story-meta span{margin:0 4px}
html.phone-story #news .news-story h3{margin:4px 0 0;height:3lh}
html.phone-story #news .news-story h3,html.phone-story #news .news-story h3 button{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;min-height:0;padding:0;font-size:16px;line-height:22px;font-weight:500;letter-spacing:0;color:var(--ps-on);text-align:start}
html.phone-story #news .news-story .story-deck,html.phone-story #news .news-story .story-read{display:none}
html.phone-story #news .story-read svg{color:var(--ps-gold)}

/* ---------- 05 Careers ---------- */
html.phone-story .ps-life{position:relative;width:100%;margin:0;aspect-ratio:342/192;overflow:hidden;border-radius:4px;background:var(--ps-deep)}
html.phone-story .ps-life>img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;border-radius:0}
html.phone-story .ps-life figcaption{position:absolute;inset:auto 0 0;display:flex;align-items:flex-end;margin:0;padding:48px 16px 8px;background:linear-gradient(180deg,rgba(28,5,9,0),rgba(28,5,9,.88))}
html.phone-story .ps-life figcaption>span{display:none}
html.phone-story .ps-life figcaption button{display:inline-flex;align-items:center;gap:12px;min-height:44px;padding:0;font-size:15px;line-height:24px;font-weight:500;color:var(--ps-on)}
html.phone-story .ps-life figcaption button svg{color:var(--ps-gold)}
html.phone-story .ps-openings-head{margin-top:40px}
html.phone-story .ps-filter{display:flex;flex-direction:column;align-items:stretch;gap:8px;margin:16px 0 0;font-size:13px;line-height:20px;color:var(--ps-on-2)}
html.phone-story .ps-filter select{width:100%;max-width:none;min-height:52px;padding:0 44px 0 16px;border:1px solid var(--ps-line-on-dark);border-radius:14px;background:var(--ps-deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23ebc17d' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E") no-repeat right 16px center;font:inherit;font-size:16px;line-height:24px;color:var(--ps-on);-webkit-appearance:none;appearance:none}
html.phone-story[dir=rtl] .ps-filter select{padding:0 16px 0 44px;background-position:left 16px center}
html.phone-story .ps-roles{margin-top:24px;border-top:1px solid var(--ps-hairline)}
html.phone-story #careers .role-card{display:grid;grid-template-columns:72px minmax(0,1fr) 24px;align-items:center;gap:16px;width:100%;min-height:96px;padding:12px 0;border-bottom:1px solid var(--ps-hairline);color:var(--ps-on);text-align:start;background:none}
html.phone-story #careers .role-card img{width:72px;height:72px;border-radius:4px;object-fit:cover}
html.phone-story #careers .role-card>span:not(.role-arrow){display:flex;flex-direction:column;gap:2px;min-width:0}
html.phone-story #careers .role-card small{font-size:13px;line-height:20px;color:var(--ps-gold)}
html.phone-story #careers .role-card strong{font-size:17px;line-height:24px;font-weight:500;letter-spacing:0}
html.phone-story #careers .role-card em{font-size:13px;line-height:18px;font-style:normal;color:var(--ps-on-2)}
html.phone-story #careers .role-arrow{margin:0;min-width:0;color:var(--ps-gold);font-size:0}
html.phone-story #careers .no-results{padding:16px 0;font-size:15px;line-height:24px;color:var(--ps-on-2)}
html.phone-story .ps-all{margin-top:8px}
html.phone-story .ps-all svg{color:var(--ps-gold)}

/* ---------- 06 Closing: the tunnel, then into the light (rule 5) ---------- */
html.phone-story #closing .ps-cover{justify-content:center;align-items:center;padding-bottom:40svh;text-align:center;background:linear-gradient(180deg,var(--ps-ink) 0,rgba(28,5,9,.72) 48px,rgba(28,5,9,0) 160px),radial-gradient(ellipse at 50% 44%,rgba(28,5,9,.55) 0,rgba(28,5,9,.2) 52%,rgba(28,5,9,0) 72%)}
html.phone-story #closing .ps-eyebrow{justify-content:center;margin-bottom:16px}
html.phone-story #closing .closing-mark{display:block;width:112px;height:auto;margin:0 auto 24px}
html.phone-story #closing-title{margin:0;font-size:36px;line-height:42px;font-weight:500;letter-spacing:-.015em;color:var(--ps-on);text-wrap:balance;max-width:none}
html.phone-story .ps-to-contact{display:grid;place-items:center;width:44px;height:44px;margin:32px auto 0;border:1px solid var(--ps-gold-dim);border-radius:50%;color:var(--ps-gold)}
/* Into the light: the glow opens from the tunnel and ends in solid cream across the full width, so
   Contact begins without a seam (rule 5). */
html.phone-story .ps-light{position:absolute;inset:auto 0 0;height:40svh;z-index:2;pointer-events:none;background:linear-gradient(180deg,rgba(235,193,125,0) 0,rgba(235,193,125,.16) 22%,rgba(235,193,125,.5) 42%,rgba(245,238,228,.94) 62%,var(--ps-contact-bg) 76%,var(--ps-contact-bg) 100%)}
html.phone-story[data-theme=dark] .ps-light{background:linear-gradient(180deg,rgba(18,6,10,0),var(--ps-contact-bg))}

/* ---------- Contact (light, rule 5): /contact's form and the shared label spec ---------- */
html.phone-story #contact{position:relative;z-index:2;padding:calc(var(--ps-head) + 16px) var(--ps-gutter) 64px;scroll-margin-top:0}
html.phone-story #contact :is(.contact-eyebrow,.contact-label){display:flex;align-items:flex-start;gap:12px;margin:0 0 16px;font-size:12px;line-height:16px;font-weight:500;letter-spacing:.14em;text-transform:uppercase}
html.phone-story #contact :is(.contact-eyebrow,.contact-label)::before{content:'';flex:0 0 17px;width:17px;height:14px;margin-top:calc(.5lh - 7px);background:currentColor;-webkit-mask:url(/assets/ghozlan-mark.svg) center/contain no-repeat;mask:url(/assets/ghozlan-mark.svg) center/contain no-repeat}
html.phone-story #contact .contact-label{margin-bottom:12px}
html.phone-story #contact-title{font-size:32px;line-height:38px;letter-spacing:-.015em;text-wrap:balance}
html.phone-story #contact .contact-lede{margin-top:16px;font-size:16px;line-height:26px;max-width:none}
html.phone-story #contact .contact-directory{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:32px 0 40px}
html.phone-story #contact .contact-directory button{min-height:112px;padding:16px 8px 12px;gap:8px;border-radius:14px}
html.phone-story #contact .entity-mark{width:40px;height:40px}
html.phone-story #contact .entity-name{font-size:13px;line-height:18px;text-align:center}
html.phone-story #contact .contact-body{gap:40px;padding-top:32px}
html.phone-story #contact .contact-lines dt{font-size:12px;line-height:16px;font-weight:500;letter-spacing:.1em;text-transform:uppercase}
html.phone-story #contact .contact-office h3{font-size:22px;line-height:28px;letter-spacing:-.01em}
html.phone-story #contact .contact-sector{font-size:14px;line-height:20px}
html.phone-story #contact .contact-map{aspect-ratio:342/200;border-radius:14px;margin-top:24px}
html.phone-story #contact .contact-map-placeholder p{font-size:14px;line-height:22px}
html.phone-story #contact .contact-map-link,html.phone-story #contact .contact-entity-page,html.phone-story #contact .contact-change{min-height:44px;font-size:15px}
html.phone-story #contact .contact-routing{font-size:14px;line-height:22px}
html.phone-story #contact .contact-form h3{font-size:22px;line-height:28px}
html.phone-story #contact .contact-to{font-size:15px;margin:16px 0 24px}
html.phone-story #contact .contact-form .form-pair{grid-template-columns:1fr;gap:0}
html.phone-story #contact .contact-form .field{margin-bottom:24px}
html.phone-story #contact .contact-form .label-row{font-size:15px;line-height:20px}
html.phone-story #contact .contact-form :is(.field-optional,.field-why){font-size:14px;line-height:20px}
html.phone-story #contact .contact-form :is(input:not([type=file]):not([type=hidden]):not([type=checkbox]),select,textarea){min-height:52px;padding:12px 16px;border-radius:14px;font-size:16px;line-height:24px;scroll-margin-top:calc(var(--ps-head) + 8px)}
html.phone-story #contact .contact-form textarea{min-height:160px}
html.phone-story #contact .contact-form .consent-check label{grid-template-columns:22px minmax(0,1fr);gap:12px;font-size:14px;line-height:22px;min-height:44px}
html.phone-story #contact .contact-form .consent-check input{width:22px;height:22px;margin:0}
html.phone-story #contact .contact-form .field-error{font-size:13px;line-height:20px}
/* Buttons as on /contact at phone width: the 48 px pill, wrapping if it must */
html.phone-story #contact :is(.contact-form,.contact-result) .solid-button{width:auto;max-width:100%;justify-content:center;gap:12px;min-height:48px;padding:12px 24px;border-radius:999px;font-size:15px;line-height:20px;white-space:normal}
html.phone-story #contact .contact-result .plain-button{min-height:48px;padding:12px 24px;font-size:15px}
/* The attachment: a translated control instead of the browser's own (PH-14) */
html.phone-story #contact .file-control{gap:8px 12px}
html.phone-story #contact .file-button{min-height:44px;padding:0 16px;font-size:13px}
html.phone-story #contact .file-name{font-size:14px;line-height:20px}
html.phone-story #contact :focus-visible{outline-color:var(--ps-burgundy)}
html.phone-story:not([data-theme=dark]) #contact{background:var(--ps-cream);color:var(--ps-text)}
html.phone-story:not([data-theme=dark]) #contact :is(.contact-eyebrow,.contact-label){color:var(--ps-gold-ink)}
html.phone-story:not([data-theme=dark]) #contact .contact-lines dt{color:var(--ps-muted)}
html.phone-story:not([data-theme=dark]) #contact :is(#contact-title,.contact-office h3){color:var(--ps-text)}
html.phone-story:not([data-theme=dark]) #contact :is(.contact-lede,.contact-sector,.contact-routing){color:var(--ps-text-2)}
html.phone-story:not([data-theme=dark]) #contact .contact-directory button:not([aria-checked=true]){border-color:rgba(112,5,10,.16);background:var(--ps-surface)}
html.phone-story:not([data-theme=dark]) #contact .contact-form :is(input:not([type=file]):not([type=hidden]):not([type=checkbox]),select,textarea){border-color:var(--ps-line-field);background-color:var(--ps-surface)}
html.phone-story[data-theme=dark] #contact .file-button{background:#261116;border-color:rgba(243,235,225,.4);color:#f3ebe1}
html.phone-story[data-theme=dark] #contact .file-name{color:#d6c3b8}
html.phone-story[data-theme=dark] #contact :focus-visible,html.phone-story[data-theme=dark] .file-label:focus-within .file-button{outline-color:var(--ps-gold)}

/* ---------- Footer: the inner pages' footer at phone width (site.css .site-foot, §4) ---------- */
html.phone-story .group-footer{position:relative;z-index:2;padding:64px max(var(--ps-gutter),env(safe-area-inset-right)) 0 max(var(--ps-gutter),env(safe-area-inset-left))}
html.phone-story .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:40px 16px}
html.phone-story .footer-brand{grid-column:1 / -1}
html.phone-story .footer-col[aria-labelledby=foot-companies]{grid-column:1 / -1;order:1}
html.phone-story .footer-col[aria-labelledby=foot-companies] ul{columns:2;column-gap:16px}
html.phone-story .group-footer :is(.footer-col a,.footer-col button,.footer-base a){min-height:44px}
html.phone-story .footer-base{padding-bottom:calc(24px + env(safe-area-inset-bottom))}
html.phone-story .footer-base a svg{color:var(--ps-gold)}

/* ---------- The chapter index and the gold rail ---------- */
html.phone-story .ps-index{position:fixed;z-index:35;inset-inline-start:var(--ps-gutter);bottom:calc(16px + env(safe-area-inset-bottom));display:inline-flex;align-items:center;gap:12px;min-height:44px;padding:0 16px;border:1px solid var(--ps-gold-dim);border-radius:999px;background:rgba(28,5,9,.98);color:var(--ps-on);font-size:13px;line-height:20px;font-weight:500;transition:opacity 400ms var(--ps-ease)}
html.phone-story .ps-index-count{color:var(--ps-gold);font-variant-numeric:tabular-nums;letter-spacing:.06em}
html.phone-story body.menu-open .ps-index,html.phone-story body:has(> .consent) .ps-index,html.phone-story .ps-index:is(.is-away,.is-reading):not(:focus-visible){opacity:0;pointer-events:none}
html.phone-story .ps-rail{position:fixed;z-index:34;inset-inline-end:8px;top:50%;display:flex;flex-direction:column;gap:6px;transform:translateY(-50%);opacity:0;pointer-events:none;transition:opacity 400ms var(--ps-ease)}
html.phone-story .ps-rail.is-visible{opacity:1}
html.phone-story .ps-rail i{display:block;width:2px;height:16px;background:var(--ps-gold-dim);transition:background-color 400ms}
html.phone-story .ps-rail i.is-on{background:var(--ps-gold)}
html.phone-story .scene-curtain.ps-curtain{transition:opacity 240ms var(--ps-cut),visibility 0s linear 240ms}
html.phone-story .scene-curtain.ps-curtain.is-closed{transition:opacity 160ms var(--ps-cut),visibility 0s}

/* ---------- Consent banner: a bottom sheet above the safe area ---------- */
html.phone-story .consent{inset-inline:0;bottom:0;width:auto;padding:24px var(--ps-gutter) calc(24px + env(safe-area-inset-bottom));border-radius:14px 14px 0 0}
html.phone-story .consent .actions .btn{min-height:44px}

/* ---------- Dialogs on the phone: legible sizes, no picture labels (rules 2, 7) ---------- */
html.phone-story .story-dialog{width:100vw;max-width:100vw;max-height:100dvh;height:100dvh;margin:0;border-radius:0}
html.phone-story .detail-toolbar{min-height:calc(56px + env(safe-area-inset-top));padding:env(safe-area-inset-top) var(--ps-gutter) 0;-webkit-backdrop-filter:none;backdrop-filter:none;background:#f5eee4fa}
html.phone-story #dialog-context{font-size:13px}
html.phone-story .detail-close{min-height:44px;font-size:15px;gap:12px}
html.phone-story .detail-hero figcaption{display:none}
html.phone-story .detail-content{padding:24px var(--ps-gutter) calc(48px + env(safe-area-inset-bottom))}
html.phone-story .story-dialog .chapter-eyebrow{font-size:12px;line-height:16px;letter-spacing:.14em;text-transform:uppercase}
html.phone-story .story-dialog h2{font-size:30px;line-height:36px}
html.phone-story .story-dialog .detail-deck{font-size:16px;line-height:26px}
html.phone-story .detail-facts dt{font-size:12px}
html.phone-story .detail-facts dd{font-size:14px}
html.phone-story .story-dialog :is(.detail-prose p,.detail-prose li,.letter-paper>p:not(.chapter-eyebrow)){font-size:16px;line-height:26px}
html.phone-story .story-dialog :is(.solid-button,.plain-button){min-height:48px;font-size:15px}
html.phone-story .story-dialog .letter-paper h2{font-size:24px;line-height:32px}
html.phone-story .cinema-image-label{display:none}
html.phone-story .film-dialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;padding:calc(16px + env(safe-area-inset-top)) var(--ps-gutter) calc(24px + env(safe-area-inset-bottom));border:0;background:var(--ps-ink);color:var(--ps-on)}
html.phone-story .film-dialog[open]{display:flex;flex-direction:column;justify-content:center;gap:24px}
html.phone-story .film-dialog-top{padding:0}
html.phone-story .film-dialog h2{font-size:16px;line-height:24px;font-weight:500}
html.phone-story .film-close{display:inline-flex;align-items:center;gap:12px;min-height:44px;font-size:15px;color:var(--ps-on)}
html.phone-story .film-dialog video{width:100%;max-height:none;aspect-ratio:16/9;border-radius:4px;background:#000}
html.phone-story .film-dialog-bottom{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:0}
html.phone-story .ps-film-status{margin:0;font-size:15px;line-height:24px;color:var(--ps-on-2)}
html.phone-story .ps-film-status:empty{display:none}
html.phone-story .film-dialog-bottom a{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0;font-size:15px;line-height:24px;color:var(--ps-gold);text-decoration:underline;text-underline-offset:6px}
html.phone-story .film-dialog.is-failed .film-dialog-bottom a{font-weight:500}

/* ---------- Arabic: written and set Arabic-first (rule 7) ---------- */
html.phone-story[lang=ar] :is(.ps-label,.ps-eyebrow,#contact .contact-eyebrow,#contact .contact-label,.footer-col h2,.story-dialog .chapter-eyebrow){font-size:13px;line-height:1.6;letter-spacing:0;text-transform:none}
html.phone-story[lang=ar] .ps-num,html.phone-story[lang=ar] .ps-index-count{letter-spacing:0;font-variant-numeric:normal}
html.phone-story[lang=ar] #film h1{font-size:44px;line-height:1.3;letter-spacing:0}
html.phone-story[lang=ar] :is(#gallery-title,#projects-title,#community-title,#news-title,#careers-title,#contact-title){line-height:1.4;letter-spacing:0}
html.phone-story[lang=ar] #closing-title{line-height:1.3;letter-spacing:0}
html.phone-story[lang=ar] :is(.ps-h3,.ps-title,.ps-sign strong,.ps-card-copy strong,#news .news-story:first-child h3,#news .news-story:first-child h3 button,.story-dialog h2,#contact .contact-office h3,#contact .contact-form h3){line-height:1.5;letter-spacing:0}
html.phone-story[lang=ar] .ps-quote p{font-size:26px;line-height:1.55;letter-spacing:0}
html.phone-story[lang=ar] :is(.ps-body,.ps-gallery .ps-lede,#contact .contact-lede,.story-dialog .detail-deck){font-size:17px;line-height:1.85}
html.phone-story[lang=ar] :is(.story-dialog .detail-prose p,.story-dialog .detail-prose li,.story-dialog .letter-paper>p:not(.chapter-eyebrow)){font-size:17px;line-height:1.9}
html.phone-story[lang=ar] :is(.ps-project .ps-deck,#news .news-story:first-child .story-deck,.ps-pillars span){font-size:15px;line-height:1.85}
html.phone-story[lang=ar] #film :is(.watch-button,.gallery-cue){font-size:15px;line-height:1.5}
html.phone-story[lang=ar] :is(.ps-link,.ps-row,.ps-explore,.ps-continue,.ps-index,.ps-fullscreen,.ps-chip-row button,.ps-life figcaption button,#news .story-read,.film-dialog-bottom a,.film-close,.site-header nav .menu-theme){font-size:15px;line-height:1.5}
html.phone-story[lang=ar] #film .sound-toggle{font-size:15px;line-height:1.4}
html.phone-story[lang=ar] :is(.ps-meta,.ps-place,.ps-photo-count,.ps-card-copy>span,.ps-project-list small,#news .story-meta,#careers .role-card small,#careers .role-card em,.ps-filter,.ps-sign>span:last-child){font-size:13px;line-height:1.6}
html.phone-story[lang=ar] :is(#news .news-story h3,#news .news-story h3 button){font-size:16px;line-height:1.55}
html.phone-story[lang=ar] :is(.ps-project-list strong,#careers .role-card strong,.ps-pillars strong){line-height:1.55}
html.phone-story[lang=ar] .site-header nav a{font-size:20px;line-height:1.5}
/* Contact reads as /ar/contact does (R1-PA-09): notes and consent 15/1.8, labels and controls 15/1.5,
   the names of the Group and its companies 15/1.45, centred in their tiles. */
html.phone-story[lang=ar] #contact .entity-name{font-size:15px;line-height:1.45;text-align:center}
html.phone-story[lang=ar] #contact :is(.contact-map-placeholder p,.contact-routing,.contact-form .consent-check label){font-size:15px;line-height:1.8}
html.phone-story[lang=ar] #contact :is(.contact-form .label-row,.file-button,.file-name,.contact-map-placeholder .plain-button){font-size:15px;line-height:1.5}
html.phone-story[lang=ar] #contact .contact-form :is(.field-optional,.field-why,.field-error){font-size:13px;line-height:1.6}
html.phone-story[lang=ar] #contact .contact-form :is(input:not([type=file]):not([type=hidden]):not([type=checkbox]),select,textarea){line-height:1.8}
/* The footer as on the Arabic inner pages: the Group's line 15/1.8, links 15/1.5 */
html.phone-story[lang=ar] .footer-brand p{font-size:15px;line-height:1.8;max-width:34em}
html.phone-story[lang=ar] .footer-brand strong{line-height:1.5}
html.phone-story[lang=ar] .footer-col :is(a,button){font-size:15px;line-height:1.5}
html.phone-story[lang=ar] .ps-index-count{direction:rtl;unicode-bidi:isolate}
html.phone-story[lang=ar] #news .news-story h3 button{text-align:start}
/* Nothing in Arabic under 13 px: the lockup reads as on every inner page (13/1.4), and the menu
   numbers, footer lines, dialog facts, signatures and review labels meet the floor (rule 7). */
html.phone-story[lang=ar] .identity small{font-size:13px;line-height:1.4;margin-top:2px;letter-spacing:0}
html.phone-story[lang=ar] .site-header nav .ps-num{font-size:13px;letter-spacing:0}
html.phone-story[lang=ar] #contact .contact-lines dt{font-size:13px;line-height:1.6;letter-spacing:0}
html.phone-story[lang=ar] :is(.footer-base,.footer-base a,.footer-langs a){font-size:13px;line-height:20px}
html.phone-story[lang=ar] :is(.detail-facts dt,.letter-signature span,.contact-result .review-fields dt,#dialog-context){font-size:13px;line-height:1.6}
html.phone-story[lang=ar] .detail-facts dd{font-size:15px;line-height:1.6}
html.phone-story[lang=ar] .contact-result .review-fields dd{font-size:15px;line-height:1.8}
html.phone-story[lang=ar] .story-dialog h2{text-wrap:balance}
/* Reading copy wraps without a lone word on its last line */
html.phone-story[lang=ar] :is(.ps-body,.ps-deck,.ps-lede,.story-deck,.detail-deck,.detail-prose p,.contact-lede,.ps-pillars span){text-wrap:pretty}
/* The project viewer in English on a phone: nothing under 12 px */
html.phone-story:not([lang=ar]) .cinema-dialog .cinema-identity>span{font-size:12px}
html.phone-story:not([lang=ar]) .cinema-dialog .cinema-identity small{font-size:12px}
html.phone-story:not([lang=ar]) .cinema-dialog :is(.cinema-header nav button,.cinema-close,.cinema-notes-button,.cinema-playback>button,.cinema-panel-close,.cinema-notes-link){font-size:13px}
html.phone-story:not([lang=ar]) .cinema-dialog .cinema-caption>p:not(.cinema-eyebrow){font-size:14px;line-height:1.7}
html.phone-story:not([lang=ar]) .cinema-dialog :is(.cinema-time,.cinema-filmstrip button>span,.cinema-next-project small,.cinema-eyebrow){font-size:12px}
html.phone-story:not([lang=ar]) .cinema-dialog #cinema-next-name{font-size:13px}
html.phone-story:not([lang=ar]) .cinema-dialog .cinema-notes dt{font-size:12px}
html.phone-story:not([lang=ar]) .cinema-dialog .cinema-notes dd{font-size:14px;line-height:1.5}
html.phone-story:not([lang=ar]) .cinema-dialog .cinema-notes>p{font-size:14px;line-height:1.75}

/* ---------- Phones on their side and short screens ---------- */
@media (orientation:landscape){
  html.phone-story #film{height:max(100svh,360px)}
  /* The copy keeps to a 520 px column at the start, on a fade from that side, so the film shows beside it; when it is
     taller than the room left (the cookie banner open), it stays under the bar and runs on under the banner. */
  html.phone-story #film{justify-content:safe flex-end;padding-top:calc(var(--ps-head) + 16px);padding-inline-start:max(var(--ps-gutter),env(safe-area-inset-left));padding-inline-end:max(var(--ps-gutter),calc(100% - 520px - var(--ps-gutter)))}
  html.phone-story[dir=rtl] #film{padding-inline-start:max(var(--ps-gutter),env(safe-area-inset-right))}
  html.phone-story:not(.ps-js) #film{align-content:safe end}
  html.phone-story #film .hero-shade{background:linear-gradient(to right,var(--ps-ink) 0,rgba(43,2,4,.92) 520px,rgba(43,2,4,0) 760px)}
  html.phone-story[dir=rtl] #film .hero-shade{background:linear-gradient(to left,var(--ps-ink) 0,rgba(43,2,4,.92) 520px,rgba(43,2,4,0) 760px)}
  html.phone-story #film h1{font-size:36px;line-height:40px}
  html.phone-story[lang=ar] #film h1{font-size:36px;line-height:1.3}
  html.phone-story #film :is(.ps-hero-actions,.hero-bottom),html.phone-story:not(.ps-js) #film :is(.watch-button,.gallery-cue,.media-toggle){margin-top:16px}
  html.phone-story:not(.ps-js) #film .sound-toggle{margin-top:18px}
  html.phone-story .ps-cover-100{min-height:100svh}
  html.phone-story .ps-cover-64,html.phone-story .ps-cover-56{min-height:80svh}
  html.phone-story .ps-lead-figure{height:72svh;min-height:240px}
  html.phone-story .ps-lead-figure img{object-position:72% 38%}
  html.phone-story .ps-gallery-head,html.phone-story .ps-gallery-foot,html.phone-story .ps-panel,html.phone-story .ps-cover{padding-inline:max(var(--ps-gutter),env(safe-area-inset-left)) max(var(--ps-gutter),env(safe-area-inset-right))}
  html.phone-story .ps-panel>*,html.phone-story .ps-gallery-foot>*,html.phone-story #contact .contact-inner{max-width:600px}
  html.phone-story .ps-photos li{flex-basis:min(100%,560px)}
  html.phone-story .ps-rail{display:none}
  html.phone-story .ps-index{bottom:calc(8px + env(safe-area-inset-bottom))}
}
/* Display at ≤360 is 40/44 (DESIGN-RULES §5.2) */
@media (max-width:360px){html.phone-story #film h1{font-size:40px;line-height:44px}html.phone-story[lang=ar] #film h1{font-size:40px;line-height:1.3}}
@media (max-height:700px) and (orientation:portrait){
  html.phone-story #film h1{font-size:40px;line-height:44px}
  html.phone-story[lang=ar] #film h1{font-size:40px;line-height:1.3}
  html.phone-story .ps-lead-figure{height:52svh;min-height:300px}
}

/* ---------- Reduced motion: still 1 holds, no push-in, nothing rises, no arrival, no pause control ---------- */
@media (prefers-reduced-motion:reduce){
  html.phone-story .ps-still,html.phone-story .ps-frame,html.phone-story .ps-plate,html.phone-story .ps-lead-chairman,html.phone-story .ps-rail,html.phone-story .ps-index,html.phone-story .site-header nav,html.phone-story .ps-project-copy{transition:none!important}
  html.phone-story .ps-still img,html.phone-story .ps-frame img,html.phone-story .ps-lead-figure img{transform:none!important;animation:none!important}
  html.phone-story .ps-lead-chairman{opacity:1}
  html.phone-story .ps-card{animation:none!important}
  html.phone-story #film .media-toggle{display:none}
}
/* The first news item is a row like the others (24 Nov), in the same Arabic leading. */
html.phone-story[lang=ar] #news .news-story:first-child :is(h3,h3 button){line-height:1.55}

/* UX pass, 25 Nov 2026 — the menu sheet lists the group's own pages under the chapters. */
html.phone-story .site-header .nav-group{display:block;margin-top:24px}
html.phone-story .site-header .nav-group-toggle{padding:0 0 4px;font-size:12px;line-height:20px;font-weight:500;letter-spacing:.14em;text-transform:uppercase;color:var(--ps-gold)}
html.phone-story .site-header nav .nav-group-list a{display:flex;grid-template-columns:none;min-height:52px;padding:0;font-size:17px;line-height:24px;font-weight:500;color:var(--ps-on);border-bottom:1px solid rgba(246,238,228,.08)}
html.phone-story[lang=ar] .site-header .nav-group-toggle{letter-spacing:0;font-size:14px}
html.phone-story[lang=ar] .site-header nav .nav-group-list a{font-size:18px;line-height:1.5}
