@font-face{font-family:'1AD Editorial';src:url('assets/fonts/libre-baskerville.ttf') format('truetype');font-weight:400 700;font-display:swap}
@font-face{font-family:'1AD Arabic';src:url('assets/fonts/noto-sans-arabic.ttf') format('truetype');font-weight:100 900;font-display:swap}
:root,html[data-device='phone']{font-family:'1AD Editorial',Georgia,'Times New Roman',serif;--night:#151116}
html[lang='ar'],html[data-device='phone'][lang='ar']{font-family:'1AD Arabic',Calibri,Tahoma,sans-serif}
button,input,textarea,select{font-family:inherit}
#atmosphere-toggle{display:none!important}
.brand{mix-blend-mode:screen;background:transparent;border:0;padding:0}
.pilot-header{mix-blend-mode:screen}
.brand img{clip-path:none;transform:none;filter:none;mix-blend-mode:normal}
html[data-atmosphere='autumn']{--night:#151116;scrollbar-color:#715849 #151116}
html[data-atmosphere='autumn'] #navigation-dialog{background:#1c161c}
.mobile-door-title,.mobile-statement,.mobile-portal-heading,.mobile-contact h2{letter-spacing:-.02em}
@media(pointer:fine){
  html,body,canvas,.pilot-stage{cursor:url('assets/pointer.svg') 7 5,default}
  button:not(:disabled),a,[role='button'],.scene-hit{cursor:url('assets/pointer-active.svg') 7 5,pointer}
  input,textarea,[contenteditable='true']{cursor:text}
  button:disabled{cursor:not-allowed}
}
.contact-email { color:var(--paper); font-size:12px; overflow-wrap:anywhere; text-decoration:underline; text-underline-offset:4px; }
.form-actions { flex-wrap:wrap; align-items:center; gap:14px; }
.social-button { text-decoration:none; }
.mobile-project h2 { text-align:start; }
.mobile-project-caption { background:#100d1259; padding:16px; border-radius:8px; }
.mobile-project-caption p,.mobile-about-columns p { margin:0 0 1.4em; font-size:16px; line-height:1.85; color:var(--muted); }
.mobile-project-caption p:last-child { margin-bottom:0; }
.mobile-reading p,.fallback p { text-align:justify; text-align-last:start; }
.mobile-reading .mobile-eyebrow { text-align:start; }
.mobile-project.mobile-teaser { width:min(58%,230px); margin:65px auto 75px; }
.mobile-teaser img { display:block; width:100%; height:auto; }
.mobile-teaser figcaption { margin-top:12px; text-align:center; font-size:17px; color:var(--muted); }
.fallback .project-teaser { width:min(230px,65%); margin:55px auto; text-align:center; }
.fallback .project-teaser img { width:100%; height:auto; }
.fallback .project-teaser figcaption { margin-top:12px; font-size:18px; }
.mobile-about-columns { display:grid; gap:76px; }
html[lang='ar'] .mobile-project-caption p,html[lang='ar'] .mobile-about-columns p { line-height:2; }
@media(min-width:820px){.mobile-about-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(100px,12vw,130px)}.mobile-portal-about .mobile-reading{max-width:1100px}}
.fallback #fallback-about{display:grid;gap:76px}
@media(min-width:760px){.fallback #fallback-about{grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(100px,10vw,150px)}}
.fallback .founders figcaption{margin-top:12px}
.fallback .founders strong{font-size:17px;margin-bottom:15px}
.fallback .founders figcaption p{font-size:17px;text-align:start;line-height:1.5}
.mobile-borders-heading{font-size:clamp(24px,5.2vw,32px);line-height:1.4;font-weight:600;margin:0 0 26px}
.mobile-borders-copy p{font-size:16px;line-height:1.85;color:var(--paper)}
.mobile-portal-borders .mobile-founders figure{width:78%;margin:40px auto 55px}
.mobile-portal-borders .mobile-founders figcaption h3{font-size:18px;line-height:1.5;margin:12px 0 16px;letter-spacing:0}
.mobile-portal-borders .mobile-founders figcaption p{text-align:start;font-size:15px;color:var(--paper);white-space:pre-line}
.mobile-portal-borders .mobile-founders figure>img{height:290px;max-height:45svh;width:100%;object-fit:contain;object-position:bottom left}
html[lang='ar'] .mobile-borders-copy p{line-height:2}
@media(min-width:650px){
 .mobile-borders-intro{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px;align-items:center}
 .mobile-borders-intro .mobile-baghdad{margin-top:0}
 .mobile-portal-borders .mobile-founders{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:40px}
 .mobile-portal-borders .mobile-founders figure{width:100%;margin:0}
}
