/* ─────────────────────────────────────────────────────────────
   INSIDE THE PRACTICE V3 — ENTRY SCREEN
   Nav · Entry section · Buttons · Background orbs
   ───────────────────────────────────────────────────────────── */

/* ─── NAVIGATION ─────────────────────────────────────────── */
.v3-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.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  animation: fadeIn 0.5s ease 0.05s forwards;
}

.v3-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;
}

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

.v3-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;
}

.v3-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);
}

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

/* ─── CINEMATIC BACKGROUND ───────────────────────────────── */
.entry-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: var(--bg);
}

/* Radial orbs — large, blurred, drifting */
.entry-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform;
}

.entry-orb-1 {
  width: 700px; height: 700px;
  top: -220px; left: -200px;
  background: radial-gradient(circle, rgba(2, 43, 86, 0.65) 0%, transparent 68%);
  animation: orb-drift-1 30s ease-in-out infinite;
}

.entry-orb-2 {
  width: 580px; height: 580px;
  bottom: -200px; right: -140px;
  background: radial-gradient(circle, rgba(2, 43, 86, 0.55) 0%, transparent 68%);
  animation: orb-drift-2 38s ease-in-out infinite;
}

.entry-orb-3 {
  width: 320px; height: 320px;
  top: 38%; right: 12%;
  background: radial-gradient(circle, rgba(227, 172, 23, 0.045) 0%, transparent 70%);
  animation: orb-drift-3 24s ease-in-out infinite;
}

/* Vignette */
.entry-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 75% 65% at 50% 50%,
    transparent 35%, rgba(5, 8, 18, 0.72) 100%);
}

/* Subtle grain texture */
.entry-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.022;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* ─── ENTRY SECTION ──────────────────────────────────────── */
.entry-section {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  padding: calc(var(--nav-h) + 40px) 24px 72px;
}

.entry-inner {
  text-align: center;
  max-width: 720px;
  width: 100%;
}

/* Series badge */
.entry-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.7s var(--ease-out) 0.25s forwards;
}

.entry-badge-line {
  display: block;
  width: 30px;
  height: 1px;
  background: var(--gold-border);
  flex-shrink: 0;
}

/* Headline */
.entry-headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.11;
  color: var(--text);
  margin-bottom: 22px;
  letter-spacing: -0.01em;
  opacity: 0;
  animation: fadeUp 0.85s var(--ease-out) 0.48s forwards;
}

.entry-headline em {
  font-style: italic;
  color: var(--text-muted);
}

/* Subheadline */
.entry-sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  color: var(--text-muted);
  margin-bottom: 52px;
  opacity: 0;
  animation: fadeUp 0.75s var(--ease-out) 0.68s forwards;
}

/* Thin divider */
.entry-divider {
  width: 44px;
  height: 1px;
  background: var(--gold-border);
  margin: 0 auto 48px;
  opacity: 0;
  animation: fadeIn 0.6s ease 0.78s forwards;
}

/* ─── BUTTON GRID ────────────────────────────────────────── */
.entry-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 660px;
  margin: 0 auto;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.9s forwards;
}

.entry-buttons-trio .entry-btn-span-full {
  grid-column: 1 / -1;
}

.entry-buttons-duo {
  grid-template-columns: 1fr;
  max-width: 520px;
}

.entry-hint {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  text-align: center;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 1.05s forwards;
}

/* Shared shell */
.entry-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  padding: 26px 28px 24px;
  border-radius: 14px;
  text-align: left;
  overflow: hidden;
  transition: transform 0.28s var(--ease-out),
              box-shadow 0.28s var(--ease-out),
              background 0.28s var(--ease-out),
              border-color 0.28s var(--ease-out);
}

.entry-btn:active { transform: scale(0.98) !important; }

.entry-btn-eyebrow {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
  display: block;
}

.entry-btn-label {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 8px;
}

.entry-btn-label svg {
  width: 15px; height: 15px;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease-out);
}

.entry-btn:not([disabled]):hover .entry-btn-label svg {
  transform: translateX(4px);
}

.entry-btn-sub {
  font-size: 11px;
  letter-spacing: 0.02em;
  line-height: 1;
  margin-top: 3px;
  display: block;
}

/* Primary — gold */
.entry-btn-primary {
  background: var(--gold);
  color: var(--text-navy);
  box-shadow: 0 4px 24px rgba(227,172,23,0.18),
              inset 0 1px 0 rgba(255,255,255,0.18);
}

/* Sarah button — video thumbnail strip */
.entry-btn-has-thumb {
  padding-top: 0;
  gap: 0;
}

.entry-btn-has-thumb::before {
  content: '';
  display: block;
  width: calc(100% + 56px);
  margin: 0 -28px 18px;
  height: 108px;
  background:
    linear-gradient(to bottom, rgba(2, 43, 86, 0.08) 0%, rgba(2, 43, 86, 0.42) 100%),
    var(--entry-thumb) center / cover no-repeat;
  border-radius: 14px 14px 0 0;
  flex-shrink: 0;
}

.entry-btn-has-thumb .entry-btn-eyebrow,
.entry-btn-has-thumb .entry-btn-label,
.entry-btn-has-thumb .entry-btn-sub {
  position: relative;
  z-index: 1;
  padding-left: 0;
  padding-right: 0;
}

.entry-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(227,172,23,0.26),
              inset 0 1px 0 rgba(255,255,255,0.22);
}

.entry-btn-primary .entry-btn-eyebrow { color: rgba(2, 43, 86, 0.62); }
.entry-btn-primary .entry-btn-sub     { color: rgba(2, 43, 86, 0.52); }

