/* All visual changes are limited to the desktop pre-gallery. */
.entry-desktop-art,.entry-desktop-wallpaper { display:none; }
.entry-desktop-logo { display:contents; }

/* Preserve the mobile globe at <=700px and coarse-pointer landscape <=950x600. */
@media (min-width:701px) and (min-height:601px), (min-width:951px), (min-width:701px) and (pointer:fine), (min-width:701px) and (pointer:none) {
  .page-entry .entry-stage { min-height:420px; background:#050505; }
  .page-entry .entry-stage>.world,.page-entry .entry-stage>.ambient-orbit { display:none; }
  .page-entry .entry-desktop-wallpaper { display:block; position:absolute; inset:0; z-index:0; pointer-events:none; background:#050505 url('../assets/entry-desktop/wallpaper-20261020.webp') center/cover no-repeat; filter:brightness(.58) saturate(.85); }
  .page-entry .entry-stage>.world-shade { position:absolute; z-index:1; background:linear-gradient(90deg,#00000012,#00000010 26%,#0000004d 75%),linear-gradient(0deg,#000000a3,transparent 28%,#00000014 75%,#00000057); }
  .page-entry .entry-universe { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); grid-template-rows:min(58svh,28vw); align-content:center; column-gap:clamp(7px,.8vw,24px); padding:0 2.7vw 0 33.2vw; perspective:1800px; }
  .page-entry .entry-drop { position:relative; inset:auto; min-width:0; animation-duration:.66s; animation-timing-function:cubic-bezier(.2,.75,.2,1); animation-delay:calc(.12s + var(--desktop-order)*.085s); }
  .page-entry .entry-drop:has(.entry-card--machine) { order:0; --desktop-order:4; }
  .page-entry .entry-drop:has(.entry-card--transport) { order:1; --desktop-order:3; }
  .page-entry .entry-drop:has(.entry-card--homes) { order:2; --desktop-order:2; }
  .page-entry .entry-drop:has(.entry-card--marketing) { order:3; --desktop-order:1; }
  .page-entry .entry-drop:has(.entry-card--events) { order:4; --desktop-order:0; }
  .page-entry .entry-card { position:relative; inset:auto; width:100%; height:100%; min-width:0; padding:0; margin:0; overflow:hidden; border:1px solid #d6b37191; border-radius:clamp(7px,.65vw,14px); background:linear-gradient(150deg,#dad2bf0d,#0b0c0e63 50%,#09090996); box-shadow:inset 0 1px #fff1db24,inset 1px 0 #eed6a619,0 18px 32px #0009,0 0 14px #c8a45d0e; backdrop-filter:blur(7px); -webkit-backdrop-filter:blur(7px); animation:entry-desktop-float 8s ease-in-out infinite; --ry:-10deg; }
  .page-entry .entry-card::before { inset:4px; border-color:#f5d79524; border-radius:inherit; z-index:2; }
  /* Shared rotation and float phase keep the five panels aligned. */
  .page-entry .entry-card>img,.page-entry .entry-card>.entry-art { display:none; }
  .page-entry .entry-card figcaption { position:relative; z-index:3; order:-1; display:flex; align-items:center; justify-content:center; flex:0 0 clamp(57px,4.4vw,87px); padding:9px 7px; margin:0; border-bottom:1px solid #d9b7771c; background:linear-gradient(#1011137d,#10111300); color:#f5f2ea; font-size:clamp(9px,.87vw,16px); font-weight:400; line-height:1.4; letter-spacing:.045em; text-transform:uppercase; text-shadow:0 2px 10px #000b; }
  .page-entry .entry-desktop-art { position:relative; display:block; flex:1 1 0; width:100%; min-height:0; overflow:hidden; margin:0; }
  .page-entry .entry-desktop-art>img { position:absolute; inset:0; display:block; width:100%; height:100%; min-height:0; object-fit:contain; object-position:center bottom; filter:drop-shadow(0 8px 9px #0009); }
  .page-entry .entry-card--machine .entry-desktop-art { margin:8px 5px 7px; width:calc(100% - 10px); }
  .page-entry .entry-card--transport .entry-desktop-art,.page-entry .entry-card--homes .entry-desktop-art { margin:5px 0 0; }
  .page-entry .entry-card--marketing .entry-desktop-art>img { object-fit:cover; object-position:50% 90%; }
  .page-entry .entry-card--events .entry-desktop-art>img { object-fit:cover; object-position:52% bottom; }
  .page-entry .entry-core { width:min(26vw,56svh,590px); left:1vw; top:51%; transform:translateY(-50%); }
  .page-entry .entry-mark { display:block; width:100%; height:100%; animation:none; filter:drop-shadow(0 14px 18px #0008) drop-shadow(0 0 20px #d5ab4d12); }
  .page-entry .brand-halo { inset:1%; box-shadow:0 0 40px #c8a45d0d,0 0 90px #c8a45d09; }
  .page-entry .entry-plinth,.page-entry .gold-sphere { display:none; }
  .page-entry .entry-action { left:auto; right:3.3vw; bottom:6svh; width:auto; transform:none; text-align:right; }
  .page-entry .entry-action .button--portal { min-width:clamp(230px,22vw,350px); min-height:54px; padding:10px 13px 10px 22px; border-color:#c9a66099; border-radius:7px; background:linear-gradient(110deg,#1d1911a6,#050505b8); box-shadow:inset 0 1px #e8c88f12,0 0 22px #c8a45d12; font-size:clamp(10px,.8vw,13px); letter-spacing:.12em; }
  .page-entry .entry-action .arrow-disc { width:32px; height:32px; font-size:21px; }
  .page-entry .entry-caption { margin-top:10px; font-size:9px; letter-spacing:.12em; }
  .page-entry .entry-stage>.utility { top:21px; right:2.5vw; }
  @media (max-height:600px) {
    .page-entry .entry-universe { grid-template-rows:min(54svh,30vw); padding-bottom:10svh; }
    .page-entry .entry-core { width:min(25vw,51svh,530px); top:45%; }
    .page-entry .entry-action { bottom:4svh; }
  }
  @keyframes window-fall { from { opacity:0; transform:translate3d(95px,0,0); } 24% { opacity:.35; } to { opacity:1; transform:translate3d(0,0,0); } }
  @keyframes entry-desktop-float { 0%,100% { transform:translate3d(calc(var(--px)*2px),calc(var(--py)*2px),0) rotateY(var(--ry)); } 50% { transform:translate3d(calc(var(--px)*2px),calc(var(--py)*2px - 3px),2px) rotateY(var(--ry)); } }
}
