/* ─────────────────────────────────────────────────────────────
   START HERE — Hub page styles
   Schemes A–D · Nav · Doors · Testimonials · CTA
   ───────────────────────────────────────────────────────────── */

/* ─── NAV ────────────────────────────────────────────────── */
.sh-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  z-index: var(--z-nav);
  border-bottom: 1px solid rgba(227, 172, 23, 0.06);
  background: rgba(10, 15, 30, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.sh-nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0.88;
  transition: opacity 0.2s ease;
}

.sh-nav-logo:hover { opacity: 1; }

.sh-logo-mark {
  width: 30px; height: 30px;
  background: var(--gold);
  color: var(--text-navy);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.sh-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.sh-nav-link {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.sh-nav-link:hover { color: var(--gold); }

.sh-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border: 1px solid var(--gold-border);
  border-radius: 8px;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.25s var(--ease-out),
              border-color 0.25s var(--ease-out),
              transform 0.25s var(--ease-out);
}

.sh-nav-cta:hover {
  background: var(--gold-dim);
  border-color: var(--gold-border-h);
  transform: translateY(-1px);
}

/* ─── LAYOUT SHELL ───────────────────────────────────────── */
.sh-page {
  min-height: 100vh;
  padding-top: var(--nav-h);
  padding-bottom: 44px;
}

.sh-hero {
  position: relative;
  z-index: 1;
}

.sh-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 32px 48px;
  text-align: center;
}

.sh-hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 16px;
  animation: fadeUp 0.7s var(--ease-out) 0.1s both;
}

.sh-hero-headline em {
  font-style: italic;
  color: var(--gold);
}

.sh-hero-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  animation: fadeUp 0.7s var(--ease-out) 0.2s both;
}

/* ─── DOORS GRID ─────────────────────────────────────────── */
.sh-doors {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 32px 80px;
}

.sh-doors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.sh-door {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(227, 172, 23, 0.14);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out),
              border-color 0.35s var(--ease-out),
              box-shadow 0.35s var(--ease-out);
  text-align: left;
}

.sh-door:hover {
  transform: translateY(-6px);
  border-color: var(--gold-border-h);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35),
              0 0 32px rgba(227, 172, 23, 0.12);
}

.sh-door.is-highlighted {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--gold);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4),
              0 0 40px rgba(227, 172, 23, 0.2);
}

.sh-door-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-2);
}

.sh-door-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out), filter 0.4s ease;
}

.sh-door:hover .sh-door-thumb img {
  transform: scale(1.04);
  filter: brightness(1.08);
}

.sh-door-thumb--system {
  background:
    radial-gradient(circle at 30% 40%, rgba(227, 172, 23, 0.35) 0%, transparent 8%),
    radial-gradient(circle at 70% 30%, rgba(227, 172, 23, 0.25) 0%, transparent 6%),
    radial-gradient(circle at 50% 70%, rgba(227, 172, 23, 0.4) 0%, transparent 10%),
    radial-gradient(circle at 20% 75%, rgba(227, 172, 23, 0.2) 0%, transparent 5%),
    radial-gradient(circle at 85% 65%, rgba(227, 172, 23, 0.3) 0%, transparent 7%),
    linear-gradient(135deg, #060d1a 0%, #0a1528 50%, #060d1a 100%);
  background-size: 100% 100%;
}

.sh-door-thumb--system::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(227, 172, 23, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(227, 172, 23, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.7;
}

.sh-door-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 15, 30, 0.75) 100%);
  pointer-events: none;
}

.sh-door-thumb.has-cta .sh-door-thumb-overlay {
  background: linear-gradient(180deg,
    rgba(10, 15, 30, 0.05) 0%,
    rgba(10, 15, 30, 0.45) 55%,
    rgba(10, 15, 30, 0.92) 100%);
}

.sh-door-thumb-cta {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 100px;
  background: var(--gold);
  color: var(--text-navy);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 6px 22px rgba(227, 172, 23, 0.32);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease;
}

.sh-door-thumb-cta svg { width: 12px; height: 12px; }

.sh-door:hover .sh-door-thumb-cta {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(227, 172, 23, 0.48);
}

.sh-door-arrow {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(227, 172, 23, 0.9);
  color: var(--text-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease-out);
}

.sh-door-arrow svg { width: 14px; height: 14px; }

.sh-door:hover .sh-door-arrow { transform: translateX(3px); }

.sh-door-body {
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sh-door-title {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-muted);
}

.sh-door-label {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.sh-door-sub {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.sh-door-quote {
  margin-top: 8px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(248, 250, 252, 0.75);
  line-height: 1.45;
}

/* ─── DOOR 5: JUST RELEASED ──────────────────────────────── */
.sh-door--releases {
  border-style: dashed;
  border-color: rgba(245, 196, 0, 0.28);
  background: linear-gradient(145deg, rgba(245, 196, 0, 0.04), rgba(10, 15, 30, 0.6));
}

.sh-door--releases:hover {
  border-color: rgba(245, 196, 0, 0.5);
  background: linear-gradient(145deg, rgba(245, 196, 0, 0.08), rgba(10, 15, 30, 0.75));
}

.sh-door-body--releases {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sh-door-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #F5C400;
}

.sh-door-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #F5C400;
  flex-shrink: 0;
  animation: shLivePulse 2s ease-in-out infinite;
}

@keyframes shLivePulse {
  0%, 100% { opacity: 0.4; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1); }
}

.sh-door-title--releases {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  line-height: 1.35;
  color: var(--text);
}

.sh-door-label--releases {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.55;
}

.sh-door-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #F5C400;
}

.sh-door--releases:hover .sh-door-cta {
  transform: translateX(3px);
  transition: transform 0.2s var(--ease-out);
}

@media (prefers-reduced-motion: reduce) {
  .sh-door-live-dot,
  .sh-persona-btn--watch .sh-persona-text::before { animation: none; opacity: 1; }
}

/* ─── SCHEME B: Hero + Two ───────────────────────────────── */
.sh-scheme-b .sh-hero-inner {
  padding-bottom: 32px;
}

.sh-scheme-b .sh-doors-hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px 32px;
}

