/* ============================================================
   Jacob Lutz — split landing (index.html)
   Two paths: The Studio (Boy Wonder, rust) | The Artist (gold)
   ============================================================ */

.landing {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  transition: grid-template-columns 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Shared top bar */
.landing-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px var(--gutter);
  pointer-events: none;
}
.landing-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--ink);
  pointer-events: auto;
}
.landing-brand img { width: 32px; height: 32px; display: block; }
.landing-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
@media (max-width: 720px) { .landing-tag { display: none; } }

/* Each half */
.split {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  padding: clamp(40px, 6vw, 80px);
  color: var(--ink);
}
.landing .split:first-child { border-right: 1px solid rgba(245, 241, 234, 0.1); }

.split-bg { position: absolute; inset: 0; z-index: 0; }
.split-bg img {
  --split-scale: 1.05;
  --split-y: 0%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateY(var(--split-y)) scale(var(--split-scale));
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.split-studio .split-bg img {
  --split-y: 2.8%;
  object-position: 68% 12%;
}
/* Mirror the Studio (doorway) photo — no guitar, safe to flip. */
.split-studio .split-bg { transform: scaleX(-1); }
/* Artist = live-gig photo (never flipped — the guitar can't mirror). */
.split-artist .split-bg img { object-position: 50% 28%; }

.split::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  transition: opacity 0.5s ease;
}
.split-studio::after {
  background:
    linear-gradient(to top, rgba(34, 27, 20, 0.95) 0%, rgba(34, 27, 20, 0.55) 100%),
    radial-gradient(circle at 50% 62%, rgba(194, 78, 44, 0.4), transparent 68%);
}
.split-artist::after {
  background:
    linear-gradient(to top, rgba(10, 9, 8, 0.95) 0%, rgba(10, 9, 8, 0.5) 100%),
    radial-gradient(circle at 50% 62%, rgba(224, 160, 46, 0.3), transparent 68%);
}

.split-inner {
  position: relative;
  z-index: 2;
  max-width: 440px;
  transition: opacity 0.4s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.split-mark {
  width: clamp(60px, 6.5vw, 88px);
  height: auto;
  margin: 0 auto 26px;
  display: block;
}
.split-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.split-studio .split-eyebrow { color: var(--rust); }
.split-artist .split-eyebrow { color: var(--gold); }
.split-title { line-height: 0.9; margin: 0 0 18px; color: var(--ink); }
.split-studio .split-title {
  font-family: var(--font-studio);
  font-weight: 400;
  font-size: clamp(44px, 6vw, 84px);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.split-artist .split-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 6.4vw, 90px);
  letter-spacing: -0.03em;
}
.split-artist .split-title em { font-style: italic; font-weight: 400; color: var(--rust); }
.split-desc {
  font-family: var(--font-mono);
  font-size: clamp(11px, 0.95vw, 13px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 32px;
}
.split-enter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid;
  transition: background 0.3s ease, color 0.3s ease, gap 0.3s ease;
}
.split-studio .split-enter { border-color: var(--rust); }
.split-artist .split-enter { border-color: var(--gold); }
.split-studio:hover .split-enter { background: var(--rust); color: #fff; gap: 16px; }
.split-artist:hover .split-enter { background: var(--gold); color: var(--accent-ink); gap: 16px; }
.split:hover .split-bg img { --split-scale: 1.12; }

/* Desktop hover: expand the hovered half, dim the other */
@media (min-width: 721px) and (pointer: fine) {
  .landing:has(.split:first-child:hover) { grid-template-columns: 1.12fr 0.88fr; }
  .landing:has(.split:last-child:hover) { grid-template-columns: 0.88fr 1.12fr; }
  .landing:has(.split:hover) .split:not(:hover) .split-inner { opacity: 0.5; }
}

/* Stacked on mobile — both halves visible on one screen */
@media (max-width: 720px) {
  .landing { grid-template-columns: 1fr; }
  .split { min-height: 50svh; }
  .landing .split:first-child { border-right: 0; border-bottom: 1px solid rgba(245, 241, 234, 0.12); }
  .split-mark { width: 56px; margin-bottom: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .landing, .split-bg img, .split-inner { transition: none; }
}
