/* ==========================================================================
   OEDER STUDIOS — SPLITSCREEN CHOICE PAGE v2
   Premium cinematic entry with strict left/right zones + page transitions
   ========================================================================== */

:root {
  --ink-deep: #0A0A0B;
  --ink-soft: #0E0E10;
  --ink-line: rgba(245, 242, 236, 0.08);
  --paper: #F5F2EC;
  --paper-mute: rgba(245, 242, 236, 0.55);
  --paper-dim: rgba(245, 242, 236, 0.3);
  --gold: #C9A961;
  --gold-deep: #9D7E3B;
  --bordeaux: #9B2A28;
  --bordeaux-deep: #7B1818;
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Inter Tight', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-premium: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-dramatic: cubic-bezier(0.83, 0, 0.17, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--ink-deep);
  color: var(--paper);
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* LOADER */
.loader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--ink-deep);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s var(--ease), visibility 0s 0.6s;
}
.loader.is-hidden { opacity: 0; visibility: hidden; }
.loader-content { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.loader-brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 500;
  font-size: 28px; color: var(--paper); letter-spacing: 0.02em;
}
.loader-word { display: inline-block; }
.loader-divider { display: inline-block; width: 1px; height: 0.78em; background: var(--gold); }
.loader-bar { width: 120px; height: 1px; background: rgba(245,242,236,0.1); overflow: hidden; }
.loader-fill { width: 0; height: 100%; background: linear-gradient(90deg, var(--gold-deep), var(--gold)); animation: loaderFill 1.4s var(--ease-premium) forwards; }
@keyframes loaderFill { to { width: 100%; } }

/* ==========================================================================
   PAGE TRANSITION — Pixeldust Canvas + Subtle Dark Veil
   ========================================================================== */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s 0.3s;
}
.page-transition.is-active {
  pointer-events: all;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease;
}

/* Dark vignette: very subtle, just slightly darkens the screen */
.pt-veil {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--ox, 50%) var(--oy, 50%),
    transparent 0%,
    rgba(10, 10, 11, 0.3) 50%,
    rgba(10, 10, 11, 0.85) 100%);
  opacity: 0;
  transition: opacity 0.6s var(--ease-premium);
}
.page-transition.is-active .pt-veil {
  opacity: 1;
}

/* Canvas for pixeldust particles */
.pt-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Loading-pulse: tiny gold ring grows from click origin */
.pt-pulse {
  position: absolute;
  top: var(--oy, 50%);
  left: var(--ox, 50%);
  width: 0;
  height: 0;
  border: 1px solid var(--gold);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  box-shadow: 0 0 30px rgba(201, 169, 97, 0.4);
}
.page-transition.is-active .pt-pulse {
  animation: ptPulse 1.1s var(--ease-dramatic) forwards;
}
@keyframes ptPulse {
  0% {
    width: 0; height: 0;
    opacity: 1;
    border-width: 2px;
  }
  100% {
    width: 220vmax; height: 220vmax;
    opacity: 0;
    border-width: 0;
  }
}

/* CHOICE LAYOUT */
.choice {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.choice-nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 48px;
  pointer-events: none;
}
.choice-nav > * { pointer-events: auto; }

.brand-logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 500;
  font-size: 22px; letter-spacing: 0.02em; line-height: 1;
  color: var(--paper);
}
.brand-word { display: inline-block; }
.brand-divider { display: inline-block; width: 1px; height: 0.78em; background: var(--gold); }

.choice-portal-link {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.25em;
  color: var(--paper-mute); text-transform: uppercase;
  padding: 10px 16px;
  border: 1px solid var(--ink-line); border-radius: 24px;
  transition: all 0.3s var(--ease);
}
.choice-portal-link:hover { color: var(--gold); border-color: rgba(201,169,97,0.4); }

