/* ========================================
   Hybrid A+B Hero Variants
   Combining text-thread storytelling with type-first minimalism
   ======================================== */

/* ---------- Shared hybrid base ---------- */
.heroH {
  position: relative;
  width: 100%; height: 100%;
  background: var(--bg-0);
  overflow: hidden;
  font-family: var(--font-ui);
}
.heroH-grid::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}
.heroH-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: var(--t-xs); letter-spacing: 0.15em;
  color: var(--brand-500);
  text-transform: uppercase;
}
.heroH-eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand-500);
  box-shadow: 0 0 10px var(--brand-glow);
  animation: pulse 2s ease-in-out infinite;
}
.heroH-coords {
  display: flex; gap: 24px;
  font-family: var(--font-mono); font-size: var(--t-xs);
  color: var(--ink-2); letter-spacing: 0.1em; text-transform: uppercase;
}
.heroH-coords span:first-child { color: var(--ink-3); }

.heroH-cta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

/* ============== H1: BIG TYPE + thread floats below ============== */
.heroH1 {
  padding: 56px 64px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.heroH1-top {
  display: flex; justify-content: space-between; align-items: center;
  position: relative; z-index: 2;
}
.heroH1-mid {
  flex: 1;
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 56px; align-items: center;
  padding: 32px 0;
  position: relative; z-index: 1;
}
.heroH1-title {
  font-family: var(--font-display);
  font-size: clamp(56px, 8vw, 112px);
  line-height: 0.88;
  letter-spacing: -0.04em;
  font-weight: 700;
  margin: 0;
  color: var(--ink-0);
}
.heroH1-title .strike {
  position: relative;
  color: var(--ink-3);
  font-weight: 500;
  font-style: italic;
}
.heroH1-title .strike::after {
  content: "";
  position: absolute; left: -2%; right: -2%; top: 52%;
  height: 6px;
  background: var(--brand-500);
  transform: rotate(-1.5deg);
  box-shadow: 0 0 16px var(--brand-glow);
}
.heroH1-title .accent {
  background-image: linear-gradient(120deg, var(--brand-500), var(--accent-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.heroH1-thread {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 16px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
  transform: rotate(1.5deg);
  transition: transform 0.3s var(--ease-out);
}
.heroH1-thread:hover { transform: rotate(0); }
.heroH1-bot {
  display: flex; justify-content: space-between; align-items: end; gap: 32px;
  position: relative; z-index: 1;
}
.heroH1-desc {
  font-size: var(--t-md);
  color: var(--ink-1);
  max-width: 480px;
  line-height: 1.55;
}

/* ============== H2: Vertical type stack + side thread ============== */
.heroH2 {
  display: grid;
  grid-template-columns: 1fr 420px;
  height: 100%;
}
.heroH2-left {
  padding: 48px 56px;
  display: flex; flex-direction: column; justify-content: space-between;
  border-right: 1px solid var(--line);
  position: relative;
}
.heroH2-title {
  font-family: var(--font-display);
  font-size: clamp(72px, 11vw, 156px);
  line-height: 0.82;
  letter-spacing: -0.05em;
  font-weight: 700;
  margin: 0;
  color: var(--ink-0);
}
.heroH2-title .stack { display: block; }
.heroH2-title .quiet { color: var(--ink-3); font-weight: 500; }
.heroH2-title .pop {
  background-image: linear-gradient(135deg, var(--brand-500), var(--accent-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.heroH2-tagline {
  display: flex; align-items: baseline; gap: 12px;
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  color: var(--ink-2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.heroH2-tagline::before {
  content: ""; width: 32px; height: 1px; background: var(--brand-500);
}
.heroH2-bot { display: flex; justify-content: space-between; align-items: end; gap: 32px; }
.heroH2-desc { font-size: var(--t-md); color: var(--ink-1); max-width: 440px; line-height: 1.55; }

.heroH2-right {
  padding: 32px 32px;
  background: var(--bg-1);
  display: flex; flex-direction: column; justify-content: center; gap: 20px;
  position: relative;
}
.heroH2-right-label {
  font-family: var(--font-mono); font-size: var(--t-xs);
  color: var(--ink-2); letter-spacing: 0.1em; text-transform: uppercase;
}

/* ============== H3: Asymmetric — title goes off-grid right ============== */
.heroH3 {
  padding: 56px 64px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
  background:
    radial-gradient(ellipse 60% 80% at 100% 50%, rgba(41,214,255,0.08), transparent 60%),
    var(--bg-0);
}
.heroH3-left { position: relative; z-index: 2; }
.heroH3-eyebrow-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 36px;
}
.heroH3-thread-mini {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 16px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
  max-width: 380px;
}
.heroH3-stats {
  margin-top: 36px;
  display: grid; grid-template-columns: repeat(3, auto);
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.heroH3-stat-label { font-family: var(--font-mono); font-size: var(--t-xs); color: var(--ink-2); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 6px; }
.heroH3-stat-value { font-family: var(--font-display); font-size: var(--t-2xl); color: var(--ink-0); font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.heroH3-stat-value .unit { color: var(--brand-500); font-size: 0.55em; margin-left: 4px; }

.heroH3-right {
  position: relative;
  display: flex; align-items: center; justify-content: flex-end;
  margin-right: -64px;
}
.heroH3-title {
  font-family: var(--font-display);
  font-size: clamp(64px, 9.5vw, 144px);
  line-height: 0.85;
  letter-spacing: -0.05em;
  font-weight: 700;
  margin: 0;
  color: var(--ink-0);
  text-align: right;
}
.heroH3-title .small {
  display: block;
  font-size: 0.4em;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  font-style: italic;
}
.heroH3-title .strike {
  position: relative;
  color: var(--ink-3);
  font-weight: 500;
}
.heroH3-title .strike::after {
  content: "";
  position: absolute; left: -2%; right: -2%; top: 52%;
  height: 6px;
  background: var(--brand-500);
  transform: rotate(-2deg);
  box-shadow: 0 0 16px var(--brand-glow);
}
.heroH3-title .pop {
  background-image: linear-gradient(120deg, var(--brand-500), var(--accent-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ============== H4: Centered display title with thread overlapping ============== */
.heroH4 {
  padding: 48px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative;
}
.heroH4-top {
  display: flex; justify-content: space-between; align-items: center;
  position: relative; z-index: 3;
}
.heroH4-center {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.heroH4-title {
  font-family: var(--font-display);
  font-size: clamp(80px, 13vw, 192px);
  line-height: 0.85;
  letter-spacing: -0.06em;
  font-weight: 700;
  margin: 0;
  color: var(--ink-0);
  text-align: center;
  position: relative;
  z-index: 1;
}
.heroH4-title .row { display: block; }
.heroH4-title .quiet { color: var(--ink-3); font-weight: 500; }
.heroH4-title .pop {
  background-image: linear-gradient(120deg, var(--brand-500), var(--accent-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.heroH4-thread-float {
  position: absolute;
  right: 4%;
  top: 12%;
  width: 320px;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 14px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
  transform: rotate(3deg);
  z-index: 2;
}
.heroH4-thread-float-2 {
  position: absolute;
  left: 4%;
  bottom: 14%;
  width: 300px;
  background: var(--glass);
  border: 1px solid var(--line-brand);
  border-radius: var(--r-lg);
  padding: 14px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md), var(--shadow-glow);
  transform: rotate(-2.5deg);
  z-index: 2;
}
.heroH4-bot {
  display: flex; justify-content: space-between; align-items: end; gap: 32px;
  position: relative; z-index: 3;
}
.heroH4-desc { font-size: var(--t-md); color: var(--ink-1); max-width: 440px; line-height: 1.55; }

/* ============== H5: Editorial — number + headline + thread inline ============== */
.heroH5 {
  padding: 56px 72px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative;
}
.heroH5-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 28px;
}
.heroH5-headline-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 48px;
  align-items: center;
  flex: 1;
}
.heroH5-number {
  font-family: var(--font-display);
  font-size: clamp(120px, 18vw, 240px);
  line-height: 0.8;
  letter-spacing: -0.06em;
  font-weight: 700;
  color: var(--ink-0);
  position: relative;
}
.heroH5-number .slash {
  color: var(--brand-500);
  text-shadow: 0 0 30px var(--brand-glow);
}
.heroH5-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 56px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 0;
  color: var(--ink-0);
}
.heroH5-headline .accent {
  background-image: linear-gradient(120deg, var(--brand-500), var(--accent-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.heroH5-headline .quiet { color: var(--ink-2); font-weight: 500; }

.heroH5-thread-side {
  width: 320px;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 14px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
}
.heroH5-bot {
  display: flex; justify-content: space-between; align-items: end; gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  margin-top: 32px;
}
.heroH5-desc { font-size: var(--t-md); color: var(--ink-1); max-width: 480px; line-height: 1.55; }
.heroH5-meta { display: flex; gap: 32px; }
.heroH5-meta-label { font-family: var(--font-mono); font-size: var(--t-xs); color: var(--ink-2); letter-spacing: 0.1em; text-transform: uppercase; }
.heroH5-meta-value { font-family: var(--font-display); font-size: var(--t-xl); color: var(--ink-0); font-weight: 700; letter-spacing: -0.02em; }

/* ============== Compact thread used inside hybrids ============== */
.tmini-head {
  display: flex; align-items: center; gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 12px;
}
.tmini-head-icon { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, var(--brand-500), var(--accent-500)); }
.tmini-head-title { font-weight: 600; font-size: var(--t-xs); color: var(--ink-0); }
.tmini-head-sub { font-size: 11px; color: var(--ink-2); }
.tmini-msg { display: flex; gap: 8px; margin-bottom: 8px; }
.tmini-avatar {
  width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 10px; font-weight: 700;
  color: white; flex-shrink: 0;
}
.tmini-text {
  font-size: var(--t-xs); color: var(--ink-1);
  background: var(--bg-2); padding: 6px 10px; border-radius: 10px 10px 10px 3px;
  line-height: 1.35;
}
.tmini-typing {
  display: inline-flex; gap: 3px;
  align-items: flex-end;
  padding: 6px 10px 8px; background: var(--bg-2); border-radius: 10px;
  min-height: 22px;
}
.tmini-typing span {
  width: 4px; height: 4px; border-radius: 50%; background: var(--ink-2);
  animation: typing 1.2s ease-in-out infinite;
  margin-bottom: 1px;
}
.tmini-typing span:nth-child(2) { animation-delay: 0.15s; }
.tmini-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.tmini-readyup {
  margin-top: 10px;
  padding: 10px 12px;
  background: linear-gradient(135deg, rgba(41,214,255,0.1), rgba(88,101,242,0.06));
  border: 1px solid var(--line-brand);
  border-radius: 10px;
  position: relative;
}
.tmini-readyup-head {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 10px;
  color: var(--brand-500);
  margin-bottom: 6px; letter-spacing: 0.05em; text-transform: uppercase;
}
.tmini-readyup-head::before {
  content: "✓";
  width: 13px; height: 13px;
  background: var(--brand-500); color: var(--bg-0);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700;
}
.tmini-readyup-result {
  font-family: var(--font-display);
  font-size: var(--t-md);
  font-weight: 700;
  color: var(--ink-0);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.tmini-readyup-games {
  margin-top: 8px;
  display: flex; gap: 4px; flex-wrap: wrap;
}
.tmini-readyup-game {
  font-size: 10px;
  font-weight: 500;
  padding: 3px 8px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-1);
}
