/* Operator launch — video header and page details.
   Swap the film by replacing assets/header.mp4 and assets/header-poster.jpg. */

.op-header {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 101px 28px 80px;
  color: #fff;
  background:
    radial-gradient(80% 60% at 50% 22%, #16345C 0%, #0D2743 36%, #0B111E 72%, #060914 100%);
  font-family: Inter, "SF Pro Display", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

.op-header-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.op-iso {
  position: absolute;
  inset: -12%;
  opacity: 0.16;
  background-image:
    linear-gradient(60deg, rgba(255,255,255,0.10) 1px, transparent 1px),
    linear-gradient(-60deg, rgba(255,255,255,0.10) 1px, transparent 1px);
  background-size: 120px 70px, 120px 70px;
  transform: perspective(1200px) rotateX(60deg) scale(1.7);
  transform-origin: 50% 22%;
  animation: opIsoDrift 60s linear infinite;
  -webkit-mask-image: radial-gradient(ellipse at 50% 22%, #000 18%, transparent 68%);
  mask-image: radial-gradient(ellipse at 50% 22%, #000 18%, transparent 68%);
}

@keyframes opIsoDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 240px 140px, -240px 140px; }
}

#hero-mesh {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.op-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(6,9,20,0.55) 0%, rgba(6,9,20,0.12) 22%, rgba(6,9,20,0) 42%, rgba(6,9,20,0.35) 100%);
}

.op-header-inner {
  position: relative;
  z-index: 3;
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}

.op-header .op-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FF6A5B;
}

.op-header .op-eyebrow::before {
  content: "";
  width: 16px;
  height: 1.5px;
  background: #FF6A5B;
}

.op-header h1 {
  margin: 0 auto;
  color: #fff;
  font-size: clamp(64px, 8.4vw, 112px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.op-header .op-deck {
  margin: 14px auto 0;
  color: #fff;
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.op-header .op-lead {
  margin: 12px auto 0;
  max-width: 34em;
  color: rgba(255,255,255,0.72);
  font-size: 17px;
  line-height: 1.5;
}

.op-header .op-cta,
.op-readonly .op-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  min-width: 180px;
  padding: 18px 48px;
  border-radius: 14px;
  background: #0B1220;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  box-shadow: 0 16px 40px rgba(6,9,20,0.45);
}

.op-header .op-cta:hover,
.op-readonly .op-cta:hover {
  background: #162033;
  color: #fff;
}

.op-btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.45);
}

.op-stage {
  margin-top: 40px;
  border-radius: 18px;
  overflow: hidden;
  background: #0B111E;
  box-shadow:
    0 30px 80px rgba(0,0,0,0.45),
    0 0 0 1px rgba(255,255,255,0.10);
}

.op-header-video {
  display: block;
  width: 100%;
  height: auto;
  background: #0B111E;
  cursor: pointer;
}

.op-stage-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 14px;
}

.op-stage-caption {
  margin: 0;
  color: rgba(255,255,255,0.62);
  font-size: 13.5px;
}

.op-sound {
  appearance: none;
  flex: none;
  border: 1px solid rgba(255,255,255,0.32);
  background: rgba(6,9,20,0.45);
  color: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font: 600 13px/1 Inter, "SF Pro Display", -apple-system, system-ui, sans-serif;
  letter-spacing: -0.01em;
  cursor: pointer;
}

.op-sound:hover { background: rgba(255,255,255,0.12); }

.op-header a:focus-visible,
.op-sound:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.op-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.op-prompt-grid .mo-feat .mo-feat-title {
  display: block;
}

.op-new {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 6px;
  border-radius: 999px;
  background: #0B1220;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: 1px;
}

.op-menu-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 10px;
  color: #0B1220;
  font-size: 14.5px;
  font-weight: 600;
}

.op-menu-row.is-operator {
  background: rgba(255,106,91,0.12);
  color: #0B1220;
}

.op-readonly {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.op-readonly h2 {
  white-space: nowrap;
}

.op-readonly .op-cta {
  flex-shrink: 0;
  margin-top: 0;
  box-shadow: 0 10px 28px rgba(11,18,32,0.18);
}

.op-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
  margin-top: 36px;
}

.op-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.op-side-note h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0B1220;
}

.op-side-note p {
  margin: 8px 0 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(11,18,32,0.68);
}

.op-where {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(11,18,32,0.45);
}

.op-reply-label {
  margin: 0 0 2px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #FF6A5B;
}

.op-reply h3 {
  margin: 18px 0 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0B1220;
}

.op-reply p,
.op-reply li {
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(11,18,32,0.68);
}

.op-reply ol {
  margin: 10px 0 0;
  padding: 0 0 0 1.15em;
}

.op-reply li + li { margin-top: 8px; }

.op-reply-close {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(11,18,32,0.08);
  color: #0B1220 !important;
  font-weight: 600;
}

@media (max-width: 900px) {
  .op-split { grid-template-columns: 1fr; }
  .op-readonly { flex-direction: column; align-items: flex-start; gap: 28px; }
  .op-readonly h2 { white-space: normal; }
  section[style*="padding: 72px 28px"] { padding: 56px 20px !important; }
  .op-header { padding: 87px 20px 56px; }
  .op-stage { margin-top: 36px; border-radius: 14px; }
}

@media (max-width: 640px) {
  .op-header { padding: 81px 16px 48px; }
  .op-header h1 { font-size: clamp(52px, 16vw, 72px); }
  .op-header .op-lead { font-size: 16px; }
  .op-stage-bar { justify-content: center; }
  div.op-prompt-grid[style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: 1fr !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .op-iso { animation: none; }
}
