/**
 * ORBIS Reader Circle — cinematic access portal
 * Lane: SYNKTRIBE-WORDPRESS-ORBIS-READER-CIRCLE-CINEMATIC-REDESIGN-IMPLEMENTATION-01
 */

body.st-orbis-reader-circle-page {
  --st-orc-void: #05070d;
  --st-orc-navy: #0a111f;
  --st-orc-navy-2: #0e192b;
  --st-orc-cyan: #4da3ff;
  --st-orc-cyan-bright: #5ec8e8;
  --st-orc-silver: #c8d4e8;
  --st-orc-silver-dim: #8fa3c4;
  --st-orc-violet: #845cff;
  --st-orc-text: #e8eef8;
  --st-orc-text-dim: #a8b8d4;
  --st-orc-line: rgba(77, 163, 255, 0.18);
  --st-orc-glow: rgba(77, 163, 255, 0.22);
  --st-orc-monitor: #04060c;

  background:
    radial-gradient(circle at 12% 8%, rgba(77, 163, 255, 0.08), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(132, 92, 255, 0.06), transparent 24%),
    linear-gradient(180deg, var(--st-orc-navy) 0%, var(--st-orc-void) 48%, #03050a 100%);
  color: var(--st-orc-text);
  overflow-x: clip;
}

body.st-orbis-reader-circle-page .st-site-main {
  min-height: auto;
}

.st-orc-shell {
  width: min(calc(100% - 32px), 1180px);
  margin: 0 auto;
}

/* Hero */
.st-orc-hero {
  position: relative;
  padding: clamp(40px, 7vw, 80px) 0 clamp(32px, 5vw, 56px);
}

.st-orc-hero__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 30%, rgba(77, 163, 255, 0.1), transparent 55%),
    radial-gradient(circle at 20% 80%, rgba(132, 92, 255, 0.05), transparent 40%);
  pointer-events: none;
}

.st-orc-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.st-orc-hero__eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--st-orc-cyan-bright);
  margin-bottom: 12px;
}

.st-orc-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.st-orc-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid var(--st-orc-line);
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--st-orc-silver);
  background: rgba(10, 17, 31, 0.72);
}

.st-orc-chip--muted {
  color: var(--st-orc-text-dim);
}

.st-orc-hero__title {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #f4f8ff;
  text-wrap: balance;
}

.st-orc-hero__lede {
  margin: 0 0 12px;
  max-width: 42ch;
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  line-height: 1.6;
  color: var(--st-orc-text);
}

.st-orc-hero__access-note {
  margin: 0;
  max-width: 42ch;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--st-orc-text-dim);
}

/* Signal Screen */
.st-orc-signal {
  display: grid;
  gap: 16px;
}

.st-orc-signal__header {
  display: grid;
  gap: 8px;
}

.st-orc-signal__eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--st-orc-silver-dim);
}

.st-orc-signal__title {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  color: var(--st-orc-silver);
  letter-spacing: 0.02em;
}

.st-orc-signal__intro {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--st-orc-text-dim);
}

.st-orc-signal__monitor {
  position: relative;
  border: 1px solid rgba(77, 163, 255, 0.35);
  border-radius: 12px;
  background: var(--st-orc-monitor);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.5) inset,
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 0 40px var(--st-orc-glow);
  overflow: hidden;
}

.st-orc-signal__frame-label {
  position: absolute;
  top: 10px;
  left: 12px;
  z-index: 3;
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: rgba(94, 200, 232, 0.85);
  text-transform: uppercase;
  pointer-events: none;
}

.st-orc-signal__scanlines {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: repeating-linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.03) 0,
    rgba(255, 255, 255, 0.03) 1px,
    transparent 1px,
    transparent 3px
  );
  opacity: 0.35;
  mix-blend-mode: overlay;
}

.st-orc-signal__ring {
  position: absolute;
  inset: 12px;
  z-index: 1;
  border: 1px solid rgba(132, 92, 255, 0.12);
  border-radius: 8px;
  pointer-events: none;
}

.st-orc-signal__ring::before {
  content: "";
  position: absolute;
  top: -4px;
  right: 18%;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(77, 163, 255, 0.2);
  border-radius: 50%;
  opacity: 0.6;
}

.st-orc-signal__viewport {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  background: #020308;
}

.st-orc-signal__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #020308;
}

.st-orc-signal__placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 200px;
}

.st-orc-signal__poster {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) brightness(0.72);
}

.st-orc-signal__placeholder-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: end;
  gap: 8px;
  padding: clamp(16px, 4vw, 28px);
  background: linear-gradient(180deg, transparent 35%, rgba(5, 7, 13, 0.92) 100%);
}

.st-orc-signal__status {
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--st-orc-cyan-bright);
}