/* Shimmer on primary hover */
.entry-btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255,255,255,0.14) 50%,
    transparent 100%);
  background-size: 200% 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.entry-btn-primary:hover::after {
  opacity: 1;
  animation: shimmer-sweep 0.65s var(--ease-smooth) forwards;
}

/* Secondary — locked state (clickable → disclaimer) */
.entry-btn-secondary {
  background: rgba(2, 43, 86, 0.22);
  border: 1px solid var(--gold-border);
  color: var(--text-muted);
  cursor: pointer;
}

.entry-btn-secondary .entry-btn-eyebrow { color: rgba(227,172,23,0.48); }
.entry-btn-secondary .entry-btn-label   { color: var(--text-muted); }
.entry-btn-secondary .entry-btn-sub     { color: var(--text-faint); }

/* Lock icon */
.entry-lock-icon {
  position: absolute;
  top: 18px; right: 18px;
  width: 17px; height: 17px;
  color: var(--gold-muted);
  flex-shrink: 0;
  animation: lock-breathe 3.2s ease-in-out infinite;
}

/* Unlocked state (applied by js/unlock.js) */
.entry-btn-secondary.is-unlocked {
  cursor: pointer;
  border-color: var(--gold-border-h);
  background: rgba(2, 43, 86, 0.38);
  animation: unlock-flash 1.2s var(--ease-out) forwards;
}

.entry-btn-secondary.is-unlocked .entry-btn-eyebrow { color: var(--gold); }
.entry-btn-secondary.is-unlocked .entry-btn-label   { color: var(--text); }
.entry-btn-secondary.is-unlocked .entry-btn-sub     { color: var(--text-muted); }
.entry-btn-secondary.is-unlocked .entry-lock-icon   { display: none; }

.entry-btn-secondary.is-unlocked:hover {
  transform: translateY(-3px);
  background: rgba(2, 43, 86, 0.52);
  box-shadow: 0 10px 28px rgba(2, 43, 86, 0.35);
}

/* Tertiary — Full Stack locked state */
.entry-btn-tertiary {
  background: rgba(2, 43, 86, 0.14);
  border: 1px solid rgba(227, 172, 23, 0.14);
  color: var(--text-muted);
  cursor: pointer;
}

.entry-btn-tertiary .entry-btn-eyebrow { color: rgba(227, 172, 23, 0.38); }
.entry-btn-tertiary .entry-btn-label   { color: var(--text-faint); }
.entry-btn-tertiary .entry-btn-sub     { color: var(--text-faint); }

.entry-btn-tertiary.is-unlocked {
  cursor: pointer;
  border-color: var(--gold-border);
  background: rgba(2, 43, 86, 0.28);
  animation: unlock-flash 1.2s var(--ease-out) forwards;
}

.entry-btn-tertiary.is-unlocked .entry-btn-eyebrow { color: var(--gold); }
.entry-btn-tertiary.is-unlocked .entry-btn-label   { color: var(--text); }
.entry-btn-tertiary.is-unlocked .entry-btn-sub     { color: var(--text-muted); }
.entry-btn-tertiary.is-unlocked .entry-lock-icon   { display: none; }

.entry-btn-tertiary.is-unlocked:hover {
  transform: translateY(-3px);
  background: rgba(2, 43, 86, 0.42);
  box-shadow: 0 10px 28px rgba(2, 43, 86, 0.3);
  border-color: var(--gold-border-h);
}

/* ─── SCROLL HINT ────────────────────────────────────────── */
.entry-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  opacity: 0;
  animation: fadeIn 1s ease 1.8s forwards;
}

.entry-scroll-hint span {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.entry-scroll-line {
  width: 1px;
  height: 26px;
  background: linear-gradient(to bottom, var(--gold-border), transparent);
}

/* ─── CEO LOCK NOTICE (watch Part I first) ──────────────── */
.ceo-lock-notice {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-player) + 10);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s var(--ease-out);
}

.ceo-lock-notice.is-open {
  opacity: 1;
  pointer-events: auto;
}

.ceo-lock-notice-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 6, 15, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.ceo-lock-notice-panel {
  position: relative;
  width: 100%;
  max-width: 440px;
  padding: 40px 36px 32px;
  border-radius: 16px;
  border: 1px solid var(--gold-border);
  background: rgba(10, 15, 30, 0.96);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
  text-align: center;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.32s var(--ease-out);
}

.ceo-lock-notice.is-open .ceo-lock-notice-panel {
  transform: translateY(0) scale(1);
}

.ceo-lock-notice-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--text-muted);
  transition: color 0.2s ease, background 0.2s ease;
}

.ceo-lock-notice-close:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.ceo-lock-notice-close svg {
  width: 14px;
  height: 14px;
}

.ceo-lock-notice-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  color: var(--gold);
}

.ceo-lock-notice-icon svg {
  width: 22px;
  height: 22px;
  animation: lock-breathe 3.2s ease-in-out infinite;
}

.ceo-lock-notice-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 12px;
}

.ceo-lock-notice-body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.ceo-lock-notice-body strong {
  color: var(--gold);
  font-weight: 600;
}

.ceo-lock-notice-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ceo-lock-notice-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 15px 24px;
  border-radius: 10px;
  background: var(--gold);
  color: var(--text-navy);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
  box-shadow: 0 4px 20px rgba(227, 172, 23, 0.22);
}

.ceo-lock-notice-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(227, 172, 23, 0.32);
}

.ceo-lock-notice-primary svg {
  width: 14px;
  height: 14px;
}

.ceo-lock-notice-secondary {
  padding: 10px 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  transition: color 0.2s ease;
}

.ceo-lock-notice-secondary:hover {
  color: var(--text-muted);
}