.sh-scheme-b .sh-doors-secondary-label {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 32px 20px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.sh-scheme-b .sh-doors-secondary {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px 80px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.sh-door--hero .sh-door-thumb { aspect-ratio: 21 / 9; }

.sh-door--hero .sh-door-label { font-size: clamp(1.4rem, 3vw, 1.85rem); }

.sh-door--hero .sh-door-body { padding: 28px 28px 32px; }

.sh-door--compact .sh-door-thumb { aspect-ratio: 16 / 9; }

/* ─── SCHEME C: Persona selector ─────────────────────────── */
.sh-personas {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 32px 48px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sh-persona-btn {
  width: 100%;
  text-align: left;
  padding: 22px 28px;
  border: 1px solid rgba(227, 172, 23, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  font-style: normal;
  line-height: 1.45;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s var(--ease-out);
}

.sh-persona-btn:hover,
.sh-persona-btn.is-active {
  border-color: var(--gold-border-h);
  background: var(--gold-dim);
  transform: translateX(4px);
}

.sh-persona-btn.is-active {
  border-color: var(--gold);
  box-shadow: 0 0 24px rgba(227, 172, 23, 0.15);
}

/* ─── PERSONA TIERS: three weights of one decision ───────── */
/* Tier 2 — Leak Finder: own-data path, distinct warm left edge */
.sh-persona-btn--diagnose {
  border-left: 2px solid rgba(245, 158, 11, 0.45);
}

.sh-persona-btn--diagnose:hover,
.sh-persona-btn--diagnose.is-active {
  border-left-color: #f59e0b;
}

/* Quiet divider that sets the low-commitment option apart */
.sh-personas-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 10px 2px 2px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.sh-personas-divider::before,
.sh-personas-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(227, 172, 23, 0.28), transparent);
}

/* Tier 3 — Just Released: full weight, distinct as the fresh/live option */
.sh-persona-btn--watch {
  border-color: var(--gold-border);
  background: rgba(227, 172, 23, 0.05);
}

.sh-persona-btn--watch .sh-persona-text::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  margin-right: 12px;
  vertical-align: middle;
  box-shadow: 0 0 8px rgba(227, 172, 23, 0.6);
  animation: shLivePulse 2s ease-in-out infinite;
}

.sh-persona-btn--watch:hover,
.sh-persona-btn--watch.is-active {
  border-color: var(--gold);
  background: rgba(227, 172, 23, 0.1);
}

.sh-scheme-c .sh-doors { padding-top: 48px; }

.sh-scheme-c .sh-door:not(.is-highlighted) {
  opacity: 0.72;
}

/* ─── SCHEME D: Cinematic ──────────────────────────────────── */
.sh-hero-cinematic {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.sh-hero-cinematic-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.sh-hero-cinematic-bg video,
.sh-hero-cinematic-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sh-hero-cinematic-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 15, 30, 0.55) 0%,
    rgba(10, 15, 30, 0.72) 50%,
    rgba(10, 15, 30, 0.88) 100%
  );
  z-index: 1;
}

.sh-hero-cinematic-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  padding: 48px 32px 64px;
  text-align: center;
}

.sh-hero-cinematic .sh-hero-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  animation: fadeUp 0.8s var(--ease-out) 0.2s both;
}

.sh-hero-cinematic .sh-hero-headline {
  font-size: clamp(2.2rem, 6vw, 4rem);
  animation: fadeUp 0.8s var(--ease-out) 0.35s both;
}

.sh-hero-cinematic .sh-hero-tagline {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-top: 16px;
  animation: fadeUp 0.8s var(--ease-out) 0.5s both;
}

.sh-scheme-d .sh-doors {
  padding-top: 0;
  margin-top: -20px;
}

.sh-scheme-d .sh-doors-grid {
  animation: fadeUp 0.9s var(--ease-out) 0.65s both;
}

