body.home-page { background: #000; }
body.home-page #meet-arthur,
body.home-page #why,
body.home-page #booth,
body.home-page #floor,
body.home-page #playlist,
body.home-page #rooms {
  scroll-margin-top: calc(var(--nav-h) + 0.75rem);
}
body.home-page .bg-veil {
  background:
    linear-gradient(90deg, rgba(5,1,10,0.62) 0%, rgba(5,1,10,0.22) 36%, rgba(5,1,10,0.04) 68%, rgba(5,1,10,0.12) 100%),
    linear-gradient(180deg, rgba(5,1,10,0.34) 0%, rgba(5,1,10,0.02) 26%, rgba(5,1,10,0.04) 64%, rgba(5,1,10,0.55) 100%);
}
.hero, .band, .gl-foot { position: relative; z-index: 3; }
.hero {
  min-height: calc(100svh - var(--nav-h) - 4.5rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.2rem, 4vw, 3rem) var(--gutter) 1.8rem;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}
.arthur-hero {
  justify-content: flex-start;
  gap: 0.2rem;
}
.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.8rem, 11vw, 6.4rem);
  line-height: 0.88;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  max-width: 12ch;
  text-shadow: 0 12px 40px rgba(0,0,0,.65);
}
.hero h1 em {
  display: block;
  margin-top: 0.18em;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 0.34em;
  letter-spacing: 0;
  text-transform: none;
  color: var(--blush);
}
.arthur-card {
  position: relative;
  margin: 0.9rem 0 0.2rem;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(61, 240, 255, 0.55);
  box-shadow: var(--shadow), 0 0 48px rgba(176, 38, 255, 0.28);
  background: #070910;
  isolation: isolate;
  animation: arthur-glow 5.6s ease-in-out infinite;
}
@keyframes arthur-glow {
  0%, 100% { box-shadow: var(--shadow), 0 0 28px rgba(255, 43, 214, 0.28); }
  50% { box-shadow: var(--shadow), 0 0 56px rgba(61, 240, 255, 0.38); }
}
@media (prefers-reduced-motion: reduce) {
  .arthur-card { animation: none; }
}
.arthur-card img {
  width: 100%;
  height: auto;
  max-height: min(62svh, 720px);
  object-fit: cover;
  object-position: center 18%;
}
.arthur-card::after {
  content: "";
  position: absolute; inset: auto 0 0 0; height: 42%;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.82));
  pointer-events: none;
}
.arthur-card figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  padding: 1.05rem 1.1rem 0.9rem;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.lede {
  margin: 1rem 0 0;
  max-width: 34rem;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--muted);
  text-shadow: 0 6px 18px #000;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1.4rem; }
.ticker {
  margin-top: 1.2rem;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}

.band {
  width: min(100% - (var(--gutter) * 2), var(--max));
  margin: 0 auto;
  padding: 2.2rem 0 0.3rem;
}
.sec-h h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  text-transform: uppercase;
  line-height: 0.95;
}
.sec-h p.whisper { margin: 0.45rem 0 0; color: var(--muted); }

.room-grid { display: grid; gap: 0.9rem; margin-top: 1.2rem; }
.room {
  position: relative;
  min-height: 15rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #0b070c;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.15rem 1.1rem;
  isolation: isolate;
  box-shadow: var(--shadow);
  transition: transform 0.2s var(--ease), border-color 0.2s ease;
}
.room:hover { transform: translateY(-3px); border-color: rgba(61, 240, 255, 0.55); }
.room img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -2;
}
.room::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,.1), rgba(0,0,0,.82));
}
.room .num {
  position: absolute; top: 1rem; right: 1rem;
  font-family: var(--mono); font-size: 0.72rem; color: var(--gold);
}
.room .tag {
  font-family: var(--mono); font-size: 0.58rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 0.3rem;
}
.room h3 {
  margin: 0 0 0.25rem;
  font-family: var(--display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  text-transform: uppercase;
}
.room p { margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.4; }
.room .go {
  margin-top: 0.8rem;
  font-family: var(--mono); font-size: 0.64rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--blush);
}
.room.feature { min-height: 20rem; }

