/* ============================================================
   LANDING — split 50/50 page (index.html)
   ============================================================ */

html, body { height: 100%; background: #000000; color: #fff; overflow: hidden; }

.landing {
  position: relative;
  height: 100dvh;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  isolation: isolate;
  font-family: var(--font-body);
}

.landing__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
  pointer-events: none;
}

.landing__bg {
  position: absolute; inset: 0;
  background: linear-gradient(rgba(8,10,14,.60), rgba(8,10,14,.60));
  z-index: -2;
}

/* Each half: logo block is vertically centered (so SG and HOS blocks, which have
   different heights, both end up centered at viewport y=50% — matching the mockup).
   The CTA is absolutely positioned at the bottom-center of its half. */
.landing__half {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(24px, 4vw, 60px);
  color: #fff;
}
.landing__half .logo-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 100%;
}

/* Vertical divider (centered between the two logos) */
.landing::before {
  content: "";
  position: absolute;
  top: 22%;
  bottom: 22%;
  left: 50%;
  width: 1px;
  background: rgba(255,255,255,.6);
  z-index: 2;
}

/* -------- Left (Special Glue) -------- */
/* The payoff is sized from the logo height so its widest line ("where people meet,")
   matches the logo width (logo 2638x4194 → width .629h; TrashHand line ≈ 6.78em). */
.landing__sg { --sg-logo-h: clamp(220px, 32vh, 380px); }
.landing__sg .sg-logo {
  width: auto;
  height: var(--sg-logo-h);
  max-width: 100%;
  object-fit: contain;
  object-position: left top;
}
.landing__sg .sg-payoff {
  margin: clamp(28px, 4vh, 48px) 0 0;
  font-family: var(--font-brush);
  font-weight: 400;
  font-size: calc(var(--sg-logo-h) * .0925);
  letter-spacing: .015em;
  text-align: left;
  line-height: 1.1;
  color: #fff;
}

/* -------- Right (House of Special) -------- */
.landing__hos .hos-logo {
  width: auto;
  height: clamp(220px, 32vh, 380px);
  max-width: 100%;
  object-fit: contain;
  object-position: left top;
}

/* -------- CTAs (red, Barlow — absolute at the bottom-center of each half) -------- */
.landing__half .cta {
  position: absolute;
  bottom: clamp(80px, 11vh, 130px);
  left: 50%;
  transform: translateX(-50%);
  color: var(--c-sg-red);
  font-family: var(--font-body);
  font-weight: 400; /* moodboard 16/10: regular, no tracking */
  font-size: clamp(15px, 1.19vw, 23px);
  letter-spacing: 0;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
}

/* -------- Mobile -------- */
@media (max-width: 760px) {
  .landing { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
  .landing::before {
    top: 50%; bottom: auto; left: 8%; right: 8%; width: auto; height: 1px;
  }
  .landing__half { padding: 0 28px; }
  .landing__sg { --sg-logo-h: clamp(160px, 24vh, 280px); }
  .landing__hos .hos-logo { height: clamp(160px, 24vh, 280px); }
  .landing__half .cta { bottom: clamp(28px, 5vh, 50px); }
}

/* Keep both choices and their labels clear on short mobile viewports. */
.landing__half:focus-visible { outline: 3px solid #fff; outline-offset: -8px; }
@media (max-width: 760px) {
  .landing__half { padding: 20px 28px 58px; }
  .landing__sg { --sg-logo-h: min(20svh, 160px); }
  .landing__hos .hos-logo { height: min(22svh, 180px); }
  .landing__sg .sg-payoff { margin-top: 10px; }
  .landing__half .cta { bottom: 20px; font-size: 13px; }
}
