/* The opening is one spatial scene. The rest of the studio keeps its identity. */
.immersive-home { --world:#00271f; --world-deep:#001b17; --world-line:#397d65; --world-ease:cubic-bezier(.16,1,.3,1); background:#003b2f; }
.immersive-home [hidden] { display:none !important; }
.immersive-home header { position:fixed; inset:0 0 auto; background:transparent; backdrop-filter:none; border-bottom:0; transition:background .3s; }
.immersive-home.header-filled header { background:#003b2ff5; }
.immersive-home header .header-cta { background:transparent; border:1px solid #80cba7; color:var(--ink); }
.immersive-home header .header-cta:hover { background:var(--acid); color:var(--brand-ink); }
.immersive-home :is(a,button):focus-visible { outline:2px solid #b7ffd5; outline-offset:6px; }
.qg-experience { position:relative; background:var(--world); }
.qg-stage { position:relative; isolation:isolate; overflow:hidden; }
.qg-scene { position:absolute; inset:0 0 auto; height:100svh; pointer-events:none; z-index:-1; }
.qg-atmosphere { position:absolute; inset:0; background:radial-gradient(ellipse at 28% 48%,#075c426b,transparent 62%),linear-gradient(125deg,#002e25,#001b17 85%); }
.qg-sculpture { position:absolute; width:min(59vw,820px); max-width:none; left:0; top:50%; transform:translateY(-50%) rotate(-12deg); object-fit:contain; transition:opacity .6s; }
#qg-universe { position:absolute; inset:0; width:100%; height:100%; opacity:0; transition:opacity .7s; }
.gl-ready #qg-universe { opacity:1; }
.gl-ready .qg-sculpture { opacity:0; }
.qg-scene-shade { position:absolute; inset:0; background:linear-gradient(90deg,transparent 43%,#001b1720 65%,#001b1770),linear-gradient(0deg,#001b17b3,transparent 24%,transparent 80%,#001b174d); }
.qg-echo { display:none; }
.qg-chapter { position:relative; }
.qg-chapter-inner { position:relative; min-height:100svh; display:flex; align-items:center; padding-block:120px; }
.qg-copy { width:46%; margin-inline-end:auto; }
html.almarai .qg-copy h1 { font-size:clamp(60px,7.2vw,96px); line-height:1.25; margin:0 0 24px; font-weight:800; }
.qg-copy h1 > span,.qg-copy h1 > em { display:block; }
.qg-copy h1 > em { color:var(--acid); }
.qg-copy > p { font-size:16px; color:#c0e5d3; max-width:46ch; }
.qg-actions { display:flex; flex-wrap:wrap; align-items:center; gap:16px 24px; margin-top:32px; }
.qg-primary { display:inline-flex; justify-content:space-between; align-items:center; min-height:54px; gap:24px; padding:12px 22px; font-size:14px; font-weight:700; background:var(--acid); color:var(--brand-ink); transition:background .2s,transform .25s var(--world-ease); }
.qg-primary:hover { background:#b7ffd5; transform:translateY(-2px); }
.qg-primary > span { font-size:22px; }
.qg-work-link { display:inline-flex; align-items:center; gap:14px; min-height:48px; font-size:14px; color:var(--ink); border-bottom:1px solid #72f1b670; }
.qg-work-link:hover { color:var(--acid); }
.qg-chapter--form,.qg-chapter--world { background:var(--world-deep); border-top:1px solid #397d6566; }
.qg-chapter--form .qg-copy,.qg-chapter--world .qg-copy { width:100%; text-align:center; margin:0; }
html.almarai .qg-copy h2 { font-size:clamp(44px,6.8vw,88px); line-height:1.4; font-weight:800; margin-bottom:24px; text-wrap:balance; }
.qg-chapter--form p,.qg-chapter--world p { margin-inline:auto; }
.qg-chapter--world .qg-primary { margin-top:24px; }
.qg-orbit-words,.qg-direction,.qg-journey-progress { display:none; }

.qg-experience.is-enhanced { height:370svh; }
.is-enhanced .qg-stage { position:sticky; top:0; height:100svh; }
.is-enhanced .qg-scene { height:100%; }
.is-enhanced .qg-chapter { position:absolute; inset:0; opacity:0; visibility:hidden; pointer-events:none; background:transparent; border:0; }
.is-enhanced .qg-chapter.is-current { opacity:var(--copy-opacity,1); visibility:visible; pointer-events:auto; }
.is-enhanced .qg-chapter[aria-hidden=true] { pointer-events:none; }
.is-enhanced .qg-chapter-inner { min-height:100%; height:100%; padding-block:110px; transform:translateY(var(--copy-y,0px)); }
.is-enhanced .qg-echo { display:flex; position:absolute; left:3%; right:3%; bottom:-11%; justify-content:space-between; pointer-events:none; z-index:-1; opacity:var(--echo-opacity,.045); transform:translateY(var(--echo-y,0px)); color:transparent; -webkit-text-stroke:1px #72f1b6; font-size:clamp(250px,38vw,620px); font-weight:800; line-height:1; direction:ltr; }
.is-enhanced .qg-direction { position:absolute; inset-inline:0; bottom:104px; display:flex; align-items:center; justify-content:space-between; gap:24px; font-size:12px; color:#b2d5c5; pointer-events:none; opacity:var(--direction-opacity,1); }
.qg-scroll-cue { display:flex; align-items:center; gap:16px; color:var(--acid); }
.qg-scroll-cue > span { font-size:24px; }
.qg-console { display:flex; position:absolute; bottom:24px; inset-inline:0; align-items:center; justify-content:space-between; gap:32px; z-index:5; }
.qg-chapter-nav { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; width:310px; }
.qg-chapter-nav button { position:relative; min-height:48px; border:0; color:#b2d5c5; background:transparent; padding:8px 0 14px; text-align:right; font-size:12px; }
.qg-chapter-nav button::after,.qg-chapter-nav i { content:''; position:absolute; inset:auto 0 0; height:2px; background:#397d65; }
.qg-chapter-nav i { background:var(--acid); transform:scaleX(0); transform-origin:right; z-index:1; transition:transform .45s var(--world-ease); }
.qg-chapter-nav [aria-pressed=true] { color:var(--acid); }
.qg-chapter-nav [aria-pressed=true] i { transform:scaleX(1); }
.qg-motion-toggle { display:flex; align-items:center; gap:10px; min-height:44px; padding:8px 0; color:#b2d5c5; background:transparent; border:0; font-size:11px; }
.qg-motion-toggle:hover { color:var(--acid); }
.qg-motion-toggle svg { width:20px; height:20px; }
.qg-play-icon,.qg-motion-toggle[aria-pressed=true] .qg-pause-icon { display:none; }
.qg-motion-toggle[aria-pressed=true] .qg-play-icon { display:block; }
.is-enhanced .qg-journey-progress { display:block; position:absolute; inset:auto 0 0; height:2px; background:#397d6533; }
.qg-journey-progress > span { display:block; height:100%; background:var(--acid); transform:scaleX(var(--journey,0)); transform-origin:right; }
.is-enhanced .qg-orbit-words { display:block; position:absolute; inset:0; pointer-events:none; opacity:var(--orbit-opacity,0); transform:scale(var(--orbit-scale,1)) rotate(var(--orbit-turn,0deg)); }
.qg-orbit-words > span { position:absolute; color:#9ae6bc; font-size:14px; transform:translate(-50%,-50%) rotate(var(--orbit-counterturn,0deg)); }
.qg-orbit-words > :nth-child(1) { left:17%; top:25%; }
.qg-orbit-words > :nth-child(2) { left:76%; top:22%; }
.qg-orbit-words > :nth-child(3) { left:12%; top:62%; }
.qg-orbit-words > :nth-child(4) { left:86%; top:64%; }
.qg-orbit-words > :nth-child(5) { left:45%; top:17%; }
.qg-orbit-words > :nth-child(6) { left:57%; top:79%; }
.qg-bridge { display:flex; align-items:end; justify-content:space-between; gap:40px; padding-block:88px 64px; }
.qg-bridge p { font-size:clamp(32px,4vw,54px); line-height:1.5; color:#b2d5c5; }
.qg-bridge strong { color:var(--ink); font-weight:700; }
.qg-bridge a { display:inline-flex; align-items:center; gap:20px; min-height:44px; font-size:14px; color:var(--acid); border-bottom:1px solid #397d65; }
.immersive-home .selected-section { border-top:1px solid #397d65; padding-top:40px; }
.immersive-home .selected-head { display:none; }
.immersive-home .studio-services .service-dial { display:none; }
.immersive-home .studio-finder .editorial-label,.immersive-home .studio-process .editorial-label { display:none; }

@media (min-width:721px) and (max-width:1000px) {
  .qg-copy { width:49%; }
  html.almarai .qg-copy h1 { font-size:64px; }
  .qg-copy > p { font-size:14px; }
  .qg-actions { gap:12px 20px; }
  .qg-primary { font-size:13px; padding-inline:16px; gap:16px; }
}
@media (max-width:720px) {
  .immersive-home header .header-inner { height:76px; }
  .qg-experience.is-enhanced { height:340svh; }
  .qg-chapter-inner { padding-block:110px 100px; align-items:start; min-height:100svh; }
  .qg-copy { width:100%; text-align:center; margin:0; }
  html.almarai .qg-copy h1 { font-size:clamp(46px,13vw,66px); line-height:1.23; margin-bottom:16px; }
  .qg-copy > p { font-size:13px; max-width:36ch; margin-inline:auto; }
  .qg-sculpture { width:min(110vw,520px); left:50%; top:58%; transform:translate(-50%,-50%) rotate(-12deg); }
  .qg-scene-shade { background:linear-gradient(0deg,#001b17cf,transparent 30%,transparent 66%,#001b1780); }
  .qg-chapter--idea .qg-actions { position:absolute; bottom:100px; left:0; right:0; justify-content:center; margin:0; gap:16px; }
  .qg-primary { min-height:48px; font-size:13px; gap:16px; padding:10px 16px; }
  .qg-work-link { font-size:12px; gap:10px; }
  .qg-chapter--form .qg-chapter-inner,.qg-chapter--world .qg-chapter-inner { align-items:center; }
  html.almarai .qg-copy h2 { font-size:clamp(36px,10vw,54px); line-height:1.5; margin-bottom:20px; }
  .is-enhanced .qg-chapter-inner { padding-block:102px 145px; }
  .is-enhanced .qg-direction { display:none; }
  .qg-direction > :first-child { display:none; }
  .qg-console { bottom:20px; gap:18px; }
  .qg-chapter-nav { width:auto; flex:1; gap:14px; }
  .qg-chapter-nav button { font-size:11px; }
  .qg-motion-toggle { min-width:44px; justify-content:center; }
  .qg-motion-toggle > span { display:none; }
  .qg-orbit-words > span { font-size:11px; }
  .qg-orbit-words > :nth-child(1) { left:18%; top:23%; }
  .qg-orbit-words > :nth-child(2) { left:82%; top:24%; }
  .qg-orbit-words > :nth-child(3) { left:13%; top:66%; }
  .qg-orbit-words > :nth-child(4) { left:85%; top:65%; }
  .qg-orbit-words > :nth-child(5) { left:50%; top:16%; }
  .qg-orbit-words > :nth-child(6) { left:48%; top:75%; }
  .is-enhanced .qg-echo { font-size:72vw; bottom:2%; }
  .qg-bridge { padding-block:48px 32px; display:block; }
  .qg-bridge p { font-size:32px; }
  .qg-bridge a { margin-top:20px; font-size:13px; }
}
@media (max-height:650px) and (min-width:721px) {
  .qg-chapter-inner { min-height:650px; }
  .qg-scene { height:650px; }
}
@media (max-height:700px) and (max-width:720px) {
  .qg-chapter-inner { min-height:740px; }
  .qg-scene { height:740px; }
  .qg-chapter--idea .qg-actions { bottom:88px; }
}
@media (prefers-reduced-motion:reduce) {
  html:has(.immersive-home) { scroll-behavior:auto; }
  .qg-primary,.qg-sculpture,#qg-universe { transition:none; }
  .qg-primary:hover { transform:none; }
}