.sh-scheme-d .sh-door {
  background: rgba(10, 15, 30, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.sh-sound-toggle {
  position: fixed;
  top: calc(var(--nav-h) + 12px);
  right: 24px;
  z-index: calc(var(--z-nav) + 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--gold-border);
  border-radius: 8px;
  background: rgba(10, 15, 30, 0.75);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.sh-sound-toggle:hover,
.sh-sound-toggle.is-on {
  border-color: var(--gold-border-h);
  color: var(--gold);
}

.sh-hero-cinematic.is-scrolled-past .sh-hero-cinematic-bg {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.sh-scheme-d .sh-testimonials,
.sh-scheme-d .sh-cta,
[class*="sh-scheme-e"] .sh-testimonials,
[class*="sh-scheme-e"] .sh-cta {
  background: var(--bg);
}

/* ─── E HYBRIDS: shared cinematic + persona ──────────────── */
[class*="sh-scheme-e"] .sh-personas {
  max-width: 720px;
  margin: 32px auto 0;
  padding: 0;
}

[class*="sh-scheme-e"] .sh-persona-btn {
  background: rgba(10, 15, 30, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Watch tier carries a subtle gold tint on the cinematic schemes */
[class*="sh-scheme-e"] .sh-persona-btn--watch {
  background: rgba(227, 172, 23, 0.08);
}

[class*="sh-scheme-e"] .sh-persona-btn--watch:hover,
[class*="sh-scheme-e"] .sh-persona-btn--watch.is-active {
  background: rgba(227, 172, 23, 0.13);
}

[class*="sh-scheme-e"] .sh-hero-cinematic.is-dimmed .sh-hero-cinematic-overlay {
  background: linear-gradient(
    180deg,
    rgba(10, 15, 30, 0.78) 0%,
    rgba(10, 15, 30, 0.92) 50%,
    rgba(10, 15, 30, 0.96) 100%
  );
}

.sh-doors-e-reveal {
  opacity: 0.55;
  transition: opacity 0.4s ease;
}

.sh-doors-e-reveal.is-active {
  opacity: 1;
}

.sh-doors-e-label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.sh-doors-e-reveal .sh-door:not(.is-highlighted) {
  opacity: 0.65;
}

/* E1 — Overlay Reveal */
.sh-hero-e1 .sh-hero-cinematic-content {
  padding-bottom: 48px;
}

.sh-e1-reveal {
  margin-top: 28px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeUp 0.5s var(--ease-out) both;
}

.sh-e1-reveal[hidden] { display: none; }

.sh-e1-reveal-item[hidden] { display: none; }

.sh-e1-reveal .sh-door {
  background: rgba(10, 15, 30, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* E2 — Split Screen */
.sh-hero-e2 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: calc(100vh - var(--nav-h));
  align-items: stretch;
  transition: grid-template-columns 0.45s var(--ease-out);
}

/* Video focus — center player, dim typewriter behind */
.sh-hero-e2.is-video-focus {
  position: relative;
  display: block;
}

.sh-hero-e2.is-video-focus .sh-split-visual {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0.14;
  filter: blur(2px);
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.45s ease, filter 0.45s ease;
}

.sh-hero-e2.is-video-focus .sh-split-panel {
  position: relative;
  z-index: 2;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 32px;
  border: none;
}

.sh-hero-e2.is-video-focus .sh-split-panel .sh-hero-label,
.sh-hero-e2.is-video-focus .sh-split-panel .sh-hero-headline,
.sh-hero-e2.is-video-focus .sh-split-panel .sh-hero-tagline,
.sh-hero-e2.is-video-focus .sh-split-panel .sh-personas {
  opacity: 0;
  max-height: 0;
  margin: 0;
  overflow: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, max-height 0.35s ease, margin 0.35s ease;
}

.sh-hero-e2.is-video-focus .sh-e2-preview {
  width: 100%;
  max-width: min(96vw, 1100px);
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.sh-hero-e2.is-preframe-active .sh-split-visual {
  opacity: 0.08;
  filter: blur(3px);
}

.sh-hero-e2.is-video-focus .sh-e2-preview-item:not([hidden]) {
  width: 100%;
}

.sh-split-video,
.sh-split-visual {
  position: relative;
  overflow: hidden;
  min-height: 420px;
}

.sh-split-video .sh-hero-cinematic-bg,
.sh-split-video .sh-hero-cinematic-overlay {
  position: absolute;
  inset: 0;
}

/* E2 — Cinematic System Build */
.sh-system-build,
.sh-system-map {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #0c0a06 0%, #0f110d 35%, #080c14 70%, #060d1a 100%);
  transition: background 1s ease;
}

/* Warm gold overlay — fades in on persona select */
.sh-system-build::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 35% 55%,
    rgba(227, 172, 23, 0.07) 0%,
    transparent 70%);
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
  z-index: 0;
}

.sh-system-build.is-spotlit::after {
  opacity: 1;
}

.sh-system-map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(227, 172, 23, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(227, 172, 23, 0.035) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 90% 80% at 40% 50%, black 15%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 40% 50%, black 15%, transparent 80%);
}

.sh-build-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 24px;
  padding: 40px 40px 48px;
  max-width: 420px;
  margin: 0 auto;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.sh-build-stage {
  flex-shrink: 0;
}

.sh-build-eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 20px;
  animation: fadeUp 0.6s var(--ease-out) both;
}

.sh-build-headline {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
  min-height: 1.35em;
}

.sh-build-headline.is-typing::after {
  content: '';
  display: inline-block;
  width: 2px;
  height: 0.85em;
  background: var(--gold);
  margin-left: 3px;
  vertical-align: -0.08em;
  animation: sh-cursor-blink 0.9s step-end infinite;
}

@keyframes sh-cursor-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.sh-build-sub {
  margin-top: 14px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.sh-build-sub.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Progress track with embedded timeline ───────────────── */
.sh-build-progress-wrap {
  flex-shrink: 0;
}

.sh-build-progress-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.sh-build-progress-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  transition: color 0.5s ease;
}

.sh-build-progress-pct {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gold-muted);
  transition: color 0.5s ease, text-shadow 0.5s ease;
}

.sh-build-progress-wrap.is-near-complete .sh-build-progress-label {
  color: var(--gold-muted);
}

.sh-build-progress-wrap.is-near-complete .sh-build-progress-pct {
  color: var(--gold);
}

.sh-build-progress-wrap.is-complete .sh-build-progress-label,
.sh-build-progress-wrap.is-complete .sh-build-progress-pct {
  color: #f0c035;
}

.sh-build-progress-wrap.is-complete .sh-build-progress-pct {
  text-shadow: 0 0 12px rgba(227, 172, 23, 0.45);
}

.sh-build-progress {
  position: relative;
  padding: 18px 0 22px;
}

.sh-build-progress-rail {
  position: relative;
  height: 6px;
  background: rgba(227, 172, 23, 0.1);
  border-radius: 100px;
  overflow: visible;
  border: 1px solid rgba(227, 172, 23, 0.08);
}

.sh-build-progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, rgba(227, 172, 23, 0.45), var(--gold));
  border-radius: 100px;
  transition: width 0.8s var(--ease-out);
  box-shadow: 0 0 14px rgba(227, 172, 23, 0.2);
  z-index: 1;
}

.sh-build-progress-milestone,
.sh-build-progress-goal {
  position: absolute;
  top: 50%;
  left: var(--milestone-pos);
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  pointer-events: none;
}

.sh-build-progress-tick {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(10, 15, 30, 0.9);
  border: 1.5px solid rgba(227, 172, 23, 0.28);
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s var(--ease-out);
}

.sh-build-progress-journey {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  line-height: 1.55;
  color: var(--text-faint);
  min-height: 1.55em;
  transition: color 0.4s ease;
}

.sh-journey-step {
  transition: color 0.4s ease;
}

.sh-journey-step.is-passed {
  color: rgba(227, 172, 23, 0.45);
}

.sh-journey-step.is-current {
  color: var(--gold);
  font-weight: 600;
}

.sh-journey-step.is-complete {
  color: #f0c035;
  font-weight: 600;
}

.sh-journey-arrow {
  color: rgba(255, 255, 255, 0.2);
}

.sh-build-progress-wrap.is-complete .sh-build-progress-journey,
.sh-build-progress-wrap.is-near-complete .sh-build-progress-journey {
  color: rgba(227, 172, 23, 0.65);
}

.sh-build-progress-milestone.is-active .sh-build-progress-tick {
  background: rgba(227, 172, 23, 0.2);
  border-color: var(--gold);
  box-shadow: 0 0 10px rgba(227, 172, 23, 0.45);
  transform: scale(1.15);
}

.sh-build-progress-milestone.is-passed .sh-build-progress-tick {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 8px rgba(227, 172, 23, 0.35);
}

.sh-build-progress-goal-mark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(10, 15, 30, 0.95);
  border: 1.5px solid rgba(227, 172, 23, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease, transform 0.5s var(--ease-out);
}

.sh-build-progress-goal-mark svg {
  width: 11px;
  height: 11px;
  fill: rgba(227, 172, 23, 0.35);
  transition: fill 0.5s ease;
}

.sh-build-progress-goal.is-reached .sh-build-progress-goal-mark {
  background: rgba(227, 172, 23, 0.18);
  border-color: #f0c035;
  box-shadow: 0 0 16px rgba(227, 172, 23, 0.55);
  transform: scale(1.1);
  animation: sh-goal-pulse 1.4s ease-in-out infinite alternate;
}

.sh-build-progress-goal.is-reached .sh-build-progress-goal-mark svg {
  fill: #f0c035;
}

@keyframes sh-goal-pulse {
  from { box-shadow: 0 0 10px rgba(227, 172, 23, 0.35); }
  to   { box-shadow: 0 0 20px rgba(227, 172, 23, 0.65); }
}

.sh-build-progress-goal-text {
  margin: 4px 0 0;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(227, 172, 23, 0.35);
  text-align: right;
  transition: color 0.5s ease;
}

.sh-build-progress-wrap.is-near-complete .sh-build-progress-goal-text {
  color: rgba(227, 172, 23, 0.55);
}

.sh-build-progress-wrap.is-complete .sh-build-progress-goal-text {
  color: #f0c035;
}

.sh-build-timeline {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}

/* ── Eyebrow pulse dot ─────────────────────────────────── */
.sh-build-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sh-build-eyebrow-dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(227, 172, 23, 0.6);
  animation: sh-dot-ping 1.8s ease-out infinite;
}

.sh-build-eyebrow.is-complete .sh-build-eyebrow-dot {
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
  animation: sh-dot-ping-green 1.8s ease-out infinite;
}

@keyframes sh-dot-ping {
  0%   { box-shadow: 0 0 0 0 rgba(227, 172, 23, 0.6); }
  70%  { box-shadow: 0 0 0 8px rgba(227, 172, 23, 0); }
  100% { box-shadow: 0 0 0 0 rgba(227, 172, 23, 0); }
}

