/* Slide 10 (revenue architecture) visual reconstruction. Hierarchy: the core paid-inspection model dominates;
   planned expansion and future monetisation follow; the repeat-inspection flow closes the slide.
   Entrance motion runs while #revenue.revenue-run is present (set by revenue-visual.js). Opacity and transform only. */

#revenue.revenue-section {
  display: block;
}

#revenue > .section-kicker {
  position: absolute;
  left: 5vw;
  top: 110px;
}

#revenue .rv-head h2 {
  max-width: 1100px;
}

#revenue .rv-intro {
  max-width: 680px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

#revenue .rv-label {
  display: block;
  color: var(--mint);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  margin-bottom: 12px;
}

#revenue .rv-icon {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  color: var(--mint);
}

#revenue .rv-icon-lg {
  width: 40px;
  height: 40px;
}

#revenue .rv-status {
  display: inline-block;
  margin-top: 8px;
  color: var(--mint);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
}

/* 01 — core model: full width, the most prominent block. */
#revenue .rv-core {
  margin-top: 26px;
  padding: 24px 0 22px;
  border-top: 1px solid rgba(142, 219, 200, 0.4);
  border-bottom: 1px solid rgba(142, 219, 200, 0.18);
}

#revenue .rv-core-main {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

#revenue .rv-core h3 {
  margin: 0;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

#revenue .rv-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  color: #d6e6e8;
  font-size: 14px;
}

#revenue .rv-channels li {
  display: flex;
  align-items: center;
  gap: 8px;
}

#revenue .rv-channels .rv-icon {
  width: 18px;
  height: 18px;
}

#revenue .rv-chip {
  padding: 2px 6px;
  border: 1px solid rgba(142, 219, 200, 0.5);
  color: var(--mint);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
}

#revenue .rv-core-note {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

/* 02 and 03 side by side: planned expansion and future monetisation. */
#revenue .rv-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 36px;
  margin-top: 26px;
}

#revenue .rv-planned,
#revenue .rv-future {
  min-width: 0;
}

#revenue .rv-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(142, 219, 200, 0.1);
}

#revenue .rv-item h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
}

#revenue .rv-item p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

#revenue .rv-tech-note {
  margin: 12px 0 0;
  color: #8ea5b0;
  font-size: 12px;
  line-height: 1.45;
}

/* Repeat flow: a single quiet line. */
#revenue .rv-repeat {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid rgba(142, 219, 200, 0.14);
}

#revenue .rv-flow {
  margin: 0;
  color: #c7d8dc;
  font-size: 14px;
  line-height: 1.5;
}

#revenue .rv-repeat-note {
  margin: 6px 0 0;
  color: #8ea5b0;
  font-size: 12px;
  line-height: 1.45;
}

#revenue .rv-foot {
  margin: 20px 0 0;
  color: #8ea5b0;
  font-size: 11px;
  line-height: 1.5;
  max-width: 900px;
}

/* Entrance motion (gated by revenue-run). */
@keyframes rv-title-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes rv-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes rv-rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

#revenue.revenue-run .rv-head h2 {
  animation: rv-title-in 0.55s cubic-bezier(0.22, 0.8, 0.26, 1) both;
}

#revenue.revenue-run .rv-intro {
  animation: rv-fade 0.5s ease-out 0.2s both;
}

#revenue.revenue-run .rv-core {
  animation: rv-rise 0.45s ease-out 0.35s both;
}

/* In the planned block the label is child 1, so the two model items are children 2 and 3. */
#revenue.revenue-run .rv-planned .rv-item {
  animation: rv-rise 0.42s ease-out both;
}
#revenue.revenue-run .rv-planned .rv-item:nth-child(2) { animation-delay: 0.5s; }
#revenue.revenue-run .rv-planned .rv-item:nth-child(3) { animation-delay: 0.62s; }

#revenue.revenue-run .rv-future .rv-item {
  animation: rv-rise 0.42s ease-out both;
}
#revenue.revenue-run .rv-future .rv-item:nth-child(2) { animation-delay: 0.8s; }
#revenue.revenue-run .rv-future .rv-item:nth-child(3) { animation-delay: 0.92s; }
#revenue.revenue-run .rv-future .rv-item:nth-child(4) { animation-delay: 1.04s; }
#revenue.revenue-run .rv-future .rv-item:nth-child(1) { animation-delay: 0.8s; }

#revenue.revenue-run .rv-repeat {
  animation: rv-fade 0.6s ease-out 1.2s both;
}

#revenue.revenue-run .rv-foot {
  animation: rv-fade 0.5s ease-out 1.4s both;
}

@media (prefers-reduced-motion: reduce) {
  #revenue.revenue-run,
  #revenue.revenue-run * {
    animation: none !important;
  }
}

/* Phones: compact vertical order, no collapsible sections. */
@media (max-width: 800px) {
  #revenue.revenue-section {
    padding-top: 118px;
    padding-bottom: 96px;
  }

  #revenue .rv-intro { margin-top: 10px; font-size: 13px; line-height: 1.5; }
  #revenue .rv-label { margin-bottom: 8px; font-size: 9px; }
  #revenue .rv-core { margin-top: 16px; padding: 14px 0 12px; }
  #revenue .rv-core-main { gap: 12px; }
  #revenue .rv-icon-lg { width: 28px; height: 28px; }
  #revenue .rv-core h3 { font-size: 1.35rem; }
  #revenue .rv-channels { gap: 6px 16px; font-size: 12.5px; margin-top: 10px; }
  #revenue .rv-core-note { font-size: 11.5px; margin-top: 8px; }
  #revenue .rv-row { grid-template-columns: 1fr; gap: 14px; margin-top: 14px; }
  #revenue .rv-item { padding: 10px 0; gap: 10px; }
  #revenue .rv-item h4 { font-size: 14px; }
  #revenue .rv-item p { font-size: 11.5px; }
  #revenue .rv-icon { width: 20px; height: 20px; }
  #revenue .rv-status { font-size: 8.5px; margin-top: 6px; }
  #revenue .rv-tech-note { font-size: 11px; }
  #revenue .rv-repeat { margin-top: 14px; padding-top: 12px; }
  #revenue .rv-flow { font-size: 12.5px; }
  #revenue .rv-repeat-note { font-size: 11px; }
  #revenue .rv-foot { font-size: 10.5px; margin-top: 12px; }
}
