/* Quiet prelaunch composition over the original interactive terrain. */
.launch-page { background:#080808; color:#fff; min-height:100svh; min-height:100dvh; display:flex; flex-direction:column; isolation:isolate; }
.launch-page ::selection { background:#444; }
.launch-header { position:relative; z-index:2; display:flex; align-items:center; justify-content:space-between; gap:24px; padding:30px 48px; }
.launch-header .brand img { width:160px; height:40px; filter:invert(1); }
.launch-contact { display:inline-flex; align-items:center; gap:18px; color:#e7e7e7; font-size:13px; padding:10px 0; }
.launch-contact:hover { text-decoration:underline; text-underline-offset:5px; }
.launch-page main { display:flex; flex:1; max-width:none; margin:0; padding:0; pointer-events:none; }
.launch-intro { flex:1; display:flex; justify-content:center; align-items:center; padding:20px 24px 115px; text-align:center; }
.launch-page .launch-intro h1 { margin:0; max-width:none; color:#fff; font-size:clamp(56px,8.2vw,112px); line-height:1.05; font-weight:400; letter-spacing:-.055em; text-align:center; }
.launch-art.perlin-hero { position:fixed; inset:0; width:100%; height:100%; background:#080808; z-index:-1; pointer-events:auto; }
.launch-terrain { display:block; width:100%; height:100%; touch-action:none; mask-image:linear-gradient(180deg,transparent 0%,#0000 18%,#0003 42%,#0009 66%,#0009 78%,#0002 94%,transparent 100%); }
.launch-page .footer.site-footer { position:relative; z-index:2; border:0; border-top:1px solid #1f1f1f; background:#080808; padding:18px 48px 24px; }
.launch-page .footer.site-footer .footer-main { display:none; }
.launch-page .footer.site-footer .footer-bottom { margin:0; padding:0; border:0; gap:12px 24px; }
.launch-page .footer.site-footer .footer-bottom > span,.launch-page .footer.site-footer .footer-bottom nav a { color:#c8c8c8; font-size:13px; }
.launch-page .footer.site-footer .footer-bottom nav { gap:6px 20px; }
@media(max-width:800px) {
 .launch-header { padding:24px; gap:16px; }
 .launch-header .brand img { width:138px; height:auto; }
 .launch-contact { font-size:12px; gap:10px; overflow-wrap:anywhere; }
 .launch-intro { padding:20px 20px 100px; }
 .launch-page .launch-intro h1 { font-size:clamp(48px,10vw,74px); }
 .launch-page .footer.site-footer { padding:14px 24px 20px; }

}
html[data-high-contrast="true"] .launch-page .launch-terrain { opacity:.35; }

/* Phones need their own composition and native browser gestures. */
@media (max-width:600px) {
 .launch-page { min-inline-size:0; }
 .launch-header {
  gap:12px;
  padding:calc(18px + env(safe-area-inset-top,0px)) max(20px,env(safe-area-inset-right,0px)) 16px max(20px,env(safe-area-inset-left,0px));
 }
 .launch-header .brand { flex:0 1 auto; min-width:0; }
 .launch-header .brand img { width:120px; max-width:100%; height:auto; }
 .launch-contact { flex-shrink:0; font-size:12px; gap:8px; min-height:44px; overflow-wrap:normal; white-space:nowrap; }
 .launch-page main { min-inline-size:0; min-block-size:180px; }
 .launch-intro { min-inline-size:0; padding:24px 20px; }
 .launch-intro > div { width:100%; min-inline-size:0; }
 .launch-page .launch-intro h1 { width:100%; font-size:clamp(36px,10vw,56px); max-inline-size:100%; }
 .launch-page .launch-word { max-inline-size:100%; white-space:normal; }
 .launch-page .footer.site-footer {
  padding:16px max(20px,env(safe-area-inset-right,0px)) calc(16px + env(safe-area-inset-bottom,0px)) max(20px,env(safe-area-inset-left,0px));
 }
 /* Phones: the links as one centred, wrapping line, then the copyright under them. */
 .launch-page .footer.site-footer .footer-bottom { flex-direction:column-reverse; align-items:center; gap:4px; }
 .launch-page .footer.site-footer .footer-bottom > span { text-align:center; font-size:12px; line-height:1.5; color:#8a8a8a; }
 .launch-page .footer.site-footer .footer-bottom nav { display:flex; flex-wrap:wrap; justify-content:center; width:100%; gap:0 20px; }
 .launch-page .footer.site-footer .footer-bottom nav a { justify-content:center; text-align:center; min-height:44px; font-size:13px; line-height:1.4; }
}
@media (pointer:coarse) {
 .launch-terrain { touch-action:pan-y pinch-zoom; }
}
@media (max-height:500px) and (orientation:landscape) {
 .launch-header { padding: max(10px,env(safe-area-inset-top,0px)) max(24px,env(safe-area-inset-right,0px)) 8px max(24px,env(safe-area-inset-left,0px)); }
 .launch-page main { min-block-size:112px; }
 .launch-intro { padding:12px max(24px,env(safe-area-inset-left,0px)); }
 .launch-page .launch-intro h1 { font-size:clamp(36px,6vw,56px); }
 .launch-page .footer.site-footer { padding-right:max(24px,env(safe-area-inset-right,0px)); padding-left:max(24px,env(safe-area-inset-left,0px)); padding-bottom:calc(12px + env(safe-area-inset-bottom,0px)); }
}
