/* Fintech presentation layer: original palette, layout, copy, and data stay intact. */
.research-showcase .hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
}
.research-showcase .hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  top: 0;
  right: 0;
  width: 58%;
  height: 100%;
  border-radius: 50%;
  background: repeating-radial-gradient(ellipse at 64% 48%, transparent 0 10px, rgba(196,138,46,.48) 10.5px 11.5px, transparent 12px 19px);
  -webkit-mask-image: radial-gradient(ellipse, #000 20%, transparent 72%);
  mask-image: radial-gradient(ellipse, #000 20%, transparent 72%);
  transform: rotate(-16deg);
  animation: contour-drift 14s ease-in-out infinite alternate paused;
}
.research-showcase .hero::after {
  content: "";
  position: absolute;
  z-index: -2;
  pointer-events: none;
  inset: 4% 2% 0 47%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 55% 55%, rgba(196,138,46,.22), transparent 68%);
  animation: glow-drift 9s ease-in-out infinite alternate paused;
}
.research-showcase .hero.is-scene-visible::before,
.research-showcase .hero.is-scene-visible::after { animation-play-state: running; }
.research-showcase.is-page-scrolling .hero::before,
.research-showcase.is-page-scrolling .hero::after { animation-play-state: paused; }
@keyframes contour-drift {
  from { rotate: -12deg; scale: 1; }
  to { rotate: 26deg; scale: 1.24; }
}
@keyframes glow-drift {
  from { translate: -22px -12px; scale: .9; opacity: .65; }
  to { translate: 24px 18px; scale: 1.16; opacity: 1; }
}
.research-showcase .hero-copy > div:first-child { position: relative; z-index: 1; }
.research-showcase .interview-hero h1 em {
  color: #94651e;
  text-shadow: 0 2px 20px rgba(196,138,46,.08);
}
.research-showcase .hero-badges span { box-shadow: inset 0 1px 0 rgba(255,255,255,.75); }
.research-showcase .story-steps {
  transform-style: preserve-3d;
  transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
  transition: transform .14s ease-out;
}
.research-showcase .story-steps li {
  --card-angle: -2.4deg;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(115deg, #fffaf2 20%, #f6eddf 100%);
  border-color: rgba(196,138,46,.22);
  box-shadow: 0 2px 0 rgba(255,255,255,.9) inset, 0 4px 5px rgba(67,44,12,.04), 0 22px 32px -18px rgba(67,44,12,.38);
  transform: none;
  rotate: var(--card-angle);
  translate: 0 0;
  transition: rotate var(--motion-base) var(--motion-ease), translate var(--motion-base) var(--motion-ease), box-shadow var(--motion-base) var(--motion-ease);
}
.research-showcase .story-steps li:nth-child(2) { --card-angle: 1.8deg; }
.research-showcase .story-steps li:nth-child(3) { --card-angle: -1.7deg; }
.research-showcase .story-steps li:nth-child(4) { --card-angle: 2.6deg; }
.research-showcase .story-steps li::after {
  content: "";
  position: absolute;
  inset: -60% -25%;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.65) 49%, transparent 63%);
  transform: translateX(-90%);
  transition: transform .65s var(--motion-ease);
}
.research-showcase .story-steps li > span {
  border: 1px solid rgba(196,138,46,.2);
  background: linear-gradient(145deg, #fffaf2, #ecd7b5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 3px 6px rgba(67,44,12,.05);
}
.research-showcase .section-label { display: flex; align-items: center; gap: 10px; }
.research-showcase .section-label::after { content: ""; width: 36px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.research-showcase .input-panel { box-shadow: inset 0 1px 0 #fffaf2, 0 2px 4px rgba(67,44,12,.025), 0 28px 65px -28px rgba(67,44,12,.16); }
.research-showcase .result-panel { box-shadow: inset 0 1px 0 #fffaf2, 0 14px 38px -30px rgba(67,44,12,.12); }
.research-showcase .market-quote-heading {
  position: relative;
  border-radius: 16px;
  padding: 22px 24px;
  border: 1px solid rgba(196,138,46,.2);
  background: radial-gradient(ellipse at 100% 0%, rgba(196,138,46,.1), transparent 65%), linear-gradient(120deg, #fffaf2, #f5eddf);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 12px 26px -21px rgba(67,44,12,.32);
}
.research-showcase .quote-card-value > strong,
.research-showcase .company-price-block > strong { font-variant-numeric: tabular-nums; }
.research-showcase .price-chart-card {
  border-color: rgba(196,138,46,.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 10px 22px -20px rgba(67,44,12,.24);
}
.research-showcase .price-chart-plot { border-radius: 12px; }
.research-showcase .demo-request:active,
.research-showcase .primary-button:active:not(:disabled) { transform: translateY(0) scale(.99); }
.research-showcase .company-report-card {
  position: relative;
  background: radial-gradient(ellipse at 100% 0%, rgba(196,138,46,.13), transparent 58%), linear-gradient(120deg, #f4ead9, #fffaf2 70%);
  border-color: rgba(196,138,46,.3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 22px 40px -28px rgba(67,44,12,.27);
}
.research-showcase .company-report-card::before {
  content: "";
  position: absolute;
  pointer-events: none;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196,138,46,.65), transparent);
}
.research-showcase .company-mark { box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 8px 14px -6px rgba(28,26,23,.3); }
.research-showcase .decision-brief-section { box-shadow: inset 0 1px 0 rgba(255,255,255,.9); }
.research-showcase .stage:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -17px;
  width: 16px;
  height: 1px;
  background: var(--line);
}
.research-showcase .stage.is-complete::before { background: rgba(47,107,73,.4); }
.research-showcase .stage.is-active { box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 7px 18px -12px rgba(196,138,46,.5); }
.research-showcase.has-motion-controller .stage.is-active::after { animation: none; }
.research-showcase.has-motion-controller .report-content:not(.hidden) > .company-report-card { animation: none; }
.research-showcase .is-evidence-focus { outline: 1px solid rgba(196,138,46,.5); outline-offset: 5px; }
.research-showcase .evidence-reference.is-evidence-selected { background: var(--gold-soft); border-color: var(--gold); box-shadow: 0 0 0 3px rgba(196,138,46,.1); }
.research-showcase .evidence-dialog { box-shadow: inset 0 1px 0 #fff, 0 25px 90px rgba(44,33,18,.24); }
.research-showcase .evidence-dialog::backdrop { background: rgba(44,33,18,.28); }
.research-showcase :is(.favorite-asset-button, .ghost-button, .secondary-button, .primary-button, .demo-request) {
  transition: transform var(--motion-base) var(--motion-ease), box-shadow var(--motion-base) var(--motion-ease), border-color var(--motion-fast) ease, background-color var(--motion-fast) ease;
}
.research-showcase :is(.ghost-button, .secondary-button, .favorite-asset-button):active:not(:disabled) { transform: scale(.98); }
.research-showcase :is(button, summary, a):focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.research-showcase .report-details > summary { transition: background var(--motion-base) var(--motion-ease); }
.research-showcase .report-details > summary::after { transition: border-color var(--motion-fast) ease, background var(--motion-fast) ease; }
.research-showcase .report-details[open] > summary::after { background: rgba(255,250,242,.8); border-color: rgba(196,138,46,.4); color: #8a5d13; }
@media (hover: hover) and (pointer: fine) {
  .research-showcase .story-steps li:hover { rotate: 0deg; translate: 0 -7px; box-shadow: 0 1px 0 #fff inset, 0 24px 38px -18px rgba(67,44,12,.34); }
  .research-showcase .story-steps li:hover::after { transform: translateX(90%); }
  .research-showcase .demo-request:hover { transform: translateY(-3px); box-shadow: 0 12px 22px -14px rgba(67,44,12,.22); }
  .research-showcase .primary-button:hover:not(:disabled) { transform: translateY(-2px); }
  .research-showcase :is(.ghost-button, .secondary-button):hover:not(:disabled) { transform: translateY(-1px); }
}
@media (max-width: 800px) {
  .research-showcase .hero::before { top: 26%; width: 100%; height: 74%; opacity: .7; }
  .research-showcase .hero::after { inset: 30% 0 0; }
  .research-showcase .story-steps li,
  .research-showcase .story-steps li:nth-child(even) { transform: none; rotate: none; translate: none; }
  .research-showcase .story-steps { transform: none; }
}
@media (max-width: 540px) {
  .research-showcase .market-quote-heading { padding: 18px; border-radius: 12px; }
}
@media (max-width: 640px) {
  .research-showcase .stage:not(:last-child)::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .research-showcase .hero::before { transform: rotate(-16deg); }
  .research-showcase .hero::before,
  .research-showcase .hero::after { animation: none; }
  .research-showcase .story-steps,
  .research-showcase .story-steps li,
  .research-showcase .story-steps li:hover { transform: none; translate: none; rotate: none; }
  .research-showcase .story-steps li::after { display: none; }
}
@media print {
  .research-showcase .company-report-card::before { display: none; }
  .research-showcase .company-report-card { box-shadow: none; }
}
