/* Public opportunities preview: static semantic copy beside a decorative 3D scene. */
.opportunities-section {
  --opportunities-tilt: 3deg;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(28px, 5vw, 68px);
  padding-block: 52px 40px;
  border-bottom: 1px solid #dce5e2;
}
.opportunities-copy, .opportunities-visual { min-width: 0; }
.opportunities-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  line-height: 1.1;
  letter-spacing: -.055em;
  overflow-wrap: anywhere;
}
.opportunities-copy > p:not(.landing-kicker) {
  margin-top: 20px;
  color: #526871;
  font-size: 1rem;
  line-height: 1.65;
}
.opportunities-copy > p a {
  color: #246a55;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.opportunities-steps {
  display: grid;
  gap: 16px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.opportunities-steps li { display: flex; align-items: baseline; gap: 14px; }
.opportunities-steps li > span { color: #246a55; font: 500 .875rem "IBM Plex Mono", monospace; }
.opportunities-steps strong { font-size: 1rem; font-weight: 600; }
.opportunities-steps p { margin-top: 3px; color: #526871; font-size: 1rem; line-height: 1.5; }
.opportunities-copy > .opportunities-note { padding-left: 14px; border-left: 2px solid #80bba2; }
.opportunities-visual { margin: 0; }
.opportunities-stage {
  position: relative;
  min-height: 420px;
  perspective: 1100px;
  perspective-origin: 50% 38%;
}
.opportunities-stage::before {
  content: "";
  position: absolute;
  inset: 14% 4% 8%;
  border: 1px solid #c9ddd3;
  border-radius: 24px;
  background: #e7f0e8;
  transform: rotate(-7deg);
}
.opportunities-scene {
  position: relative;
  padding-block: 20px 32px;
  transform-style: preserve-3d;
  transform: rotateX(15deg) rotateY(-15deg) rotateZ(var(--opportunities-tilt));
}
.opportunities-scene.is-entering { animation: opportunities-settle 4.8s ease-in-out 1 both; }
.opportunity-plane {
  position: relative;
  width: 80%;
  padding: 20px 22px;
  border: 1px solid #b7cfc1;
  border-radius: 12px;
  box-shadow: 0 5px 0 #b5c8bc, 0 18px 28px #153e2926;
  background: #fff;
}
.opportunity-plane-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.opportunity-plane-top > span:first-child { font: 500 .75rem "IBM Plex Mono", monospace; letter-spacing: .08em; }
.opportunity-symbol { font-size: 1.35rem; line-height: 1; }
.opportunity-plane strong { display: block; max-width: 290px; font-size: 1.2rem; line-height: 1.25; letter-spacing: -.03em; }
.opportunity-plane--source { left: 0; color: #526871; transform: translateZ(-26px); }
.opportunity-rule { height: 4px; width: 76%; margin-top: 14px; border-radius: 3px; background: #d6e3dc; }
.opportunity-rule--short { width: 48%; margin-top: 7px; }
.opportunity-plane--match { margin-top: -4px; left: 8%; border-color: #253b40; background: #08111f; color: #f5f7f3; box-shadow: 0 5px 0 #334b4c, 0 22px 32px #08111f33; transform: translateZ(22px); }
.opportunity-plane--match .opportunity-plane-top { color: #b9f2db; }
.opportunity-detail { display: block; margin-top: 12px; font-size: 1rem; line-height: 1.4; }
.opportunity-plane--match .opportunity-detail { color: #c4d4cf; }
.opportunity-plane--ready { margin-top: 16px; left: 15%; border-color: #8ec2a9; background: #b9f2db; color: #173b2d; box-shadow: 0 5px 0 #7eac95, 0 22px 28px #153e2926; transform: translateZ(65px); }
.opportunities-visual figcaption { max-width: 360px; margin: 24px auto 0; color: #526871; font-size: 1rem; line-height: 1.5; text-align: center; }
@keyframes opportunities-settle {
  0% { transform: rotateX(21deg) rotateY(-21deg) rotateZ(var(--opportunities-tilt)) translateY(8px); }
  55% { transform: rotateX(12deg) rotateY(-12deg) rotateZ(var(--opportunities-tilt)) translateY(-4px); }
  100% { transform: rotateX(15deg) rotateY(-15deg) rotateZ(var(--opportunities-tilt)) translateY(0); }
}
@media (max-width: 900px) {
  .opportunities-section { grid-template-columns: 1fr; gap: 20px; }
  .opportunities-visual { width: min(510px, 100%); justify-self: center; }
  .opportunities-copy { max-width: 660px; }
}
@media (max-width: 480px) {
  .opportunities-section { --opportunities-tilt: 0deg; padding-block: 36px; }
  .opportunities-copy h2 { font-size: clamp(1.9rem, 7.5vw, 2.4rem); }
  .opportunities-stage { perspective: 1400px; }
  .opportunity-plane { width: 83%; padding: 16px; }
  .opportunity-plane strong { font-size: 1.1rem; }
  .opportunity-plane--match { left: 6%; }
  .opportunity-plane--ready { left: 11%; }
  .opportunities-visual figcaption { margin-top: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .opportunities-scene.is-entering { animation: none; }
}