@keyframes sh-dot-ping-green {
  0%   { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); }
  70%  { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

/* ── Phase rows ────────────────────────────────────────── */
.sh-build-phase {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 8px 8px 8px 4px;
  border-radius: 8px;
  opacity: 0.25;
  transition:
    opacity 0.5s ease,
    background 0.5s ease,
    transform 0.45s var(--ease-out),
    box-shadow 0.5s ease,
    padding-left 0.4s var(--ease-out);
}

.sh-build-phase.is-built {
  opacity: 0.6;
}

.sh-build-phase.is-active {
  opacity: 1;
}

/* ── SVG Checkbox ──────────────────────────────────────── */
.sh-phase-check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  overflow: visible;
}

.sh-check-box {
  fill: none;
  stroke: rgba(227, 172, 23, 0.22);
  stroke-width: 1.5;
  transition: stroke 0.35s ease, fill 0.35s ease;
}

.sh-check-mark {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 15;
  stroke-dashoffset: 15;
  transition: stroke-dashoffset 0.42s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Active — box glows, mark not yet drawn */
.sh-build-phase.is-active .sh-check-box {
  stroke: var(--gold);
  fill: rgba(227, 172, 23, 0.06);
  filter: drop-shadow(0 0 4px rgba(227, 172, 23, 0.4));
}

/* Checked — draw the checkmark */
.sh-build-phase.is-checked .sh-check-box {
  stroke: var(--gold);
  fill: rgba(227, 172, 23, 0.12);
}

.sh-build-phase.is-checked .sh-check-mark {
  stroke-dashoffset: 0;
}

/* Complete — all checks pulse gold */
.sh-system-build.is-complete .sh-build-phase.is-checked .sh-check-box {
  fill: rgba(227, 172, 23, 0.2);
  animation: sh-check-pulse 1.2s ease-in-out infinite alternate;
}

@keyframes sh-check-pulse {
  from { fill: rgba(227, 172, 23, 0.1); }
  to   { fill: rgba(227, 172, 23, 0.28); }
}

/* ── Spotlight state ───────────────────────────────────── */
.sh-system-build.is-spotlit .sh-build-phase:not(.is-active):not(.is-checked) {
  opacity: 0.08;
}

.sh-system-build.is-spotlit .sh-build-phase.is-checked:not(.is-active) {
  opacity: 0.45;
}

.sh-system-build.is-spotlit .sh-build-phase.is-active {
  opacity: 1;
  background: rgba(227, 172, 23, 0.06);
  transform: translateX(4px);
  box-shadow: inset 2px 0 0 var(--gold);
  padding-left: 16px;
}

/* ── Complete banner ───────────────────────────────────── */
.sh-build-complete-state {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  animation: sh-complete-in 0.6s var(--ease-out) both;
}

.sh-build-complete-state[hidden] {
  display: none;
}

@keyframes sh-complete-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.sh-build-complete-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  background: rgba(227, 172, 23, 0.1);
  border: 1px solid rgba(227, 172, 23, 0.35);
  border-radius: 100px;
  width: fit-content;
}

.sh-build-complete-badge svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.sh-build-complete-badge .sh-check-box {
  stroke: var(--gold);
  fill: rgba(227, 172, 23, 0.15);
}

.sh-build-complete-badge .sh-check-mark {
  stroke-dashoffset: 0;
}

.sh-build-complete-badge span {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

.sh-build-complete-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 0;
}

/* Complete state — container glow */
.sh-system-build {
  transition: box-shadow 1s ease;
}

.sh-system-build.is-complete {
  box-shadow: inset 0 0 80px rgba(227, 172, 23, 0.08), 0 0 0 1px rgba(227, 172, 23, 0.12);
}

.sh-system-build.is-complete::after {
  opacity: 1;
}