.st-orc-signal__status-body {
  margin: 0;
  max-width: 36ch;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--st-orc-silver);
}

.st-orc-signal__meta {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 4;
  display: grid;
  gap: 2px;
  padding: 8px 10px;
  border-radius: 6px;
  background: rgba(5, 7, 13, 0.78);
  border: 1px solid var(--st-orc-line);
  font-size: 0.75rem;
}

.st-orc-signal__meta-eyebrow {
  color: var(--st-orc-cyan-bright);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.st-orc-signal__meta-title {
  color: var(--st-orc-silver);
  font-weight: 600;
}

.st-orc-signal__meta-access {
  color: var(--st-orc-text-dim);
}

.st-orc-signal__playlist {
  display: grid;
  gap: 8px;
}

.st-orc-signal__playlist-label {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--st-orc-silver-dim);
}

.st-orc-signal__playlist-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.st-orc-signal__playlist-item {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  background: rgba(10, 17, 31, 0.55);
  font-size: 0.82rem;
  color: var(--st-orc-text-dim);
}

.st-orc-signal__playlist-item strong {
  color: var(--st-orc-silver);
  font-size: 0.9rem;
}

.st-orc-signal__playlist-item em {
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--st-orc-silver-dim);
}

.st-orc-signal__playlist-item.is-pending em {
  color: rgba(94, 200, 232, 0.65);
}

.st-orc-signal__playlist-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--st-orc-cyan);
}

.st-orc-signal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Sections */
.st-orc-section {
  padding: clamp(32px, 5vw, 56px) 0;
}

.st-orc-section--pathway {
  padding-top: 8px;
}

.st-orc-section--band {
  background:
    radial-gradient(circle at 50% 0%, rgba(77, 163, 255, 0.06), transparent 42%),
    linear-gradient(180deg, rgba(10, 17, 31, 0.65), rgba(5, 7, 13, 0.4));
  border-block: 1px solid var(--st-orc-line);
}

.st-orc-section--close {
  padding-bottom: clamp(20px, 3vw, 32px);
}

.st-orc-panel {
  display: grid;
  gap: 14px;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--st-orc-line);
  border-radius: 14px;
  background: rgba(10, 17, 31, 0.55);
  backdrop-filter: blur(8px);
}

.st-orc-panel--pathway {
  border-color: rgba(77, 163, 255, 0.32);
  background:
    linear-gradient(135deg, rgba(77, 163, 255, 0.08), transparent 55%),
    rgba(10, 17, 31, 0.72);
}

.st-orc-panel--band {
  background: transparent;
  border-color: transparent;
  padding-inline: 0;
}

.st-orc-panel--close {
  background: rgba(5, 7, 13, 0.5);
}

.st-orc-section__eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--st-orc-cyan-bright);
}

.st-orc-section__title {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  line-height: 1.2;
  color: #f4f8ff;
}

.st-orc-section__lede,
.st-orc-section__intro {
  margin: 0;
  max-width: 68ch;
  line-height: 1.6;
  color: var(--st-orc-text);
}

.st-orc-section__note {
  margin: 0;
  max-width: 68ch;
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--st-orc-text-dim);
}

.st-orc-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(16px, 3vw, 24px);
  align-items: start;
}

.st-orc-list {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 8px;
  color: var(--st-orc-text);
  line-height: 1.55;
}

.st-orc-list--compact {
  max-width: 60ch;
}

.st-orc-prompt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 10px;
}

.st-orc-prompt-card {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid rgba(77, 163, 255, 0.14);
  border-radius: 10px;
  background: rgba(5, 7, 13, 0.65);
}

.st-orc-prompt-card h3 {
  margin: 0;
  font-size: 0.98rem;
  color: var(--st-orc-silver);
}

.st-orc-prompt-card p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--st-orc-text-dim);
}

/* Buttons */
.st-orc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.st-orc-btn--primary {
  color: #07111a;
  background: linear-gradient(135deg, var(--st-orc-cyan-bright), var(--st-orc-cyan));
  border-color: rgba(94, 200, 232, 0.4);
}

.st-orc-btn--primary:hover,
.st-orc-btn--primary:focus-visible {
  filter: brightness(1.06);
}

.st-orc-btn--secondary {
  color: var(--st-orc-silver);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--st-orc-line);
}

.st-orc-btn--ghost {
  color: var(--st-orc-cyan-bright);
  background: transparent;
  border-color: rgba(77, 163, 255, 0.28);
}

.st-orc-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.st-orc-action-row--prominent {
  padding-top: 4px;
}

.st-orc-action--pending,
.st-orbis-action--pending {
  opacity: 0.65;
  cursor: not-allowed;
  pointer-events: none;
}