.choice-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 50;
  text-align: center;
  pointer-events: none;
  width: 100%;
  max-width: 700px;
  padding: 0 24px;
  animation: choiceCenterIn 1s var(--ease-premium) 0.4s both;
}
@keyframes choiceCenterIn {
  from { opacity: 0; transform: translate(-50%, calc(-50% + 20px)); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}
.choice-eyebrow {
  display: inline-block;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.35em; color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 24px; padding: 6px 14px;
  background: rgba(10,10,11,0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(201,169,97,0.25);
  border-radius: 20px;
}
.choice-question {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(48px, 7vw, 96px); line-height: 1;
  color: var(--paper); letter-spacing: -0.015em;
  text-shadow: 0 0 40px rgba(10,10,11,0.9), 0 0 80px rgba(10,10,11,0.7);
}
.choice-question em {
  font-style: italic; font-weight: 300;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.choice-sub {
  font-size: 16px; color: var(--paper-mute);
  margin-top: 20px;
  text-shadow: 0 0 20px rgba(10,10,11,0.9);
}

/* THE SPLIT — strict zones */
.split {
  position: relative; flex: 1;
  display: flex;
  min-height: 100vh;
  overflow: hidden;
}
.half {
  position: relative; flex: 1;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 80px 64px 120px;
  cursor: pointer;
  overflow: hidden;
  transition: flex 0.8s var(--ease-premium), filter 0.5s var(--ease);
  z-index: 1;
}
.split:hover .half:not(:hover) {
  flex: 0.55;
  filter: brightness(0.45) saturate(0.7);
}
.split:hover .half:hover {
  flex: 1.45;
  z-index: 5;
}

.half-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.half-bg-web {
  background:
    radial-gradient(circle at 30% 70%, rgba(155,42,40,0.12) 0%, transparent 60%),
    linear-gradient(135deg, #0A0A0B 0%, #0E0708 100%);
}
.web-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,169,97,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,169,97,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 30% 60%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 60%, black 30%, transparent 80%);
  opacity: 0.5;
  transition: opacity 0.6s var(--ease);
}
.half-left:hover .web-grid {
  opacity: 1;
  animation: webGridShift 20s linear infinite;
}
@keyframes webGridShift { to { background-position: 60px 60px, 60px 60px; } }
.web-glow {
  position: absolute; bottom: -30%; left: -20%;
  width: 80%; height: 80%;
  background: radial-gradient(circle, rgba(155,42,40,0.4) 0%, transparent 60%);
  filter: blur(40px); opacity: 0.3;
  transition: opacity 0.7s var(--ease);
}
.half-left:hover .web-glow { opacity: 1; }

.half-bg-app {
  background:
    radial-gradient(circle at 70% 30%, rgba(201,169,97,0.08) 0%, transparent 60%),
    linear-gradient(225deg, #0A0A0B 0%, #08080A 100%);
}
.app-particles { position: absolute; inset: 0; }
.app-particles span {
  position: absolute; width: 3px; height: 3px;
  background: var(--gold); border-radius: 50%;
  box-shadow: 0 0 8px var(--gold);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
.half-right:hover .app-particles span {
  opacity: 1;
  animation: appParticleFloat 4s ease-in-out infinite;
}
.app-particles span:nth-child(1) { top: 20%; left: 65%; animation-delay: 0s; }
.app-particles span:nth-child(2) { top: 35%; left: 80%; animation-delay: 0.5s; }
.app-particles span:nth-child(3) { top: 55%; left: 70%; animation-delay: 1s; }
.app-particles span:nth-child(4) { top: 70%; left: 85%; animation-delay: 1.5s; }
.app-particles span:nth-child(5) { top: 25%; left: 90%; animation-delay: 2s; }
.app-particles span:nth-child(6) { top: 50%; left: 75%; animation-delay: 2.5s; }
.app-particles span:nth-child(7) { top: 80%; left: 80%; animation-delay: 3s; }
.app-particles span:nth-child(8) { top: 15%; left: 78%; animation-delay: 0.3s; }
@keyframes appParticleFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.4; }
  50% { transform: translateY(-15px) scale(1.2); opacity: 1; }
}
.app-glow {
  position: absolute; top: -20%; right: -20%;
  width: 70%; height: 70%;
  background: radial-gradient(circle, rgba(201,169,97,0.25) 0%, transparent 60%);
  filter: blur(50px); opacity: 0.3;
  transition: opacity 0.7s var(--ease);
}
.half-right:hover .app-glow { opacity: 1; }

/* HOVER VISUALS — STRICT zones (never overlap center text) */
.half-visual {
  position: absolute;
  top: 50%;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition:
    opacity 0.7s var(--ease-premium),
    transform 0.9s var(--ease-premium);
}
/* WEB — always far left */
.half-visual-web {
  left: 5%;
  width: 38%;
  max-width: 420px;
  transform: translateY(-50%) translateX(-60px) rotateY(15deg) scale(0.85);
  transform-origin: left center;
  perspective: 1400px;
}
.half-left:hover .half-visual-web {
  opacity: 1;
  transform: translateY(-50%) translateX(0) rotateY(-5deg) scale(1);
}
/* APP — always far right */
.half-visual-app {
  right: 8%;
  width: 22%;
  max-width: 240px;
  transform: translateY(-55%) translateX(60px) rotateY(-25deg) scale(0.85);
  transform-origin: right center;
  perspective: 1400px;
}
.half-right:hover .half-visual-app {
  opacity: 1;
  transform: translateY(-55%) translateX(0) rotateY(5deg) scale(1);
}

/* Web Browser */
.web-browser {
  width: 100%;
  aspect-ratio: 16 / 11;
  background: linear-gradient(180deg, #0E0E10 0%, #08080A 100%);
  border: 1px solid rgba(201,169,97,0.3);
  border-radius: 10px;
  overflow: hidden;
  box-shadow:
    0 40px 100px -20px rgba(0,0,0,0.8),
    0 0 80px -10px rgba(155,42,40,0.25),
    inset 0 1px 0 rgba(255,255,255,0.04);
}
.web-browser-bar {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.025);
  border-bottom: 1px solid rgba(201,169,97,0.08);
}
.web-dots { display: flex; gap: 5px; }
.web-dots span { width: 8px; height: 8px; border-radius: 50%; }
.web-dots span:nth-child(1) { background: #FF5F57; opacity: 0.65; }
.web-dots span:nth-child(2) { background: #FEBC2E; opacity: 0.65; }
.web-dots span:nth-child(3) { background: #28C840; opacity: 0.65; }
.web-url {
  flex: 1; text-align: center;
  font-family: var(--font-mono); font-size: 10px;
  color: var(--paper-mute);
}
.web-browser-body {
  padding: 14px;
  display: flex; flex-direction: column; gap: 10px;
}
.web-mock-nav, .web-mock-hero, .web-mock-cards {
  opacity: 0; transform: translateY(15px);
}
.half-left:hover .web-mock-nav { animation: wmAppear 0.6s var(--ease-premium) 0.3s forwards; }
.half-left:hover .web-mock-hero { animation: wmAppear 0.6s var(--ease-premium) 0.5s forwards; }
.half-left:hover .web-mock-cards { animation: wmAppear 0.6s var(--ease-premium) 0.7s forwards; }
@keyframes wmAppear { to { opacity: 1; transform: translateY(0); } }

.web-mock-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(245,242,236,0.05);
}
.web-mock-logo {
  width: 50px; height: 8px;
  background: linear-gradient(90deg, var(--gold), var(--gold-deep));
  border-radius: 2px;
}
.web-mock-links { display: flex; gap: 10px; }
.web-mock-links span {
  width: 30px; height: 4px;
  background: rgba(245,242,236,0.3);
  border-radius: 1px;
}
.web-mock-hero {
  display: flex; flex-direction: column; gap: 6px;
  padding: 8px 0;
}
.web-mock-eyebrow { width: 60px; height: 4px; background: var(--bordeaux); border-radius: 1px; }
.web-mock-h1 { height: 12px; width: 75%; background: var(--paper); border-radius: 2px; }
.web-mock-h2 { height: 12px; width: 50%; background: linear-gradient(90deg, var(--paper), var(--bordeaux)); border-radius: 2px; }
.web-mock-cta {
  width: 80px; height: 18px;
  background: linear-gradient(135deg, var(--bordeaux), var(--bordeaux-deep));
  border-radius: 3px; margin-top: 6px;
  box-shadow: 0 0 12px rgba(155,42,40,0.5);
}
.web-mock-cards { display: flex; gap: 8px; margin-top: auto; }
.web-mock-card {
  flex: 1; height: 50px;
  background: linear-gradient(135deg, #1F0F0F, #110707);
  border-radius: 3px;
  border-top: 1px solid rgba(201,169,97,0.2);
}

.web-code-stream {
  position: absolute; bottom: -8%; left: 0; right: 0;
  display: flex; flex-direction: column; gap: 4px;
  padding: 0 5%;
  opacity: 0;
  transition: opacity 0.6s ease 0.4s;
}
.half-left:hover .web-code-stream { opacity: 0.85; }
.code-line {
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  border-radius: 1px;
  width: 0;
}
.half-left:hover .code-line { animation: codeType 0.6s var(--ease-premium) forwards; }
.code-line:nth-child(1) { animation-delay: 0.5s; --w: 70%; }
.code-line:nth-child(2) { animation-delay: 0.65s; --w: 50%; }
.code-line:nth-child(3) { animation-delay: 0.8s; --w: 85%; }
.code-line:nth-child(4) { animation-delay: 0.95s; --w: 40%; }
.code-line:nth-child(5) { animation-delay: 1.1s; --w: 65%; }
.code-line:nth-child(6) { animation-delay: 1.25s; --w: 55%; }
@keyframes codeType { to { width: var(--w); } }

/* Phone */
.app-phone {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 19;
  background: linear-gradient(180deg, #1a1a1c 0%, #0a0a0b 100%);
  border: 2px solid rgba(201,169,97,0.4);
  border-radius: 32px;
  padding: 8px;
  box-shadow:
    0 40px 100px -20px rgba(0,0,0,0.9),
    0 0 80px -10px rgba(201,169,97,0.3);
}
.phone-notch {
  position: absolute; top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 30%; height: 10px;
  background: #0a0a0b;
  border-radius: 6px; z-index: 10;
}
.phone-screen {
  width: 100%; height: 100%;
  background: linear-gradient(180deg, #0e0708, #050203);
  border-radius: 24px;
  padding: 30px 12px 12px;
  display: flex; flex-direction: column; gap: 8px;
  overflow: hidden;
}
.phone-status {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 9px;
  color: var(--paper-mute);
  margin-bottom: 4px;
}
.phone-app-header {
  display: flex; align-items: center; justify-content: space-between;
}
.phone-app-title {
  width: 50px; height: 8px;
  background: linear-gradient(90deg, var(--gold), var(--gold-deep));
  border-radius: 2px;
}
.phone-app-avatar {
  width: 14px; height: 14px; border-radius: 50%;
  background: rgba(201,169,97,0.4);
}
.phone-app-featured {
  height: 80px;
  background:
    radial-gradient(circle at 30% 30%, rgba(201,169,97,0.4), transparent 60%),
    linear-gradient(135deg, #2A1010, #110707);
  border-radius: 6px; margin: 6px 0;
}
.phone-app-section {
  height: 4px; width: 50%;
  background: rgba(245,242,236,0.4);
  border-radius: 1px;
}
.phone-app-list {
  display: flex; flex-direction: column; gap: 6px; flex: 1;
}
.phone-list-item {
  display: flex; align-items: center; gap: 6px;
  opacity: 0; transform: translateX(20px);
}
.half-right:hover .phone-list-item:nth-child(1) { animation: plSlide 0.5s var(--ease-premium) 0.4s forwards; }
.half-right:hover .phone-list-item:nth-child(2) { animation: plSlide 0.5s var(--ease-premium) 0.55s forwards; }
.half-right:hover .phone-list-item:nth-child(3) { animation: plSlide 0.5s var(--ease-premium) 0.7s forwards; }
@keyframes plSlide { to { opacity: 1; transform: translateX(0); } }
.phone-list-img {
  width: 28px; height: 28px;
  background: linear-gradient(135deg, #2A1010, #110707);
  border-radius: 4px; flex-shrink: 0;
}
.phone-list-text { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.phone-list-title { height: 4px; width: 80%; background: var(--paper); border-radius: 1px; }
.phone-list-meta { height: 3px; width: 50%; background: rgba(245,242,236,0.4); border-radius: 1px; }
.phone-tabbar {
  display: flex; gap: 8px;
  padding: 4px;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  margin-top: auto;
}
.phone-tab {
  flex: 1; height: 6px;
  background: rgba(245,242,236,0.15);
  border-radius: 2px;
}
.phone-tab.is-active { background: var(--gold); }
.app-phone-glow {
  position: absolute;
  inset: -20% -10%;
  background: radial-gradient(ellipse at center, rgba(201,169,97,0.3) 0%, transparent 60%);
  filter: blur(30px);
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: -1;
}
.half-right:hover .app-phone-glow {
  opacity: 1;
  animation: appGlowPulse 3s ease-in-out infinite;
}
@keyframes appGlowPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

/* HALF LABEL */
.half-label {
  position: relative; z-index: 3;
  display: flex; flex-direction: column; gap: 14px;
  max-width: 380px;
  transition: transform 0.6s var(--ease-premium);
}
.half-left .half-label { align-items: flex-start; text-align: left; }
.half-right .half-label { align-items: flex-end; text-align: right; margin-left: auto; }
.half-num {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.4em; color: var(--gold);
}
.half-meta {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.3em; color: var(--paper-mute);
  text-transform: uppercase;
}
.half-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(36px, 4.5vw, 64px); line-height: 1;
  color: var(--paper); letter-spacing: -0.01em;
  margin-top: 8px;
}
.half-title em { font-style: italic; font-weight: 300; }
.half-left .half-title em {
  background: linear-gradient(135deg, var(--bordeaux), var(--bordeaux-deep));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.half-right .half-title em {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.half-cta {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.3em; color: var(--paper);
  text-transform: uppercase; margin-top: 16px;
  padding: 12px 0; opacity: 0.5;
  transition: all 0.4s var(--ease);
}
.half:hover .half-cta { opacity: 1; }
.cta-arrow { transition: transform 0.4s var(--ease); }
.half:hover .cta-arrow { transform: translateX(8px); }

/* DIVIDER */
.split-divider {
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  width: 1px;
  z-index: 4;
  pointer-events: none;
  transform: translateX(-50%);
  transition: left 0.7s var(--ease-premium);
}
.divider-line {
  position: absolute; inset: 0; width: 1px;
  background: linear-gradient(180deg, transparent 0%, var(--gold) 30%, var(--gold) 70%, transparent 100%);
}
.divider-diamond {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 10px rgba(201,169,97,0.5));
  transition: transform 0.6s var(--ease-premium);
}
.split:hover .divider-diamond { transform: translate(-50%, -50%) rotate(90deg) scale(1.2); }
.divider-or {
  position: absolute; bottom: 38%; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.5em; color: var(--gold);
  background: var(--ink-deep); padding: 4px 10px;
}
.split.hover-left .split-divider { left: 58%; }
.split.hover-right .split-divider { left: 42%; }

/* BEIDES PILL */
.choice-both {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  display: inline-flex; align-items: center; gap: 14px;
  padding: 14px 24px;
  background: linear-gradient(135deg, rgba(10,10,11,0.9), rgba(20,8,10,0.95));
  backdrop-filter: blur(12px);
  border: 1px solid rgba(201,169,97,0.3);
  border-radius: 40px;
  transition: all 0.4s var(--ease);
  animation: choiceBothIn 1s var(--ease-premium) 1s both;
}
@keyframes choiceBothIn {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.choice-both:hover {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(20,12,6,0.95), rgba(30,16,8,0.98));
  box-shadow: 0 0 0 4px rgba(201,169,97,0.1), 0 0 40px rgba(201,169,97,0.3);
  transform: translateX(-50%) translateY(-2px);
}
.both-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: var(--ink-deep);
}
.both-text {
  font-family: var(--font-display); font-size: 17px;
  color: var(--paper);
}
.both-text em {
  font-style: italic;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.both-meta {
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 0.25em; color: var(--paper-mute);
  padding-left: 14px;
  border-left: 1px solid var(--ink-line);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .choice-nav { padding: 20px 24px; }
  .half { padding: 60px 32px 100px; }
  .half-visual-web { width: 45%; left: 4%; max-width: 360px; }
  .half-visual-app { width: 28%; right: 6%; max-width: 200px; }
}

@media (max-width: 768px) {
  /* Container: lock to viewport, no scroll */
  html, body {
    overflow-x: hidden;
  }
  .choice {
    min-height: 100vh;
    height: 100vh;
    overflow: hidden;
    position: relative;
  }
  .choice-nav { padding: 20px 22px; }
  .choice-portal-link { font-size: 9px; padding: 8px 14px; letter-spacing: 0.2em; }

  /* Question: ABSOLUTELY centered on the divider line */
  .choice-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 480px;
    padding: 0 28px;
    z-index: 50;
    pointer-events: none;
    text-align: center;
  }
  /* Eyebrow "PREMIUM WEB & APP DEVELOPMENT" hidden on mobile */
  .choice-eyebrow { display: none; }
  .choice-question {
    font-size: clamp(28px, 7.5vw, 40px);
    line-height: 1.05;
  }
  .choice-sub {
    font-size: 12px;
    margin-top: 14px;
    opacity: 0.6;
  }

  /* Split: vertical stack */
  .split {
    flex-direction: column;
    min-height: 100vh;
    height: 100vh;
    width: 100%;
  }
  .half {
    flex: 1 1 50%;
    min-height: 0;
    width: 100%;
    padding: 100px 28px 40px;
    display: flex;
    flex-direction: column;
    align-items: center !important;
    overflow: hidden;
    position: relative;
  }
  .half-left {
    padding: 110px 28px 110px;
    justify-content: flex-start !important;
  }
  .half-right {
    padding: 110px 28px 130px;
    justify-content: flex-end !important;
  }
  .split:hover .half:not(:hover) { flex: 1 1 50%; filter: none; }
  .split:hover .half:hover { flex: 1 1 50%; }

  /* Common label styles */
  .half-label {
    align-items: center !important;
    text-align: center !important;
    margin: 0 auto !important;
    max-width: 100%;
    gap: 12px;
    width: 100%;
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
  }
  .half-left .half-label,
  .half-right .half-label {
    align-items: center !important;
    text-align: center !important;
    margin: 0 auto !important;
  }

  /* WEBSITE HALF (top) — natural order: 01 → meta → title */
  .half-left .half-num { order: 1; }
  .half-left .half-meta { order: 2; }
  .half-left .half-title { order: 3; }

  /* APP HALF (bottom) — REVERSED order: title FIRST, then meta, then number */
  .half-right .half-title { order: 1; }
  .half-right .half-meta { order: 2; }
  .half-right .half-num { order: 3; }

  /* Typography */
  .half-num {
    font-size: 12px;
    letter-spacing: 0.5em;
    opacity: 0.9;
  }
  .half-meta {
    font-size: 9px;
    letter-spacing: 0.35em;
    opacity: 0.55;
  }
  .half-title {
    font-size: clamp(30px, 7.5vw, 40px);
    line-height: 1.08;
    margin-top: 0;
    letter-spacing: -0.01em;
  }

  /* CTA "Pfad öffnen" — HIDDEN on mobile, not needed since whole half is clickable */
  .half-cta { display: none !important; }

  /* Visuals HIDDEN on mobile */
  .half-visual { display: none !important; }
  .web-code-stream { display: none !important; }

  /* Divider line — exact middle */
  .split-divider {
    position: absolute;
    top: 50%;
    bottom: auto;
    left: 0;
    right: 0;
    width: 100%;
    height: 1px;
    transform: translateY(-50%);
    z-index: 4;
  }
  .divider-line {
    width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent 5%, var(--gold) 35%, var(--gold) 65%, transparent 95%);
    opacity: 0.35;
  }
  .divider-diamond { display: none; }
  .divider-or { display: none; }
  .split.hover-left .split-divider,
  .split.hover-right .split-divider { left: 0; top: 50%; }

  /* "Ich brauche beides" — comfortable distance from bottom */
  .choice-both {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 60;
    padding: 12px 20px;
    gap: 12px;
    max-width: calc(100% - 40px);
  }
  .choice-both:hover { transform: translateX(-50%) translateY(-2px); }
  .both-text { font-size: 13px; }
  .both-meta { font-size: 8px; padding-left: 12px; letter-spacing: 0.22em; }
}

@media (max-width: 480px) {
  .choice-question { font-size: clamp(26px, 8vw, 34px); }
  .choice-sub { font-size: 11px; }
  .half-title { font-size: clamp(26px, 7.5vw, 32px); }
  .both-meta { display: none; }
  .both-text { font-size: 12px; }
  .half-left { padding: 100px 24px 100px; }
  .half-right { padding: 100px 24px 120px; }
}

/* Brand logo as link in splitscreen nav */
.brand-logo-link {
  text-decoration: none;
  color: var(--paper);
  transition: opacity 0.3s var(--ease);
}
.brand-logo-link:hover { opacity: 0.75; }