.rituals { display: grid; gap: 0.8rem; margin-top: 1.2rem; }
.ritual {
  padding: 1rem 0;
  border-top: 1px solid rgba(61, 240, 255, 0.2);
}
.ritual b {
  display: block;
  font-family: var(--display);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}
.ritual p { margin: 0; color: var(--muted); line-height: 1.45; max-width: 36rem; }

.find {
  margin-top: 1rem;
  padding: 1.35rem 1.3rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(8,2,14,.55);
  backdrop-filter: blur(10px);
}
.find .soc-kicker {
  margin: 0 0 0.85rem;
  font-family: var(--mono); font-size: 0.6rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-dim);
}

.arthur-terminal {
  border: 1px solid rgba(61, 240, 255, 0.28);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(8, 12, 22, 0.88), rgba(5, 6, 12, 0.78));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 40px rgba(176, 38, 255, 0.12);
  overflow: hidden;
}
.term-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid rgba(61, 240, 255, 0.18);
  background: rgba(0, 0, 0, 0.35);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.term-dots { display: inline-flex; gap: 5px; }
.term-dots i {
  width: 8px; height: 8px; border-radius: 50%; display: block;
}
.term-dots i:nth-child(1) { background: #ff2bd6; box-shadow: 0 0 8px #ff2bd6; }
.term-dots i:nth-child(2) { background: #b026ff; box-shadow: 0 0 8px #b026ff; }
.term-dots i:nth-child(3) { background: #3df0ff; box-shadow: 0 0 8px #3df0ff; }
.term-id { color: #fff; }
.term-state { margin-left: auto; color: var(--cyan); display: inline-flex; align-items: center; gap: 0.4rem; }
.term-grid { padding: 1rem 1rem 1.15rem; }
.term-stats {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.term-stats li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-top: 1px solid rgba(61, 240, 255, 0.14);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.term-stats b { color: var(--cyan); font-weight: 600; }
.term-stats span { color: var(--muted); text-align: right; }

@media (min-width: 860px) {
  .term-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.92fr);
    gap: 1.6rem;
    align-items: center;
    padding: 1.3rem 1.3rem 1.45rem;
  }
  .arthur-hero .arthur-card { margin: 0; }
  .arthur-hero .arthur-card img { max-height: min(68svh, 760px); }
  .room-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .room.feature { grid-column: 1; min-height: 26rem; }
  .rituals { grid-template-columns: 1fr 1fr 1fr; gap: 0; }
  .ritual { border-top: 0; border-left: 1px solid rgba(61, 240, 255, 0.2); padding: 0.3rem 1.1rem; }
  .ritual:first-child { border-left: 0; padding-left: 0; }
}
@media (max-width: 759px) {
  .hero {
    min-height: 0;
    padding-bottom: 1.2rem;
  }
  .hero h1 { font-size: clamp(2.4rem, 13vw, 3.2rem); }
  .arthur-card { margin: 0.7rem 0 0; }
  .arthur-card img { max-height: min(38svh, 340px); }
  .arthur-hero .hero-cta { margin-top: 0.9rem; }
  .arthur-hero .lede { margin-top: 0.85rem; font-size: 0.98rem; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn-primary, .hero-cta .btn-ghost { width: 100%; }
  .room { min-height: 13rem; }
  .room.feature { min-height: 16rem; }
}

.kicker .live.is-wait,
.term-state .live.is-wait,
.kicker .live.is-dark,
.term-state .live.is-dark {
  background: #8a7a92;
  box-shadow: none;
}
.kicker .live.is-dark,
.term-state .live.is-dark { background: #ff4d88; }

/* One house video stays in a side rail. The page copy sits beside it. */
body.home-page .bg-vid,
body.home-page video.bg-vid,
body.home-page .bg-veil {
  display: none !important;
}
body.home-page main.house {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(108px, 26vw, 280px);
  column-gap: clamp(0.65rem, 1.8vw, 1.35rem);
  align-items: start;
  width: min(100% - (var(--gutter) * 2), 92rem);
  margin: 0.75rem auto 0;
}
body.home-page .house-copy { min-width: 0; }
body.home-page .house-copy .hero,
body.home-page .house-copy .band {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}
body.home-page .house-copy .hero.arthur-hero {
  display: flex;
  min-height: 0;
  justify-content: flex-start;
  padding-top: 0.35rem;
  padding-bottom: 1.1rem;
}
body.home-page .house-copy .hero h1 {
  max-width: 12ch;
  font-size: clamp(1.85rem, 4.8vw, 5rem);
}
body.home-page .arthur-card img {
  object-fit: contain;
  object-position: center;
  background: #070910;
}
body.home-page .arthur-card::after { display: none; }
body.home-page .arthur-card figcaption { position: static; }
body.home-page .room.feature {
  min-height: 0;
  padding: 0 0 1.05rem;
  justify-content: flex-start;
}
body.home-page .room.feature img {
  position: relative;
  inset: auto;
  z-index: 0;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  background: #070910;
}
body.home-page .room.feature .num { z-index: 1; }
body.home-page .room.feature .tag,
body.home-page .room.feature h3,
body.home-page .room.feature p,
body.home-page .room.feature .go {
  position: relative;
  z-index: 1;
  margin-left: 1.1rem;
  margin-right: 1.1rem;
}
body.home-page .room.feature .tag { margin-top: 0.85rem; }

body.home-page .reel {
  position: sticky;
  top: calc(var(--nav-h) + 0.85rem);
  z-index: 4;
  width: 100%;
  margin: 0;
  align-self: start;
}
body.home-page .reel-frame {
  position: relative;
  width: min(100%, calc((100svh - var(--nav-h) - 1.7rem) * 624 / 1440));
  margin-left: auto;
  aspect-ratio: 624 / 1440;
  background: #05010a;
  border: 1px solid rgba(61, 240, 255, 0.45);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow), 0 0 42px rgba(176, 38, 255, 0.22);
}
body.home-page .stage-vid {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #05010a;
}
body.home-page .reel-now {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  margin: 0;
  padding: 0.45rem 0.55rem 1rem;
  background: linear-gradient(rgba(5, 1, 10, 0.72), transparent);
  pointer-events: none;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

@media (max-width: 1079px) {
  body.home-page .term-grid { display: block; }
  body.home-page .room-grid { grid-template-columns: 1fr; }
  body.home-page .room.feature { grid-column: auto; min-height: 18rem; }
  body.home-page .rituals { grid-template-columns: 1fr; gap: 0; }
  body.home-page .ritual {
    border-left: 0;
    border-top: 1px solid rgba(61, 240, 255, 0.2);
    padding: 1rem 0;
  }
  body.home-page .ritual:first-child { padding-left: 0; }
}
@media (max-width: 899px) {
  body.home-page main.house {
    display: flex;
    flex-direction: column;
    row-gap: 0.35rem;
  }
  body.home-page .house-copy { display: contents; }
  body.home-page .hero { order: 1; }
  body.home-page #why { order: 2; }
  body.home-page #booth { order: 3; }
  body.home-page .reel { order: 4; }
  body.home-page #floor { order: 5; }
  body.home-page #rooms { order: 6; }
  body.home-page .reel {
    position: static;
    top: auto;
    width: 100%;
    margin: 0.2rem auto 0.4rem;
  }
  body.home-page .reel-frame {
    margin: 0 auto;
    width: min(70vw, 250px);
    aspect-ratio: 624 / 1440;
    border-radius: 22px;
    box-shadow: var(--shadow), 0 0 36px rgba(255, 43, 214, 0.28);
  }
}
@media (max-width: 759px) {
  body.home-page.gl-has-dock {
    padding-bottom: calc(var(--dock-h) + 2.25rem + env(safe-area-inset-bottom, 0px));
  }
  body.home-page .house-copy .hero h1,
  body.home-page .hero h1 {
    font-size: clamp(1.7rem, 8.5vw, 2.5rem);
  }
  body.home-page .room-grid {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 2px;
    padding-bottom: 0.35rem;
    scrollbar-width: none;
  }
  body.home-page .room-grid::-webkit-scrollbar { display: none; }
  body.home-page .room {
    flex: 0 0 84%;
    scroll-snap-align: start;
    min-height: 15.5rem;
  }
  body.home-page .room:active { transform: scale(0.985); }
  body.home-page .soc-app-btn:active { transform: scale(0.94); }
}