.sh-system-build.is-complete .sh-build-progress-fill {
  background: linear-gradient(90deg, rgba(227, 172, 23, 0.6), #f0c035);
  box-shadow: 0 0 14px rgba(227, 172, 23, 0.55);
}

/* ── Phase text ────────────────────────────────────────── */
.sh-build-phase-title {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  transition: color 0.4s ease;
}

.sh-build-phase.is-active .sh-build-phase-title,
.sh-build-phase.is-checked .sh-build-phase-title {
  color: var(--gold);
}

.sh-build-phase-steps {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s var(--ease-out), opacity 0.4s ease, margin 0.4s ease;
}

.sh-build-phase.is-active .sh-build-phase-steps {
  max-height: 120px;
  opacity: 1;
  margin-top: 8px;
}

.sh-build-phase-steps li {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  padding: 2px 0;
  animation: fadeUp 0.4s var(--ease-out) both;
  animation-delay: calc(var(--phase-i, 0) * 0.05s);
}

.sh-build-phase-steps li::before {
  content: '→ ';
  color: var(--gold-muted);
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

.sh-build-phase-stat {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.5s ease 0.2s, transform 0.5s var(--ease-out) 0.2s;
}

.sh-build-phase.is-active .sh-build-phase-stat {
  opacity: 0.85;
  transform: translateY(0);
}

/* Spotlight: stat gets brighter */
.sh-system-build.is-spotlit .sh-build-phase.is-active .sh-build-phase-stat {
  opacity: 1;
  color: #f0c035;
}

.sh-split-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 40px;
  background: var(--bg);
  border-left: 1px solid rgba(227, 172, 23, 0.08);
  text-align: left;
}

.sh-split-panel .sh-hero-label,
.sh-split-panel .sh-hero-headline,
.sh-split-panel .sh-hero-tagline {
  text-align: left;
  animation: fadeUp 0.6s var(--ease-out) both;
}

.sh-split-panel .sh-hero-headline {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

.sh-hero-e2 .sh-personas {
  margin: 24px 0 0;
  max-width: none;
}

.sh-e2-preview {
  margin-top: 24px;
  min-height: 120px;
}

.sh-e2-preview-hint {
  font-size: 0.875rem;
  color: var(--text-faint);
  font-style: italic;
}

.sh-e2-preview-hint.is-hidden { display: none; }

.sh-e2-preview-item[hidden] { display: none; }

.sh-e2-preview-item .sh-door,
.sh-e2-preview-item .sh-e2-video-player {
  animation: fadeUp 0.45s var(--ease-out) both;
}

/* E2 — Sarah cinema + typewriter preframe */
.sh-e2-cinema {
  position: relative;
  width: 100%;
  min-height: 0;
}

.sh-e2-preframe {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 210;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 28px calc(24px + env(safe-area-inset-bottom));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s var(--ease-out);
}

.sh-e2-preframe.is-active {
  opacity: 1;
  pointer-events: auto;
}

.sh-e2-preframe.is-exiting {
  opacity: 0;
  transition-duration: 0.55s;
}

.sh-e2-preframe[hidden] {
  display: none;
}

.sh-e2-preframe-veil {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 70% at 50% 42%, rgba(8, 12, 24, 0.55) 0%, rgba(5, 8, 16, 0.94) 72%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.sh-e2-preframe-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  text-align: center;
}

.sh-e2-preframe-line {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.4vw, 2rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.88);
  min-height: 2.8em;
  margin: 0;
  transition: color 0.4s ease, transform 0.4s var(--ease-out);
}

.sh-e2-preframe-line.is-meet {
  color: var(--gold);
  font-size: clamp(1.65rem, 4.2vw, 2.45rem);
  font-weight: 600;
  transform: scale(1.02);
}

.sh-e2-preframe-line.is-typing::after {
  content: '';
  display: inline-block;
  width: 2px;
  height: 0.82em;
  background: var(--gold);
  margin-left: 3px;
  vertical-align: -0.08em;
  animation: sh-cursor-blink 0.9s step-end infinite;
}

.sh-e2-video-player.is-intro-pending {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(0.97) translateY(10px);
}

.sh-e2-video-player.is-revealed {
  animation: sh-e2-card-in 1.05s var(--ease-out) both;
}

.sh-e2-video-player.is-awaiting-tap {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
  transform: none;
  cursor: pointer;
}

.sh-e2-video-player.is-awaiting-tap .sh-e2-cinema-ambience,
.sh-e2-video-player.is-awaiting-tap .sh-e2-sarah-quote {
  opacity: 0;
}

.sh-e2-video-player.is-awaiting-tap .sh-e2-video-play {
  pointer-events: auto;
}

/* Post-typewriter — slow fade into playing video */
.sh-e2-video-player.is-movie-handoff {
  animation: sh-e2-movie-shell-in 0.9s ease both;
}

.sh-e2-video-player.is-movie-handoff.is-revealed .sh-e2-sarah-quote,
.sh-e2-video-player.is-movie-handoff.is-revealed .sh-e2-cinema-ambience {
  opacity: 0;
  transition: opacity 0.35s ease;
}

.sh-e2-video-stage.is-movie-handoff {
  background: #050810;
}

.sh-e2-video-stage.is-movie-handoff .sh-e2-video-play {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.sh-e2-video-stage.is-movie-handoff .sh-e2-video {
  opacity: 0;
  transition: opacity 1.65s ease-in;
}

.sh-e2-video-stage.is-movie-handoff.is-movie-visible .sh-e2-video {
  opacity: 1;
}

@keyframes sh-e2-movie-shell-in {
  0% {
    opacity: 0;
    transform: scale(0.98);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes sh-e2-card-in {
  0% {
    opacity: 0;
    transform: scale(0.96) translateY(14px);
    visibility: hidden;
  }
  18% {
    visibility: visible;
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
    visibility: visible;
  }
}

.sh-e2-cinema-ambience {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.1s ease;
}

.sh-e2-video-player.is-revealed .sh-e2-cinema-ambience {
  opacity: 1;
}

.sh-e2-amber-lamp {
  position: absolute;
  top: -8%;
  left: -6%;
  width: 72%;
  height: 58%;
  background: radial-gradient(ellipse 70% 80% at 28% 22%, rgba(227, 172, 23, 0.28) 0%, rgba(227, 172, 23, 0.08) 38%, transparent 72%);
  filter: blur(2px);
  animation: sh-amber-breathe 4.5s ease-in-out infinite;
}

.sh-e2-phone-glow {
  position: absolute;
  top: 14%;
  left: 50%;
  width: 58%;
  height: 48%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse 55% 65% at 50% 50%, rgba(140, 190, 255, 0.14) 0%, rgba(227, 172, 23, 0.06) 42%, transparent 72%);
  animation: sh-phone-glow 3.2s ease-in-out infinite;
}

@keyframes sh-amber-breathe {
  0%, 100% { opacity: 0.85; }
  50%      { opacity: 1; }
}

@keyframes sh-phone-glow {
  0%, 100% { opacity: 0.55; transform: translateX(-50%) scale(1); }
  50%      { opacity: 1; transform: translateX(-50%) scale(1.04); }
}

.sh-e2-sarah-quote {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 14px 22px 6px;
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2.2vw, 1.08rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.7s ease 0.35s, transform 0.7s var(--ease-out) 0.35s, color 0.3s ease;
}

.sh-e2-video-player.is-revealed .sh-e2-sarah-quote {
  opacity: 1;
  transform: translateY(0);
}

.sh-e2-video-stage.is-playing ~ .sh-e2-sarah-quote {
  opacity: 0.45;
}

/* E2 — inline Sarah preview */
.sh-e2-video-player {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(227, 172, 23, 0.14);
  border-radius: 14px;
  overflow: hidden;
}

.sh-e2-video-player.is-focused {
  position: relative;
  width: 100%;
  max-width: min(96vw, 1100px);
  margin: 0 auto;
  border-color: rgba(227, 172, 23, 0.32);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: visible;
}

.sh-e2-video-player.is-focused .sh-e2-video-stage {
  position: relative;
  z-index: 1;
  flex: 1;
  aspect-ratio: auto;
  min-height: 75vh;
  max-height: 75vh;
  background: #050810;
}

.sh-e2-video-player.is-focused .sh-e2-cinema-footer {
  flex-shrink: 0;
  padding: 14px 14px calc(22px + env(safe-area-inset-bottom, 0px));
}

.sh-e2-video-player.is-focused:has(#sh-e2-continue-cta:not([hidden])) .sh-e2-video-stage {
  max-height: calc(75vh - 128px);
  min-height: min(58vh, 500px);
}

.sh-e2-video-player.is-focused:has(#sh-e2-continue-cta:not([hidden])) .sh-e2-cinema-footer {
  padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px));
}

.sh-e2-video-player.is-focused .sh-e2-video,
.sh-e2-video-stage.is-playing .sh-e2-video {
  object-fit: contain;
  object-position: center center;
}

.sh-e2-video-player.is-focused .sh-e2-video-body {
  display: none;
}

.sh-e2-back-btn {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px 8px 10px;
  border: 1px solid rgba(227, 172, 23, 0.3);
  border-radius: 100px;
  background: rgba(10, 15, 30, 0.92);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.sh-e2-back-btn[hidden] {
  display: none;
}

.sh-e2-back-btn svg {
  width: 14px;
  height: 14px;
}

.sh-e2-back-btn:hover {
  color: var(--gold);
  border-color: rgba(227, 172, 23, 0.5);
}

.sh-e2-cinema-footer {
  flex-shrink: 0;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* True device fullscreen (expand button, mobile) */
.sh-e2-video-player.is-expanded {
  position: fixed;
  inset: 0;
  z-index: 9000;
  border-radius: 0;
  border: none;
  background: #050810;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

.sh-e2-video-player.is-expanded .sh-e2-video-stage {
  flex: 1;
  aspect-ratio: auto;
  min-height: 0;
  max-height: none;
}

.sh-e2-video-player.is-expanded .sh-e2-video-body {
  display: none;
}

.sh-e2-video-player.is-expanded .sh-e2-cinema-footer,
.sh-e2-video-player.is-expanded .sh-e2-systems-cta {
  flex-shrink: 0;
}

.sh-e2-video-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bg-2);
  overflow: hidden;
}

.sh-e2-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #060d1a;
}

.sh-e2-video-play {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  background: linear-gradient(180deg, rgba(6, 13, 26, 0.15) 0%, rgba(6, 13, 26, 0.55) 100%);
  color: var(--text);
  cursor: pointer;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.sh-e2-video-stage.is-playing .sh-e2-video-play {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.sh-e2-video-play-ring {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid rgba(227, 172, 23, 0.55);
  background: rgba(10, 15, 30, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 32px rgba(227, 172, 23, 0.25);
  transition: transform 0.3s var(--ease-out), border-color 0.3s ease;
}

.sh-e2-video-play-ring svg {
  width: 22px;
  height: 22px;
  margin-left: 3px;
  color: var(--gold);
}

.sh-e2-video-play:hover .sh-e2-video-play-ring {
  transform: scale(1.06);
  border-color: var(--gold);
}

.sh-e2-video-play-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-muted);
}

.sh-e2-video-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(227, 172, 23, 0.15);
  z-index: 5;
}

.sh-e2-video-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, rgba(227, 172, 23, 0.5), var(--gold));
  transition: width 0.15s linear;
}

