/* Hilal Space renewed: the hero card lifts away and reveals the statement (Phantom-style scroll) */
.hs-stage { position: relative; height: 215vh; height: 215svh; }
.hs-stage > .statement {
  position: sticky; top: 0; z-index: 1; height: 100vh; height: 100svh;
  display: flex; align-items: center; justify-content: center; padding: 0 !important;
}
.hs-stage > .statement > .wrap { width: 100%; opacity: .08; transform: translateY(40px) scale(.96); will-change: opacity, transform; }
.hs-stage > .hf { position: absolute; top: 0; left: 0; right: 0; z-index: 2; }
.hs-stage .hf-frame { background: #15171c; transform-origin: 50% 0; will-change: transform; }
.hf-bg {
  position: absolute; inset: 0; z-index: 0;
  background: #15171c url("img/hero-night-v2.jpg") 50% 100% / cover no-repeat;
  animation: hs-drift 24s ease-in-out infinite alternate; transform-origin: 50% 85%;
}
.hs-stage .hf-frame::before { z-index: 1; }
.hs-stage .hf-copy, .hs-stage .hf-partners { z-index: 2; }
@keyframes hs-drift { from { transform: scale(1); } to { transform: scale(1.07); } }
/* the little pixel icons in the line bob gently */
.hs-stage .chip-set .chip { animation: hs-bob 3.2s ease-in-out infinite; }
.hs-stage .chip-set .chip:nth-child(2) { animation-delay: .4s; }
.hs-stage .chip-set .chip:nth-child(3) { animation-delay: .8s; }
@keyframes hs-bob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-6px) rotate(3deg); } }
@media (max-width: 640px) {
  .hf-bg { background-size: auto 62%; background-position: 22% 100%; animation: none; }
  .hs-stage { height: 200vh; height: 200svh; }
}
@media (prefers-reduced-motion: reduce) {
  .hf-bg, .hs-stage .chip-set .chip { animation: none; }
  .hs-stage > .statement > .wrap { opacity: 1; transform: none; }
}

/* ===== Landing like Phantom: logo left, white pill menu centered, button right, all above the card ===== */
html body.hs-phantom .site-header,
html body.hs-phantom .site-header.is-solid {
  position: fixed; top: 0; height: 96px; padding: 0 clamp(20px, 2.4vw, 36px);
  background: transparent !important; box-shadow: none !important;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
}
html body.hs-phantom .head-bg { display: none; }
html body.hs-phantom .site-header .brand { position: static; transform: none; order: -3; width: 56px; height: 56px; }
html body.hs-phantom .site-header .brand .logo-mark { width: 40px; height: 25px; }
@media (min-width: 1021px) {
  html body.hs-phantom .site-header .menu {
    display: flex; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    gap: 2px; padding: 6px; margin: 0; border-radius: 999px; background: #fff;
    box-shadow: 0 6px 24px rgba(20, 18, 16, .1);
  }
  html body.hs-phantom .site-header .menu a {
    order: 0 !important; margin: 0 !important; padding: 11px 20px; border-radius: 999px;
    color: var(--ink) !important; font: 500 15px/1 var(--sans); transition: background .2s;
  }
  html body.hs-phantom .site-header .menu a::after { display: none; }
  html body.hs-phantom .site-header .menu a:hover { background: var(--bg); }
}
html body.hs-phantom .site-header .join {
  order: 3; margin-left: auto; opacity: 1 !important; visibility: visible !important; display: inline-flex !important;
  padding: 14px 24px; border: 0; border-radius: 999px; background: var(--red); color: #fffaf1 !important;
  font: 600 15px/1 var(--sans); transition: background .2s, transform .2s;
}
html body.hs-phantom .site-header .join:hover { background: var(--ink); transform: translateY(-1px); }
html body.hs-phantom .site-header .menu-toggle { background: #fff; box-shadow: 0 6px 24px rgba(20, 18, 16, .1); }
html body.hs-phantom .site-header .menu-toggle span { background: var(--ink) !important; }

/* the card starts below the menu row, with a soft frame of cream around it */
html body.hs-phantom .hf { padding: 96px clamp(10px, 1.2vw, 16px) 0; }
html body.hs-phantom .hf-frame {
  height: calc(100vh - 96px - clamp(10px, 1.2vw, 16px)); height: calc(100svh - 96px - clamp(10px, 1.2vw, 16px));
  min-height: 520px; border-radius: 28px; align-items: center;
}
html body.hs-phantom .hf-copy { padding: 0 24px 9vh; }
.hf-kicker { margin: 0 0 22px; font: 500 clamp(15px, 1.2vw, 18px)/1 var(--sans); color: rgba(255, 250, 241, .85); }
html body.hs-phantom .hf-actions { margin-top: clamp(30px, 4.5vh, 44px); }

@media (max-width: 1020px) {
  html body.hs-phantom .site-header .menu { background: var(--bg); }
  html body.hs-phantom .site-header .join { margin-left: auto; }
  html body.hs-phantom .site-header .menu-toggle { margin-left: 10px; }
}
@media (max-width: 640px) {
  html body.hs-phantom .site-header, html body.hs-phantom .site-header.is-solid { position: absolute; height: 80px; padding: 0 16px; }
  html body.hs-phantom .site-header .brand { width: 48px; height: 48px; }
  html body.hs-phantom .site-header .brand .logo-mark { width: 34px; height: 21px; }
  html body.hs-phantom .site-header .join { order: 3; padding: 12px 18px; font-size: 14px; }
  html body.hs-phantom .hf { padding: 80px 10px 0; }
  html body.hs-phantom .hf-frame { height: calc(100svh - 90px); min-height: 480px; border-radius: 22px; align-items: flex-start; }
  html body.hs-phantom .hf-copy { padding: 12vh 22px 0; }
  .hf-kicker { margin-bottom: 16px; font-size: 14px; }
}
@media (max-width: 1020px) {
  html body.hs-phantom .site-header .menu-toggle { order: 4; }
}

/* hero text: no kicker, title sits in the sky above the bridge */
html body.hs-phantom .hf-frame { align-items: flex-start; }
html body.hs-phantom .hf-copy { padding: clamp(120px, 20vh, 200px) 24px 0; }
@media (max-width: 640px) {
  html body.hs-phantom .hf-copy { padding: 14vh 22px 0; }
}