/* Light site theme — page stays cinematic; monitor always dark */
:root[data-theme="light"] body.st-orbis-reader-circle-page {
  --st-orc-text: var(--st-mkt-portal-text-on-dark);
  --st-orc-text-dim: var(--st-mkt-portal-text-dim-on-dark);
}

:root[data-theme="light"] body.st-orbis-reader-circle-page .st-orc-panel {
  background: var(--st-mkt-portal-panel-on-dark);
}

@media (max-width: 900px) {
  .st-orc-hero__grid,
  .st-orc-split {
    grid-template-columns: 1fr;
  }

  .st-orc-hero__copy {
    order: 1;
  }

  .st-orc-hero__signal {
    order: 2;
  }
}

@media (max-width: 767px) {
  .st-orc-signal__actions,
  .st-orc-action-row {
    flex-direction: column;
    align-items: stretch;
  }

  .st-orc-signal__actions .st-orc-btn,
  .st-orc-signal__actions .st-orbis-action--pending,
  .st-orc-action-row .st-orc-btn,
  .st-orc-action-row .st-orbis-action--pending {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
  }

  .st-orc-prompt-grid {
    grid-template-columns: 1fr;
  }

  .st-orc-signal__viewport {
    min-height: 0;
  }
}

/* ORBIS Final Signal Footer */
.st-orc-footer {
  position: relative;
  margin-top: 0;
  padding: clamp(28px, 4vw, 44px) 0 clamp(36px, 5vw, 52px);
  background:
    radial-gradient(circle at 50% 0%, rgba(77, 163, 255, 0.08), transparent 42%),
    linear-gradient(180deg, rgba(5, 7, 13, 0.2) 0%, #03050a 100%);
  border-top: 1px solid var(--st-orc-line);
  overflow-x: clip;
}

.st-orc-footer__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(77, 163, 255, 0.1), transparent 60%);
}

.st-orc-footer__scanlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  background: repeating-linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.025) 0,
    rgba(255, 255, 255, 0.025) 1px,
    transparent 1px,
    transparent 3px
  );
}

.st-orc-footer__inner {
  position: relative;
}

.st-orc-footer__terminal {
  position: relative;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid rgba(77, 163, 255, 0.32);
  border-radius: 14px;
  background: rgba(4, 6, 12, 0.92);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.45) inset,
    0 20px 50px rgba(0, 0, 0, 0.35),
    0 0 32px var(--st-orc-glow);
}

.st-orc-footer__frame-label {
  margin-bottom: 18px;
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(94, 200, 232, 0.8);
}

.st-orc-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr) minmax(0, 0.9fr);
  gap: clamp(20px, 3vw, 32px);
  align-items: start;
}

.st-orc-footer__eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--st-orc-cyan-bright);
  margin-bottom: 8px;
}

.st-orc-footer__title {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.15;
  color: #f4f8ff;
}

.st-orc-footer__subtitle {
  margin: 0 0 14px;
  max-width: 38ch;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--st-orc-text-dim);
}

.st-orc-footer__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.st-orc-footer__chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid rgba(77, 163, 255, 0.22);
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--st-orc-silver);
  background: rgba(10, 17, 31, 0.75);
}

.st-orc-footer__column-heading {
  margin: 0 0 12px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--st-orc-cyan);
}

.st-orc-footer__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.st-orc-footer__pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 14px;
  border: 1px solid rgba(77, 163, 255, 0.24);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--st-orc-silver);
  text-decoration: none;
  background: rgba(10, 17, 31, 0.65);
  transition: border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.st-orc-footer__pill:hover,
.st-orc-footer__pill:focus-visible {
  color: var(--st-orc-cyan-bright);
  border-color: rgba(94, 200, 232, 0.45);
  box-shadow: 0 0 16px rgba(77, 163, 255, 0.15);
}

.st-orc-footer__strip {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  margin-top: clamp(18px, 3vw, 24px);
  padding-top: 16px;
  border-top: 1px solid rgba(77, 163, 255, 0.16);
}

.st-orc-footer__strip-label {
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--st-orc-cyan-bright);
  padding-top: 2px;
}

.st-orc-footer__strip p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--st-orc-text-dim);
}

:root[data-theme="light"] body.st-orbis-reader-circle-page .st-orc-footer__terminal {
  background: var(--st-mkt-portal-footer-on-dark);
}

@media (max-width: 900px) {
  .st-orc-footer__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .st-orc-footer__pills {
    flex-direction: column;
    align-items: stretch;
  }

  .st-orc-footer__pill {
    justify-content: center;
    text-align: center;
  }

  .st-orc-footer__strip {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .st-orc-signal__scanlines,
  .st-orc-hero__backdrop,
  .st-orc-footer__scanlines {
    animation: none !important;
  }

  .st-orc-btn,
  .st-orc-footer__pill {
    transition: none;
  }
}