.sh-e2-pause-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 13, 26, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.sh-e2-pause-overlay[hidden] {
  display: none;
}

.sh-e2-video-play--resume {
  position: static;
  inset: auto;
  background: transparent;
  width: auto;
  height: auto;
}

.sh-e2-video-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px 14px;
  background: linear-gradient(to top, rgba(6, 13, 26, 0.94) 0%, rgba(6, 13, 26, 0.6) 72%, transparent 100%);
}

.sh-e2-video-controls[hidden] {
  display: none;
}

.sh-e2-ctrl-main {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid rgba(227, 172, 23, 0.35);
  border-radius: 100px;
  background: rgba(10, 15, 30, 0.9);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.sh-e2-ctrl-main:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.sh-e2-ctrl-icon {
  display: inline-flex;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.sh-e2-ctrl-icon svg {
  width: 14px;
  height: 14px;
  color: var(--gold);
}

.sh-e2-ctrl-icon-play,
.sh-e2-ctrl-label-play {
  display: none;
}

.sh-e2-ctrl-main.is-paused .sh-e2-ctrl-icon-pause,
.sh-e2-ctrl-main.is-paused .sh-e2-ctrl-label-pause {
  display: none;
}

.sh-e2-ctrl-main.is-paused .sh-e2-ctrl-icon-play,
.sh-e2-ctrl-main.is-paused .sh-e2-ctrl-label-play {
  display: inline-flex;
}

.sh-e2-ctrl-main.is-paused .sh-e2-ctrl-label-play {
  display: inline;
}

.sh-e2-ctrl-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.sh-e2-sound-wrap {
  position: relative;
}

.sh-e2-sound-hint {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  min-width: 168px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(227, 172, 23, 0.45);
  background: rgba(10, 15, 30, 0.96);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.42);
  pointer-events: none;
  animation: sh-e2-sound-hint-in 0.45s var(--ease-out) both;
}

.sh-e2-sound-hint[hidden] {
  display: none;
}

.sh-e2-sound-hint-text {
  font-family: var(--font-body);
  font-size: 0.78rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.88);
  text-align: right;
}

.sh-e2-sound-hint-text strong {
  color: var(--gold);
  font-weight: 600;
}

.sh-e2-sound-hint-arrow {
  display: block;
  width: 12px;
  height: 12px;
  margin-right: 18px;
  background: rgba(10, 15, 30, 0.96);
  border-right: 1px solid rgba(227, 172, 23, 0.45);
  border-bottom: 1px solid rgba(227, 172, 23, 0.45);
  transform: rotate(45deg);
  animation: sh-e2-sound-hint-bounce 1.6s ease-in-out 0.5s infinite;
}

.sh-e2-ctrl-sound.is-hinted {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 0 3px rgba(227, 172, 23, 0.22);
  animation: sh-e2-sound-btn-pulse 1.4s ease-in-out infinite;
}

@keyframes sh-e2-sound-hint-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sh-e2-sound-hint-bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50%      { transform: rotate(45deg) translateY(4px); }
}

@keyframes sh-e2-sound-btn-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(227, 172, 23, 0.22); }
  50%      { box-shadow: 0 0 0 6px rgba(227, 172, 23, 0.12); }
}

.sh-e2-ctrl-sound {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid rgba(227, 172, 23, 0.35);
  border-radius: 100px;
  background: rgba(10, 15, 30, 0.9);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.sh-e2-ctrl-sound:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.sh-e2-ctrl-sound.is-muted {
  color: var(--text-muted);
}

.sh-e2-ctrl-icon-sound-off {
  display: none;
}

.sh-e2-ctrl-sound.is-muted .sh-e2-ctrl-icon-sound-on {
  display: none;
}

.sh-e2-ctrl-sound.is-muted .sh-e2-ctrl-icon-sound-off {
  display: inline-flex;
}

.sh-e2-ctrl-expand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 8px;
  border: 1px solid rgba(227, 172, 23, 0.25);
  border-radius: 50%;
  background: rgba(10, 15, 30, 0.9);
  color: var(--text-muted);
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.sh-e2-ctrl-expand:hover {
  color: var(--gold);
  border-color: rgba(227, 172, 23, 0.45);
}

.sh-e2-ctrl-expand svg {
  width: 16px;
  height: 16px;
}

.sh-e2-ctrl-expand[hidden] {
  display: none;
}

.sh-e2-video-body {
  padding: 18px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sh-e2-video-title {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-muted);
}

.sh-e2-video-label {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.25;
}

.sh-e2-video-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.sh-e2-video-quote {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ITP-matched Part II CTA */
.sh-e2-systems-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin: 0;
  padding: 18px 20px;
  border-radius: 12px;
  border: 1px solid rgba(227, 172, 23, 0.35);
  background: linear-gradient(135deg, rgba(227, 172, 23, 0.12) 0%, rgba(10, 15, 30, 0.9) 100%);
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.38);
  transition: transform 0.3s var(--ease-out), border-color 0.3s ease, box-shadow 0.3s ease;
  animation: sh-e2-cta-in 0.5s var(--ease-out) both;
}

.sh-e2-systems-cta[hidden] { display: none; }

.sh-e2-systems-cta:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: 0 12px 32px rgba(227, 172, 23, 0.2);
}

.sh-e2-systems-cta-eyebrow {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-muted);
}

.sh-e2-systems-cta-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1.3;
}

.sh-e2-systems-cta-label svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.sh-e2-systems-cta-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

@keyframes sh-e2-cta-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.sh-scheme-e2 .sh-cta {
  padding-top: 48px;
  border-top: 1px solid rgba(227, 172, 23, 0.06);
}

.sh-scheme-e2 main {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  flex-direction: column;
}

.sh-scheme-e2 .sh-hero-e2 {
  flex: 1;
}

.sh-scheme-e2 .sh-cta {
  flex-shrink: 0;
  margin-top: auto;
}

/* E3 — Accordion */
.sh-hero-e3 .sh-personas--accordion {
  max-width: 680px;
  gap: 10px;
}

