/* revenue-recognition.css — styles used only by revenue-recognition.html ("Revenue Recognition — Alaa Adil"). */

/* ── Hero — headline, then Role/Platform/Team meta grid, then the
   cover video last (same order as tamara-smart.html). ── */
.hero-title {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 32px;
}
.hero-meta-label {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  color: var(--text-muted);
}
.hero-cover {
  width: 100%;
  border-radius: 0;
  overflow: hidden;
  margin-bottom: 32px;
  background: var(--paper);
  aspect-ratio: 3110 / 1748;
  position: relative;
}

/* Full frame, trimmed by a flat 5px on every edge (not a
   percentage crop — a fixed pixel inset regardless of box size). */
.hero-cover video {
  position: absolute;
  left: -5px;
  top: -5px;
  width: calc(100% + 10px);
  height: calc(100% + 10px);
  display: block;
  object-fit: cover;
}

/* ── Research illustrations ── */
.research-pairs {
  display: flex;
  flex-direction: column;
  gap: 64px;
  margin-top: 40px;
}
.research-pair {
  display: flex;
  gap: 80px;
  align-items: center;
}
.research-illus {
  width: 220px;
  height: 220px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 0;
}
.research-illus img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.research-text { flex: 1; }
.research-title {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.research-body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* ── Exploring Solutions ── */
.brainstorm-img {
  width: 100%;
  aspect-ratio: 1728 / 972;
  border-radius: 0;
  overflow: hidden;
  margin-top: 24px;
  background: var(--paper);
  position: relative;
}

/* Full frame, trimmed by a flat 5px on every edge. */
.brainstorm-img video {
  position: absolute;
  left: -5px;
  top: -5px;
  width: calc(100% + 10px);
  height: calc(100% + 10px);
  display: block;
  object-fit: cover;
}

/* ── Iterations ── */
.iterations-row { display: flex; }
.iterations-text { width: 100%; }

/* ── Solution ── */
/* Media on the left, text on the right — matches Figma. */
.solution-phone-wrap {
  width: 370px;
  flex-shrink: 0;
  aspect-ratio: 3110 / 1748;
  border-radius: 0;
  overflow: hidden;
  position: relative;
  background: var(--paper);
}

/* Full frame, trimmed by a flat 5px on every edge. */
.solution-phone-wrap video {
  position: absolute;
  left: -5px;
  top: -5px;
  width: calc(100% + 10px);
  height: calc(100% + 10px);
  display: block;
  object-fit: cover;
}

/* ── Direction ── */
.direction-media {
  width: 100%;
  aspect-ratio: 1728 / 972;
  border-radius: 0;
  overflow: hidden;
  margin-top: 24px;
  background: var(--paper);
  position: relative;
}

/* Full frame, trimmed by a flat 5px on every edge. */
.direction-media video {
  position: absolute;
  left: -5px;
  top: -5px;
  width: calc(100% + 10px);
  height: calc(100% + 10px);
  display: block;
  object-fit: cover;
}

/* ── Reflection ── */
@media (max-width: 900px) {
  .results-row {
    flex-direction: column;
    gap: 16px;
  }
  .research-pair { flex-direction: column; }
  .solution-phone-wrap { width: 100%; }
}

/* ── Video lightbox ── */
.video-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.video-lightbox.open { display: flex; }
.video-lightbox video {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 0;
}
.video-lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 0;
  background: rgba(255,255,255,0.15);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  transition: background 0.2s;
}
.video-lightbox-close:hover { background: rgba(255,255,255,0.25); }
