/* Approved asset map. The images share their original coordinates in every layer. */
.approved-art { position: absolute; pointer-events: none; }
.approved-art picture, .approved-art img, .art-layer { position: absolute; inset: 0; width: 100%; height: 100%; }
.approved-art img { object-fit: contain; }
.art-layer { will-change: transform, opacity; }
.art-fragments { clip-path: inset(0 57% 0 0); }
.art-center { clip-path: inset(0 41% 0 43%); }
.art-structure { clip-path: inset(0 0 0 59%); }
.hero { min-height: 108svh; }
.hero-grid { display: none; }
.hero-architecture.approved-art { inset: 48px 0 auto; width: 100%; height: 77svh; opacity: 1; transform: none; transition: none; direction: ltr; }
.hero .art-fragments { transform: translate3d(calc(var(--pointer-x, 0px) - var(--hero-part, 0px)),var(--pointer-y, 0px),0); }
.hero .art-center { transform: translate3d(calc(var(--pointer-x, 0px) * .3),calc(var(--pointer-y, 0px) * .3),0); }
.hero .art-structure { transform: translate3d(calc(var(--pointer-x, 0px) * .65),calc(var(--pointer-y, 0px) * .65 - var(--hero-part, 0px)),0); }
.hero .art-fragments img { clip-path: inset(0 100% 0 0); transition: clip-path .56s var(--e); }
.hero .art-center img { opacity: 0; transition: opacity .36s .24s var(--e); }
.hero .art-structure img { clip-path: inset(100% 0 0); transition: clip-path .56s .36s var(--e); }
.ready .hero .art-layer img { clip-path: inset(0); opacity: 1; }
.hero-copy { padding-top: 43svh; padding-bottom: 54px; }
.hero h1 { font-size: clamp(3.5rem,8.2vw,10rem); line-height: .92; margin-bottom: 32px; }
.hero .mask > span { translate: 0 var(--title-exit,0%); }
.hero-bottom { grid-template-columns: 1fr auto; }
.hero-bottom p { font-size: 1rem; max-width: 520px; }
.eyebrow { font-size: .75rem; margin-bottom: 18px; }
.scene-signal { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene-signal path { fill: none; stroke: var(--blue-dark); stroke-width: 2; stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset .56s .56s var(--e); }
.scene-signal rect { fill: var(--blue-dark); opacity: 0; transition: opacity .24s .56s; }
.ready .scene-signal path { stroke-dashoffset: 0; }
.ready .scene-signal rect { opacity: 1; }
.pre-intro main, .pre-intro .site-header, .pre-intro .footer { visibility: visible; }
.intro-art { inset: 48px 0 auto; width: 100%; height: 77svh; opacity: 0; animation: intro-art-on .56s 1.85s var(--e) forwards; }
.intro-art .art-fragments { animation: intro-fragment-register .56s 1.8s var(--e) both; }
.intro-art .art-structure { animation: intro-structure-register .56s 1.95s var(--e) both; }
.intro-grid { background: none; border-left: 1px solid #353b44; border-right: 1px solid #353b44; inset: 0 25%; }
.intro-grid::after { content: ''; position: absolute; inset: 0 50%; border-left: 1px solid #353b44; }
.intro-curtain { display: none; }
.intro-center { animation: intro-mark-exit .36s 2.3s var(--e) both; }
.intro-fragment, .intro-grid, .intro-coordinate { animation-duration: .56s; }
.intro-running .intro { animation: intro-resolve .56s 2.72s var(--e) forwards; }
@keyframes intro-art-on { to { opacity: 1; } }
@keyframes intro-fragment-register { from { transform: translateX(-24px); } to { transform: translateX(0); } }
@keyframes intro-structure-register { from { transform: translateY(18px); } to { transform: translateY(0); } }
@keyframes intro-mark-exit { to { opacity: 0; transform: translate(-50%,-65%); } }
@keyframes intro-resolve { to { opacity: 0; visibility: hidden; } }

/* The base and reveal keep the same dimensions, crop and position. */
.reality { padding-bottom: 80px; }
.reality-intro { margin-bottom: 72px; }
.reality-sequence { position: relative; }
.reality-viewport.fragment-field { min-height: 0; aspect-ratio: 1672/941; width: 100%; border: none; background: var(--ink); direction: ltr; touch-action: pan-y; }
.reality-viewport::before { display: none; }
.reality-viewport picture, .reality-viewport img, .reality-reveal { position: absolute; inset: 0; height: 100%; width: 100%; }
.reality-viewport img { object-fit: contain; }
.reality-reveal { clip-path: polygon(0 0,calc(var(--reveal,0%) + 24px) 0,var(--reveal,0%) 100%,0 100%); }
.reality-viewport.reveal-zero .reality-reveal { clip-path: inset(0 100% 0 0); }
.reality-viewport.reveal-full .reality-reveal { clip-path: inset(0); }
.reveal-edge { position: absolute; top: 0; bottom: 0; left: var(--reveal,0%); border-left: 1px solid var(--blue-dark); pointer-events: none; }
.reveal-zero .reveal-edge, .reveal-full .reveal-edge { visibility: hidden; }
.reality-caption { position: absolute; inset: auto 24px 20px; display: flex; justify-content: space-between; font: .75rem var(--mono); letter-spacing: .12em; color: var(--paper); }
.reality-caption span { padding: 6px 10px; background: var(--ink); }
.reality-signal { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.reality-signal path { fill: none; stroke: var(--blue-dark); stroke-width: 2; stroke-dasharray: 1000; stroke-dashoffset: var(--reality-path,1000); }
.reality-signal rect { fill: var(--blue-dark); opacity: var(--reality-active,0); }
.reality-controls { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; padding: 24px 0; }
.reality-controls label { font-size: .875rem; }
.reality-controls span { font-size: .875rem; color: var(--muted); }
.reality-controls input { appearance: none; direction: ltr; background: none; width: 100%; height: 32px; margin: 0; cursor: ew-resize; accent-color: var(--blue); }
.reality-controls input::-webkit-slider-runnable-track { background: var(--line); height: 2px; }
.reality-controls input::-moz-range-track { background: var(--line); height: 2px; }
.reality-controls input::-webkit-slider-thumb { appearance: none; width: 16px; height: 16px; background: var(--blue); margin-top: -7px; border: 0; border-radius: 0; }
.reality-controls input::-moz-range-thumb { width: 16px; height: 16px; background: var(--blue); border: 0; border-radius: 0; }

/* Structured Intelligence: information, logic, output and a registered feedback path. */
.pov-layout.intelligence-scene { display: block; margin: 90px 0 20px; }
.pov h2 { max-width: 19ch; font-size: clamp(3.2rem,6.1vw,7rem); }
.pov p { max-width: 640px; margin-inline-start: 32%; }
.pov-vertical { color: #a9b2bd; }
.intelligence-art { position: relative; width: 100%; margin-top: 72px; aspect-ratio: 1672/941; }
.intelligence-layer, .intelligence-layer picture, .intelligence-layer img { position: absolute; inset: 0; width: 100%; height: 100%; }
.intelligence-layer img { object-fit: contain; }
.intelligence-layer { transform: translate3d(var(--intel-shift,0px),0,0); opacity: var(--intel-opacity,.4); transition: transform .36s var(--e),opacity .24s; }
.intelligence-inputs { clip-path: inset(0 58% 0 0); }
.intelligence-logic { clip-path: inset(0 30% 0 42%); }
.intelligence-outputs { clip-path: inset(0 0 0 70%); }
.intelligence-feedback { position: absolute; inset: 0; width: 100%; height: 100%; }
.intelligence-feedback path { fill: none; stroke: var(--blue-dark); stroke-width: 2; stroke-dasharray: 700; stroke-dashoffset: var(--intel-path,700); }
.intelligence-feedback rect { fill: var(--blue-dark); opacity: var(--intel-active,0); }

/* The four registered crops are the supplied architecture, never replacement drawings. */
.architecture { padding-bottom: 80px; }
.architecture-layout { display: block; margin-top: 80px; }
.architecture-layout > div:first-child { display: grid; grid-template-columns: 1.15fr .85fr; gap: 8vw; align-items: end; }
.architecture h2 { max-width: 11ch; }
.architecture-axis { display: none; }
.operating-scene { position: relative; margin: 48px -5vw 0; direction: ltr; }
.operating-art { position: relative; aspect-ratio: 1672/941; width: 100%; background: var(--paper); }
.operating-plane, .operating-plane picture, .operating-plane img { position: absolute; inset: 0; width: 100%; height: 100%; }
.operating-plane img { object-fit: contain; }
.operating-plane { opacity: var(--plane-opacity,.42); transform: translate3d(0,var(--plane-shift,0px),0); transition: opacity .24s,transform .36s var(--e); }
.plane-0 { clip-path: inset(0 0 71%); }
.plane-1 { clip-path: inset(29% 0 51%); }
.plane-2 { clip-path: inset(49% 0 29%); }
.plane-3 { clip-path: inset(71% 0 0); }
.plane-label { position: absolute; left: 9%; width: 29%; display: grid; grid-template-columns: 28px 1fr; gap: 6px 14px; border-top: 1px solid var(--line); padding-top: 12px; opacity: .48; transition: opacity .24s; }
.plane-label.active, .plane-label:hover { opacity: 1; }
.plane-label > span { font: .75rem var(--mono); color: var(--blue); padding-top: 5px; }
.plane-label strong { font-size: clamp(1rem,1.65vw,1.75rem); font-weight: 500; }
.plane-label p { grid-column: 2; font-size: .875rem; line-height: 1.45; margin: 0; max-width: 26ch; color: var(--muted); }
.label-0 { top: 15%; }.label-1 { top: 35%; }.label-2 { top: 55%; }.label-3 { top: 75%; }
.operating-return { position: absolute; inset: 0; width: 100%; height: 100%; }
.operating-return path { fill: none; stroke: var(--blue); stroke-width: 2; stroke-dasharray: 1000; stroke-dashoffset: var(--return-path,1000); }
.operating-return rect { fill: var(--blue); opacity: var(--return-active,0); }
.locale-ar .plane-label { direction: rtl; text-align: right; font-family: var(--ar); }
.locale-ar .hero-architecture.approved-art { left: 0; right: 0; }
.locale-ar .hero h1 { font-size: clamp(3.2rem,7.5vw,8rem); line-height: 1.17; }
.locale-ar .hero-copy { text-align: start; }
.locale-ar .hero-copy .eyebrow, .locale-ar .hero-copy h1 { width: max-content; max-width: 100%; margin-inline-start: auto; }

/* The closing image has an intentionally protected text field on its left. */
.contact { min-height: 100svh; }
.closing-art { position: absolute; inset: 0; pointer-events: none; }
.closing-art picture, .closing-art img { width: 100%; height: 100%; }
.closing-art img { object-fit: cover; object-position: center; opacity: .8; }
.contact h2 { max-width: 10ch; font-size: clamp(3.4rem,7.2vw,8.7rem); }
.contact-bottom p { max-width: 420px; font-size: 1rem; }
.locale-ar .contact h2 { align-self: flex-start; text-align: right; direction: rtl; }
.locale-ar .contact { direction: ltr; }
.locale-ar .contact .section-index, .locale-ar .contact-bottom { direction: rtl; }

@media(max-width:1050px) {
  .hero-ctas { gap: 18px; }
  .hero-bottom { grid-template-columns: 1fr; }
  .hero-ctas { justify-self: start; }
  .hero-copy { padding-bottom: 44px; }
}
@media(max-width:760px) {
  .hero { min-height: 100svh; padding-top: 68px; }
  .hero-architecture.approved-art, .intro-art { inset: 68px 0 auto; height: 46svh; width: 100%; }
  .intro-art { animation-delay: 1.25s; }
  .intro-art .art-fragments { animation-delay: 1.25s; }
  .intro-art .art-structure { animation-delay: 1.4s; }
  .intro-center { animation-delay: 1.8s; }
  .intro-running .intro { animation-delay: 2s; }
  .hero-copy { padding-top: 38svh; padding-bottom: 38px; }
  .hero h1 { font-size: clamp(2rem,8.9vw,4.2rem); line-height: .98; margin-bottom: 26px; }
  .hero .eyebrow { font-size: .65rem; }
  .locale-ar .hero h1 { font-size: clamp(2.4rem,10.5vw,5rem); line-height: 1.24; }
  .hero-bottom p { max-width: 34ch; font-size: 1rem; }
  .hero-ctas { flex-wrap: wrap; margin-top: 24px; }
  .reality-viewport.fragment-field { min-height: 0; }
  .reality-sequence { margin-inline: -24px; }
  .reality-controls { grid-template-columns: 1fr 1.2fr; padding: 20px 24px; gap: 10px 16px; }
  .reality-controls span { grid-column: 1/-1; font-size: .875rem; }
  .reality-caption { inset: auto 12px 12px; font-size: .65rem; }
  .reality-caption span { padding: 4px 6px; }
  .pov-layout.intelligence-scene { margin-top: 52px; }
  .pov h2 { font-size: clamp(2.7rem,9.8vw,4.7rem); }
  .pov p { margin-inline-start: 0; }
  .architecture-layout > div:first-child { display: block; }
  .architecture h2 { margin-bottom: 28px; }
  .operating-scene { margin: 20px -24px 0; padding-bottom: 20px; }
  .operating-art { aspect-ratio: 1.35; }
  .operating-plane img { object-fit: contain; }
  .operating-plane { clip-path: none; }
  .operating-plane:not(.plane-0) { display: none; }
  .plane-label { position: relative; left: auto; top: auto; display: inline-grid; width: calc(50% - 30px); margin: 0 12px 24px; vertical-align: top; opacity: 1; }
  .plane-label strong { font-size: 1rem; }
  .plane-label p { font-size: .875rem; }
  .closing-art { inset: 0 0 auto; height: 58svh; }
  .closing-art img { object-fit: contain; opacity: .6; }
  .contact { min-height: 100svh; padding-top: 75px; }
  .contact h2 { margin-top: 35svh; font-size: clamp(2.8rem,10vw,5.2rem); }
  .locale-ar .contact h2 { font-size: clamp(2.6rem,9vw,4.6rem); }
}
@media(prefers-reduced-motion:reduce) {
  .hero .art-layer, .operating-plane { transform: none !important; opacity: 1 !important; }
  .intelligence-layer { transform: none !important; opacity: 1 !important; }
  .hero .art-layer img { clip-path: inset(0) !important; opacity: 1 !important; }
  .hero .mask > span { translate: none; }
  .scene-signal path, .operating-return path, .reality-signal path { stroke-dashoffset: 0 !important; }
  .scene-signal rect, .operating-return rect { opacity: 1; }
  .intelligence-feedback path { stroke-dashoffset: 0; }
  .intelligence-feedback rect { opacity: 1; }
}