.sh-persona-wrap {
  border: 1px solid rgba(227, 172, 23, 0.14);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(10, 15, 30, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.sh-persona-wrap.is-open {
  border-color: var(--gold);
  box-shadow: 0 0 28px rgba(227, 172, 23, 0.18);
}

.sh-persona-wrap .sh-persona-btn {
  width: 100%;
  border: none;
  border-radius: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transform: none;
}

.sh-persona-wrap .sh-persona-btn:hover {
  transform: none;
  background: var(--gold-dim);
}

.sh-persona-chevron {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-muted);
  transition: transform 0.3s var(--ease-out);
}

.sh-persona-chevron svg { width: 16px; height: 16px; }

.sh-persona-wrap.is-open .sh-persona-chevron {
  transform: rotate(180deg);
  color: var(--gold);
}

.sh-persona-reveal {
  padding: 0 12px 12px;
  animation: fadeUp 0.4s var(--ease-out) both;
}

.sh-persona-reveal[hidden] { display: none; }

.sh-persona-reveal .sh-door {
  border: none;
  background: rgba(255, 255, 255, 0.04);
}

/* E4 — Spotlight */
.sh-hero-e4-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: calc(100vh - var(--nav-h) - 96px);
  padding-top: 56px;
  padding-bottom: 32px;
}

.sh-e4-top {
  flex-shrink: 0;
}

.sh-e4-spotlight {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 0;
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
}

.sh-e4-spotlight[hidden] { display: none; }

.sh-e4-spotlight:not([hidden]) {
  animation: fadeUp 0.55s var(--ease-out) both;
}

.sh-e4-spotlight-item[hidden] { display: none; }

.sh-e4-spotlight .sh-door--hero {
  width: 100%;
  background: rgba(10, 15, 30, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: var(--gold-border-h);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.sh-personas--row {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 100%;
  margin-top: auto;
}

.sh-personas--row .sh-persona-btn {
  flex: 1 1 240px;
  max-width: 340px;
  text-align: center;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  padding: 18px 20px;
}

.sh-doors-e4-alt .sh-doors-grid--compact {
  grid-template-columns: repeat(2, 1fr);
  max-width: 800px;
  margin: 0 auto;
}

.sh-doors-e4-alt .sh-door.is-hidden-alt {
  display: none;
}

/* E picker index */
.sh-e-picker-grid {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 32px 80px;
  display: grid;
  gap: 16px;
}

.sh-e-picker-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;
  gap: 4px 16px;
  padding: 24px 28px;
  border: 1px solid rgba(227, 172, 23, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  transition: transform 0.3s var(--ease-out), border-color 0.3s ease;
  align-items: center;
}

.sh-e-picker-card:hover {
  transform: translateX(6px);
  border-color: var(--gold-border-h);
}

.sh-e-picker-id {
  grid-row: 1 / 3;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--gold);
  writing-mode: vertical-lr;
  transform: rotate(180deg);
}

.sh-e-picker-label {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
}

.sh-e-picker-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.sh-e-picker-arrow {
  grid-row: 1 / 3;
  color: var(--gold);
  font-size: 1.2rem;
}

/* Scheme bars */
.sh-scheme-bar-divider {
  color: var(--text-faint);
  margin: 0 4px;
}

.sh-scheme-bar--e {
  flex-wrap: wrap;
  gap: 6px 8px;
}

.sh-scheme-bar-back {
  color: var(--text-muted);
}

/* ─── DIVIDER ────────────────────────────────────────────── */
.sh-divider {
  max-width: 1200px;
  margin: 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-border), transparent);
}

/* ─── TESTIMONIALS ───────────────────────────────────────── */
.sh-testimonials {
  position: relative;
  z-index: 1;
  padding: 64px 0 72px;
}

.sh-testimonials-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.sh-testimonials-heading {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 600;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text);
}

.sh-testimonials-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.sh-testimonial-card {
  text-align: left;
  border: 1px solid rgba(227, 172, 23, 0.14);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  transition: transform 0.3s var(--ease-out), border-color 0.3s ease;
}

.sh-testimonial-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-border-h);
}

.sh-testimonial-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.sh-testimonial-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.3s ease;
}

.sh-testimonial-card:hover .sh-testimonial-thumb img {
  filter: brightness(1.1);
}

.sh-testimonial-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 15, 30, 0.25);
  color: var(--gold);
  transition: background 0.3s ease;
}

.sh-testimonial-play svg {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

.sh-testimonial-card:hover .sh-testimonial-play {
  background: rgba(10, 15, 30, 0.1);
}

.sh-testimonial-meta {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.sh-testimonial-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}

.sh-testimonial-practice {
  font-size: 0.85rem;
  color: var(--gold);
}

.sh-testimonial-location {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ─── CTA ────────────────────────────────────────────────── */
.sh-cta {
  position: relative;
  z-index: 1;
  padding: 80px 32px 96px;
  text-align: center;
}

.sh-cta-inner {
  max-width: 640px;
  margin: 0 auto;
}

.sh-cta-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.sh-cta-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 20px;
}

.sh-cta-body {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.sh-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--gold);
  color: var(--text-navy);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 8px;
  transition: background 0.25s ease, transform 0.25s var(--ease-out), box-shadow 0.25s ease;
  box-shadow: 0 8px 32px rgba(227, 172, 23, 0.25);
}

.sh-cta-btn:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(227, 172, 23, 0.35);
}

.sh-cta-url {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  color: var(--text-faint);
}

/* ─── SUBSCRIBE (releases secondary CTA) ─────────────────── */
.sh-subscribe {
  position: relative;
  padding: 56px 32px 64px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.sh-subscribe-inner {
  max-width: 520px;
  margin: 0 auto;
}

.sh-subscribe-heading {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  font-weight: 600;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 12px;
}

.sh-subscribe-body {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 28px;
}

.sh-subscribe-form {
  width: 100%;
}

.sh-subscribe-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.sh-subscribe-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.sh-subscribe-input {
  flex: 1;
  min-width: 0;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
  -webkit-appearance: none;
}

.sh-subscribe-input::placeholder {
  color: var(--text-faint);
}

.sh-subscribe-input:focus {
  border-color: rgba(227, 172, 23, 0.45);
  background: rgba(255, 255, 255, 0.06);
}

.sh-subscribe-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  background: rgba(227, 172, 23, 0.12);
  border: 1px solid rgba(227, 172, 23, 0.35);
  border-radius: 8px;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s var(--ease-out);
}

.sh-subscribe-btn:hover {
  background: rgba(227, 172, 23, 0.2);
  border-color: rgba(227, 172, 23, 0.6);
  transform: translateY(-1px);
}

.sh-subscribe-btn:disabled {
  opacity: 0.5;
  pointer-events: none;
}

.sh-subscribe-error {
  margin-top: 10px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: #f87171;
  text-align: left;
}

.sh-subscribe-success {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.25);
  border-radius: 8px;
  color: #6ee7b7;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.sh-subscribe-micro {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--text-faint);
}

@media (max-width: 480px) {
  .sh-subscribe-row {
    flex-direction: column;
  }

  .sh-subscribe-btn {
    justify-content: center;
    padding: 14px 22px;
  }
}

/* ─── FOOTER ─────────────────────────────────────────────── */
.sh-footer {
  padding: 32px;
  text-align: center;
  border-top: 1px solid rgba(227, 172, 23, 0.06);
}

.sh-footer p {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--text-faint);
}

.sh-footer-legal {
  max-width: 640px;
  margin: 14px auto 0;
  font-family: var(--font-body) !important;
  font-size: 11px !important;
  letter-spacing: 0 !important;
  line-height: 1.55 !important;
  color: rgba(148, 163, 184, 0.75) !important;
}

.sh-footer-legal a {
  color: var(--gold-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sh-footer-legal a:hover {
  color: var(--gold);
}

/* ─── MODAL ──────────────────────────────────────────────── */
html.sh-scroll-locked,
body.sh-scroll-locked {
  overflow: hidden;
  height: 100%;
  overscroll-behavior: none;
}

body.sh-video-active .sh-cta,
body.sh-video-active .sh-scheme-e-bar {
  visibility: hidden;
  pointer-events: none;
}

.sh-modal[hidden] { display: none; }

.sh-modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.sh-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 10, 20, 0.88);
  backdrop-filter: blur(6px);
}

.sh-modal-panel {
  position: relative;
  width: 100%;
  max-width: 900px;
  background: var(--bg-2);
  border: 1px solid var(--gold-border);
  border-radius: 14px;
  overflow: hidden;
  animation: fadeUp 0.35s var(--ease-out) both;
}

.sh-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(10, 15, 30, 0.8);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.sh-modal-close:hover {
  background: var(--gold-dim);
  color: var(--gold);
}

.sh-modal-close svg { width: 18px; height: 18px; }

.sh-modal-title {
  padding: 20px 24px 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text);
}

.sh-modal-video-wrap {
  padding: 16px 24px 24px;
}

.sh-modal-video-wrap video {
  width: 100%;
  border-radius: 8px;
  background: #000;
}

/* ─── SCHEME DEV BAR (testing) ───────────────────────────── */
.sh-scheme-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(6, 10, 20, 0.92);
  border-top: 1px solid rgba(227, 172, 23, 0.12);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
}

.sh-scheme-bar span {
  color: var(--text-muted);
  margin-right: 8px;
}

.sh-scheme-bar a {
  padding: 4px 10px;
  border-radius: 4px;
  color: var(--text-muted);
  border: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.sh-scheme-bar a:hover { color: var(--gold); }

.sh-scheme-bar a.is-active {
  color: var(--gold);
  border-color: var(--gold-border);
  background: var(--gold-dim);
}

/* ─── MOBILE ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .sh-doors-grid,
  .sh-testimonials-strip {
    grid-template-columns: 1fr;
  }

  .sh-scheme-b .sh-doors-secondary {
    grid-template-columns: 1fr;
  }

  .sh-hero-e2 {
    grid-template-columns: 1fr;
    grid-template-rows: 38vh auto;
  }

  .sh-hero-e2.is-video-focus {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    display: block;
    grid-template-rows: none;
    min-height: 0;
    height: calc(100dvh - var(--nav-h));
    overflow: hidden;
  }

  .sh-hero-e2.is-video-focus .sh-split-visual {
    min-height: 0;
    height: 100%;
  }

  .sh-hero-e2.is-video-focus .sh-split-panel {
    padding: 10px 10px calc(28px + env(safe-area-inset-bottom, 0px));
    min-height: 0;
    height: 100%;
    justify-content: center;
  }

  .sh-hero-e2.is-video-focus .sh-e2-preview {
    max-width: none;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .sh-hero-e2.is-video-focus .sh-e2-preview-item:not([hidden]) {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .sh-e2-video-player.is-focused {
    flex: 1;
    max-width: none;
    min-height: 0;
    border-radius: 10px;
    padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
  }

  .sh-e2-video-player.is-focused .sh-e2-cinema-footer {
    padding: 12px 10px calc(32px + env(safe-area-inset-bottom, 0px));
  }

  .sh-e2-video-player.is-focused:has(#sh-e2-continue-cta:not([hidden])) .sh-e2-cinema-footer {
    padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px));
  }

  .sh-e2-systems-cta {
    padding: 18px 16px;
  }

  .sh-e2-cinema {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .sh-e2-preframe-line {
    font-size: clamp(1.2rem, 5.2vw, 1.65rem);
    min-height: 3.2em;
  }

  .sh-e2-preframe-line.is-meet {
    font-size: clamp(1.45rem, 6.4vw, 2rem);
  }

  .sh-e2-video-player.is-focused .sh-e2-video-stage {
    flex: 1;
    min-height: 0;
    max-height: none;
  }

  .sh-e2-sarah-quote {
    padding: 10px 14px 4px;
    font-size: 0.92rem;
  }

  .sh-e2-back-btn {
    top: 8px;
    left: 8px;
    min-height: 44px;
  }

  .sh-e2-ctrl-main,
  .sh-e2-ctrl-sound,
  .sh-e2-ctrl-expand {
    min-height: 44px;
    min-width: 44px;
  }

  .sh-e2-ctrl-sound .sh-e2-ctrl-label-sound {
    display: none;
  }

  .sh-e2-sound-hint {
    min-width: 148px;
    padding: 9px 10px;
    right: -4px;
  }

  .sh-e2-sound-hint-text {
    font-size: 0.72rem;
  }

  .sh-e2-video-controls {
    bottom: 16px;
    padding: 12px 10px 18px;
  }

  .sh-split-visual {
    min-height: 280px;
  }

  .sh-build-inner {
    padding: 32px 24px;
    max-width: none;
    gap: 20px;
  }

  .sh-build-headline {
    font-size: 1.5rem;
  }

  .sh-split-panel {
    border-left: none;
    border-top: 1px solid rgba(227, 172, 23, 0.08);
    padding: 32px 24px;
  }

  .sh-personas--row {
    flex-direction: column;
  }

  .sh-personas--row .sh-persona-btn {
    max-width: none;
  }

  .sh-doors-e4-alt .sh-doors-grid--compact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .sh-nav { padding: 0 16px; }
  .sh-nav-logo span { display: none; }
  .sh-nav-link { display: none; }

  .sh-nav-cta {
    padding: 8px 14px;
    font-size: 9px;
  }

  .sh-hero-inner,
  .sh-doors,
  .sh-testimonials-inner,
  .sh-personas {
    padding-left: 20px;
    padding-right: 20px;
  }

  .sh-scheme-b .sh-doors-hero,
  .sh-scheme-b .sh-doors-secondary,
  .sh-scheme-b .sh-doors-secondary-label {
    padding-left: 20px;
    padding-right: 20px;
  }

  .sh-door--hero .sh-door-thumb {
    aspect-ratio: 16 / 10;
  }

  .sh-testimonials-strip {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .sh-testimonial-card {
    flex: 0 0 85%;
    scroll-snap-align: start;
  }

  .sh-cta-btn {
    display: flex;
    width: 100%;
    justify-content: center;
  }

  .sh-hero-cinematic-bg video {
    display: none;
  }

  .sh-hero-cinematic-bg img {
    display: block;
  }

  .sh-scheme-bar {
    flex-wrap: wrap;
    font-size: 8px;
  }
}

@media (min-width: 769px) {
  .sh-hero-cinematic-bg img {
    display: none;
  }
}
