:root {
  --bg: #e7ebf2;
  --bg-soft: #eef2f7;
  --bg-contrast: #f7f9fc;
  --text: #172132;
  --text-muted: #55637a;
  --line: rgba(72, 84, 103, 0.12);
  --line-strong: rgba(72, 84, 103, 0.22);
  --accent: #5f75c5;
  --accent-strong: #465da7;
  --text-measure: 88ch;
  --radius: 22px;
  --shadow-soft: 0 16px 36px rgba(31, 45, 73, 0.08);
  --shadow-card: 0 28px 76px rgba(13, 16, 23, 0.22);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', Inter, sans-serif;
  background: radial-gradient(circle at 12% 14%, rgba(95, 117, 197, 0.12), transparent 30%),
    radial-gradient(circle at 86% 8%, rgba(255, 255, 255, 0.48), transparent 24%),
    var(--bg);
  color: var(--text);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: -22%;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 22%, rgba(95, 117, 197, 0.16), transparent 28%),
    radial-gradient(circle at 76% 18%, rgba(255, 255, 255, 0.34), transparent 24%),
    radial-gradient(circle at 72% 76%, rgba(70, 93, 167, 0.10), transparent 30%);
  filter: blur(18px);
  opacity: 0.66;
  transform: translate3d(0, 0, 0);
}

.minimal-hero {
  background:
    radial-gradient(circle at top, rgba(95, 117, 197, 0.20) 0%, rgba(95, 117, 197, 0.06) 30%, rgba(231, 235, 242, 0) 58%),
    linear-gradient(180deg, #f7f9fd 0%, #edf1f7 48%, #e7ebf2 100%);
}

.section-shell {
  max-width: 1060px;
  padding-left: 1.05rem;
  padding-right: 1.05rem;
}

.hero-inner {
  padding-top: 2.65rem;
  padding-bottom: 0.95rem;
}

.publication-title,
.section-title,
.publication-authors,
.hero-buttons .button,
.bibtex-toolbar .button {
  font-family: 'Plus Jakarta Sans', Inter, sans-serif;
}

.publication-title {
  font-size: clamp(1.85rem, 3.85vw, 2.95rem);
  line-height: 1.04;
  letter-spacing: -0.038em;
  margin-bottom: 0.8rem !important;
  max-width: 31ch;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle {
  max-width: 48ch;
  margin: 0 auto 1rem;
  color: #314e83;
  font-family: 'Plus Jakarta Sans', Inter, sans-serif;
  font-size: clamp(1.16rem, 1.72vw, 1.34rem);
  line-height: 1.48;
  font-weight: 700;
  letter-spacing: -0.018em;
  text-wrap: balance;
}

.title-line-top,
.title-line-break {
  display: block;
  white-space: nowrap;
}

.publication-authors {
  font-size: 1.13rem;
  font-weight: 600;
  margin-bottom: 0.62rem;
  color: #122033;
}

.author-block {
  display: inline-block;
  margin: 0 0.36rem;
}

.publication-note {
  margin-top: -0.25rem;
  margin-bottom: 1rem;
  color: #647086;
  font-family: 'Plus Jakarta Sans', Inter, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.publication-institutions,
.footer-note p {
  color: var(--text-muted);
  font-family: 'Source Serif 4', Georgia, serif;
}

.section-copy,
.prose-block p,
.result-copy p,
.method-notes p {
  color: #000000;
  font-family: 'Source Serif 4', Georgia, serif;
  max-width: var(--text-measure);
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.publication-institutions {
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
  font-size: 1.04rem;
}

.button-row {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.hero-buttons .button {
  min-width: 98px;
  min-height: 42px;
  padding-inline: 1rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 999px;
  transition: transform 0.24s ease, border-color 0.24s ease, background-color 0.24s ease, color 0.24s ease, opacity 0.24s ease, box-shadow 0.24s ease;
}

.hero-buttons .button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(31, 45, 73, 0.14);
}

.hero-buttons .button.is-dark {
  background: #172132;
  color: #f7f9fc;
  border: 1px solid rgba(23, 33, 50, 0.26);
}

.hero-buttons .button.is-light {
  background: rgba(255, 255, 255, 0.62);
  color: #24324a;
  border: 1px solid rgba(72, 84, 103, 0.14);
}

.hero-buttons .button[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.8;
  box-shadow: none;
}

.hero-buttons .button-with-note {
  position: relative;
  margin-bottom: 0.92rem;
}

.hero-buttons .button-with-note::after {
  content: attr(data-note);
  position: absolute;
  top: calc(100% + 0.18rem);
  left: 50%;
  transform: translateX(-50%);
  color: #6c778d;
  font-family: 'Plus Jakarta Sans', Inter, sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.section {
  padding-top: 2.9rem;
  padding-bottom: 2.9rem;
  position: relative;
}

.section + .section {
  border-top: 1px solid rgba(72, 84, 103, 0.08);
}

.showcase-section,
.viewer-section,
.bibtex-section,
.text-section {
  background: transparent;
}

.narrow-column {
  max-width: 1024px;
  margin-left: auto;
  margin-right: auto;
}

.figure-column {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero-figure-column {
  max-width: 1024px;
  margin-left: auto;
  margin-right: auto;
}

.viewer-column {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.section-header {
  margin-bottom: 1.35rem;
}


.section-title {
  font-size: clamp(2rem, 3.15vw, 2.45rem);
  line-height: 1.08;
  margin-bottom: 0.82rem;
  color: var(--text);
  letter-spacing: -0.035em;
}

.section-copy,
.figure-caption,
.result-copy p,
.prose-block p,
.method-notes p {
  font-size: 1.28rem;
  line-height: 1.86;
  text-wrap: pretty;
}

.section-copy-stack {
  display: grid;
  gap: 0.22rem;
}

.paper-figure,
.bibtex-block {
  transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease, filter 0.26s ease;
}

.paper-figure {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: visible;
  background: #ffffff;
  backdrop-filter: none;
  padding: clamp(11px, 1.2vw, 16px);
  box-shadow: 0 14px 30px rgba(31, 45, 73, 0.07);
}

.paper-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0) 18%, rgba(255, 255, 255, 0.62) 44%, rgba(255, 255, 255, 0) 68%);
  opacity: 0;
  transform: translateX(-130%);
  transition: opacity 0.26s ease, transform 0.72s ease;
}

.paper-figure:hover,
.bibtex-block:hover {
  transform: translateY(-2px);
}

.paper-figure:hover {
  box-shadow: 0 20px 44px rgba(31, 45, 73, 0.11);
}

.paper-figure:hover::after {
  opacity: 1;
  animation: sheenSweep 0.86s ease both;
}

.paper-figure:hover img {
  transform: scale(1.006);
}

.paper-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
  border: 0;
  transition: transform 0.32s ease, filter 0.32s ease;
}

.hero-poster {
  border-color: rgba(95, 117, 197, 0.10);
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(31, 45, 73, 0.08);
}

.teaser-carousel {
  position: relative;
  display: block;
}

.teaser-carousel-track {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.95fr) minmax(0, 0.82fr);
  align-items: center;
  gap: 1rem;
  min-height: 24rem;
}

.teaser-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.teaser-slide-current {
  min-height: 24rem;
}

.teaser-slide-preview {
  min-height: 24rem;
  cursor: pointer;
}

.teaser-slide-inner {
  width: 100%;
  will-change: transform, opacity, filter;
}

.teaser-carousel.is-sliding-next .teaser-slide-current .teaser-slide-frame {
  animation: teaserSlideFrameFromRight 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.teaser-carousel.is-sliding-prev .teaser-slide-current .teaser-slide-frame {
  animation: teaserSlideFrameFromLeft 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.teaser-carousel.is-sliding-next .teaser-slide-preview .teaser-slide-inner {
  animation: teaserSlidePreviewFromRight 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.teaser-carousel.is-sliding-prev .teaser-slide-preview .teaser-slide-inner {
  animation: teaserSlidePreviewFromLeft 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.teaser-slide-current .teaser-slide-inner {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 1.15rem 1.1rem 1rem;
}

.teaser-slide-preview .teaser-slide-inner {
  opacity: 0.42;
  filter: blur(2.2px) saturate(0.9);
  transform: scale(0.92);
  transform-origin: center center;
}

.teaser-slide-frame {
  display: grid;
  place-items: center;
}

.teaser-slide-frame-single {
  height: 18.8rem;
}

.teaser-slide-frame-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  height: 18.8rem;
}

.teaser-image-shell {
  display: flex;
  justify-content: center;
  align-items: center;
}

.teaser-slide-image {
  display: block;
  width: 100%;
  height: auto;
  max-width: 16.8rem;
  max-height: 18.8rem;
  object-fit: contain;
}

.teaser-slide-frame-pair .teaser-slide-image {
  max-width: 13.8rem;
}

.teaser-slide-meta {
  margin-top: 0.8rem;
  min-height: 1.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.teaser-slide-category {
  display: inline-block;
  color: #4a5c7d;
  font-family: 'Plus Jakarta Sans', Inter, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.teaser-carousel-caption {
  text-align: center;
}

@keyframes teaserSlideFrameFromRight {
  0% {
    opacity: 0.04;
    transform: translateX(4.2rem) scale(0.965);
  }

  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes teaserSlideFrameFromLeft {
  0% {
    opacity: 0.04;
    transform: translateX(-4.2rem) scale(0.965);
  }

  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes teaserSlidePreviewFromRight {
  0% {
    opacity: 0.08;
    filter: blur(5px) saturate(0.82);
    transform: translateX(2.6rem) scale(0.97);
  }

  100% {
    opacity: 0.42;
    filter: blur(2.2px) saturate(0.9);
    transform: scale(0.92);
  }
}

@keyframes teaserSlidePreviewFromLeft {
  0% {
    opacity: 0.08;
    filter: blur(5px) saturate(0.82);
    transform: translateX(-2.6rem) scale(0.97);
  }

  100% {
    opacity: 0.42;
    filter: blur(2.2px) saturate(0.9);
    transform: scale(0.92);
  }
}

.prototype-showcase {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.82rem;
  margin-top: 1.5rem;
  padding-top: 1.02rem;
}

.prototype-showcase::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(147, 160, 181, 0) 0%, rgba(147, 160, 181, 0.54) 16%, rgba(124, 138, 162, 0.78) 50%, rgba(147, 160, 181, 0.54) 84%, rgba(147, 160, 181, 0) 100%);
  pointer-events: none;
}

.prototype-storyboard {
  display: block;
}

.prototype-showcase [data-showcase-step] {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transform-origin: center center;
  will-change: transform, filter, opacity;
  transition: opacity 0.34s ease, filter 0.34s ease, transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.34s ease, border-color 0.34s ease, background 0.34s ease;
}

.prototype-showcase.is-autoplaying [data-showcase-step]:not(.is-active-step),
.prototype-showcase.is-interacting [data-showcase-step]:not(.is-active-step) {
  opacity: 0.62;
  filter: saturate(0.76) blur(0.85px);
  transform: scale(0.987);
}

.prototype-storyboard-body {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "upper hero"
    "lower hero";
  gap: 0.86rem 0.96rem;
  align-items: stretch;
}

.prototype-storyboard-upper-row {
  grid-area: upper;
}

.prototype-storyboard-lower-row {
  grid-area: lower;
}

.prototype-showcase-hero {
  grid-area: hero;
  position: relative;
  margin: 0;
  padding: 0.56rem 0.6rem 0.6rem;
  border: 1px solid rgba(72, 84, 103, 0.1);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 248, 252, 0.94) 100%);
  box-shadow: 0 20px 42px rgba(31, 45, 73, 0.1);
  display: grid;
  gap: 0.28rem;
  overflow: hidden;
  align-self: stretch;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.prototype-showcase-hero::before,
.showcase-requirement::before,
.showcase-concepts::before,
.showcase-media-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 16% 18%, rgba(95, 117, 197, 0.12), transparent 34%);
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
}

.prototype-showcase [data-showcase-step]::after {
  content: "";
  position: absolute;
  inset: -22%;
  background: linear-gradient(116deg, transparent 24%, rgba(255, 255, 255, 0.0) 38%, rgba(255, 255, 255, 0.66) 48%, rgba(152, 173, 245, 0.34) 53%, rgba(255, 255, 255, 0.16) 60%, transparent 74%);
  opacity: 0;
  transform: translateX(-145%) skewX(-14deg);
  transform-origin: center;
  pointer-events: none;
  mix-blend-mode: screen;
  z-index: 0;
}

.prototype-showcase [data-showcase-step].is-active-step::after {
  opacity: 1;
  animation: showcaseSpotlightSweep 1.82s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.prototype-showcase-hero img,
.showcase-media-panel img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.prototype-showcase-hero img {
  position: relative;
  z-index: 1;
  box-shadow: 0 18px 38px rgba(25, 34, 51, 0.12);
}

.prototype-showcase-hero figcaption {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #4f5d73;
  font-family: 'Plus Jakarta Sans', Inter, sans-serif;
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.42;
}

.showcase-stage-heading {
  display: inline-flex;
  align-items: center;
  gap: 0.56rem;
  position: relative;
  z-index: 1;
}

.showcase-requirement .showcase-stage-heading,
.showcase-concepts .showcase-stage-heading,
.showcase-media-panel .showcase-stage-heading,
.prototype-showcase-hero .showcase-stage-heading {
  gap: 0.62rem;
}

.showcase-brainstorming-badge {
  width: 1.5rem;
  height: 1.5rem;
  margin-left: 0.08rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 20px rgba(31, 45, 73, 0.08), inset 0 0 0 1px rgba(72, 84, 103, 0.08);
  overflow: hidden;
}

.showcase-brainstorming-badge img {
  width: 66%;
  height: auto;
}

.showcase-stage-number {
  min-width: 1.8rem;
  height: 1.8rem;
  padding: 0 0.46rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(95, 117, 197, 0.1);
  color: #4b62ac;
  font-family: 'Plus Jakarta Sans', Inter, sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.04em;
  transition: background-color 0.28s ease, color 0.28s ease, transform 0.28s ease;
}

.showcase-section-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: #49576e;
  font-family: 'Plus Jakarta Sans', Inter, sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.showcase-requirement .showcase-section-label,
.showcase-concepts .showcase-section-label,
.showcase-media-panel .showcase-section-label,
.prototype-showcase-hero .showcase-section-label {
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: #344155;
}

.showcase-output-panel .showcase-stage-heading {
  justify-content: flex-start;
}

.showcase-output-panel .showcase-section-label-rich {
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  text-transform: none;
  letter-spacing: 0.02em;
  line-height: 1.02;
  font-size: 0.9rem;
  gap: 0.08rem;
}

.showcase-section-label-rich {
  gap: 0.06rem;
}

.showcase-brand-word {
  color: #425fbd;
  font-weight: 900;
}

.showcase-section-label-text {
  display: inline-flex;
  align-items: center;
  color: #344155;
  font-weight: 850;
}

.showcase-requirement,
.showcase-concepts,
.showcase-media-panel {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 249, 252, 0.93) 100%);
  border: 1px solid rgba(72, 84, 103, 0.1);
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(31, 45, 73, 0.07);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.showcase-requirement.is-active-step,
.showcase-concepts.is-active-step,
.showcase-media-panel.is-active-step,
.prototype-showcase-hero.is-active-step {
  z-index: 2;
  border-color: rgba(95, 117, 197, 0.34);
  box-shadow: 0 28px 54px rgba(31, 45, 73, 0.16), inset 0 0 0 1px rgba(95, 117, 197, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(244, 247, 252, 0.98) 100%);
  transform: translateY(-5px) scale(1.015);
}

.showcase-requirement.is-active-step::before,
.showcase-concepts.is-active-step::before,
.showcase-media-panel.is-active-step::before,
.prototype-showcase-hero.is-active-step::before {
  opacity: 1;
}

.showcase-requirement.is-active-step .showcase-stage-number,
.showcase-concepts.is-active-step .showcase-stage-number,
.showcase-media-panel.is-active-step .showcase-stage-number,
.prototype-showcase-hero.is-active-step .showcase-stage-number {
  background: rgba(95, 117, 197, 0.18);
  color: #324c9b;
  transform: scale(1.04);
}

.showcase-requirement {
  padding: 0.74rem 0.92rem 0.8rem;
}

.showcase-prompt-shell {
  margin-top: 0.48rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.66rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.showcase-prompt-avatar {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(95, 117, 197, 0.08);
  box-shadow: inset 0 0 0 1px rgba(95, 117, 197, 0.12);
  overflow: hidden;
}

.showcase-prompt-avatar img {
  display: block;
  width: 82%;
  height: auto;
}

.showcase-prompt-shell p {
  margin: 0;
  color: #172132;
  font-family: 'Plus Jakarta Sans', Inter, sans-serif;
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.48;
  text-wrap: pretty;
}

.showcase-concepts {
  padding: 0.78rem 0.92rem 0.84rem;
}

.showcase-concept-list {
  display: grid;
  gap: 0.44rem;
  margin-top: 0.52rem;
  position: relative;
  z-index: 1;
}

.showcase-concept-option {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.66rem;
  align-items: start;
  padding: 0.62rem 0.76rem;
  border: 1px solid rgba(72, 84, 103, 0.1);
  border-radius: 16px;
  background: rgba(249, 250, 252, 0.94);
}

.showcase-concept-option.is-selected {
  grid-template-columns: auto 1fr auto;
  border-color: rgba(118, 173, 99, 0.36);
  background: linear-gradient(180deg, rgba(241, 248, 238, 0.98) 0%, rgba(246, 251, 244, 0.96) 100%);
  box-shadow: inset 0 0 0 1px rgba(118, 173, 99, 0.14), 0 14px 28px rgba(118, 173, 99, 0.08);
}

.showcase-concept-key {
  width: 1.68rem;
  height: 1.68rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(95, 117, 197, 0.08);
  color: #5a6880;
  font-family: 'Plus Jakarta Sans', Inter, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
}

.showcase-concept-option.is-selected .showcase-concept-key {
  background: rgba(118, 173, 99, 0.16);
  color: #4e7d3f;
}

.showcase-concept-option strong {
  display: block;
  margin: 0 0 0.06rem;
  color: #172132;
  font-family: 'Plus Jakarta Sans', Inter, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.28;
}

.showcase-concept-option p {
  margin: 0;
  color: #586273;
  font-family: 'Plus Jakarta Sans', Inter, sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.46;
}

.showcase-selected-pill {
  align-self: center;
  padding: 0.26rem 0.54rem;
  border-radius: 999px;
  background: rgba(118, 173, 99, 0.16);
  color: #4e7d3f;
  font-family: 'Plus Jakarta Sans', Inter, sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.showcase-media-strip {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(0, 1.42fr);
  gap: 0.96rem;
  min-height: 15.8rem;
}

.showcase-media-panel {
  padding: 0.56rem 0.6rem 0.6rem;
  display: grid;
  gap: 0.18rem;
}

.showcase-output-panel img {
  min-height: 10.9rem;
  object-fit: contain;
}

.showcase-fabrication-note {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  color: #586273;
  font-family: 'Plus Jakarta Sans', Inter, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.28;
  position: relative;
  z-index: 1;
}


.showcase-fabrication-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.22rem;
  align-items: stretch;
}

.showcase-fabrication-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.prototype-showcase-caption {
  margin-top: 1rem;
  text-align: center;
}

@media (prefers-reduced-motion: no-preference) {
  .showcase-requirement.is-active-step,
  .showcase-concepts.is-active-step,
  .showcase-media-panel.is-active-step,
  .prototype-showcase-hero.is-active-step {
    animation: showcaseStepGlow 1.8s ease-in-out infinite alternate;
  }
}

@keyframes showcaseStepGlow {
  from {
    box-shadow: 0 22px 40px rgba(31, 45, 73, 0.12), inset 0 0 0 1px rgba(95, 117, 197, 0.08);
  }
  to {
    box-shadow: 0 32px 62px rgba(31, 45, 73, 0.18), inset 0 0 0 1px rgba(95, 117, 197, 0.14);
  }
}

@keyframes showcaseSpotlightSweep {
  0% {
    transform: translateX(-148%) skewX(-14deg);
    opacity: 0;
  }
  18% {
    opacity: 0.18;
  }
  46% {
    opacity: 0.92;
  }
  100% {
    transform: translateX(136%) skewX(-14deg);
    opacity: 0;
  }
}


.hero-figure,
.method-figure,
.result-figure {
  margin: 0;
}

.result-figure.figure-column {
  margin-left: auto;
  margin-right: auto;
}

.figure-caption {
  max-width: 68ch;
  margin: 0.88rem auto 0;
  font-family: 'Plus Jakarta Sans', Inter, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.68;
  letter-spacing: -0.01em;
  color: #586273;
}

.teaser-caption,
.centered-caption {
  text-align: center;
}

.caption-line-break {
  display: block;
  margin-top: 0.22rem;
}

.prose-block {
  display: grid;
  gap: 0.22rem;
}

#abstract .prose-block p {
  font-size: 1.12rem;
  line-height: 1.6;
  color: #636b78;
  max-width: calc(var(--text-measure) * 1.142857);
}


.method-stack {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  margin-bottom: 1.1rem;
}

.core-ideas {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 0.96rem 1.08rem;
  margin-bottom: 1.22rem;
}

.core-idea {
  background: transparent;
  border: 0;
  border-top: 2px solid rgba(95, 117, 197, 0.22);
  border-radius: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  padding: 0.96rem 0.22rem 0.02rem;
  box-shadow: none;
}

.core-idea h3 {
  margin: 0 0 0.36rem;
  color: #172132;
  font-family: 'Plus Jakarta Sans', Inter, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.018em;
}

.core-idea p {
  margin: 0;
  color: #223149;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.99rem;
  line-height: 1.62;
  text-wrap: pretty;
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
}


.method-notes {
  margin-top: 0.52rem;
  padding-top: 0.88rem;
  border-top: 1px solid rgba(72, 84, 103, 0.16);
  display: grid;
  gap: 0.1rem;
}

.method-subhead {
  margin-bottom: 0.34rem !important;
  color: #172132 !important;
  font-family: 'Plus Jakarta Sans', Inter, sans-serif !important;
  font-size: 1.28rem !important;
  font-weight: 750;
  letter-spacing: -0.012em;
  text-transform: none;
}

.method-notes p,
.prose-block p,
.result-copy p {
  margin-bottom: 0.60rem;
}

.results-stack {
  display: flex;
  flex-direction: column;
  gap: 1.52rem;
}



.result-card {
  display: flex;
  flex-direction: column;
  gap: 0.82rem;
}

.result-copy {
  display: flex;
  flex-direction: column;
}

.viewer-shell {
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.viewer-shell iframe {
  display: block;
  width: 100%;
  min-height: 680px;
  border: 0;
  background: #f5f6f7;
}

.viewer-note {
  max-width: 78ch;
  margin: 0.78rem auto 0;
  color: #586273;
  font-family: 'Plus Jakarta Sans', Inter, sans-serif;
  font-size: 0.96rem;
  font-weight: 500;
  line-height: 1.7;
  text-align: left;
}

.viewer-note-caveat {
  color: #8a6336;
}

.bibtex-toolbar {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 0.95rem;
}

.copy-bibtex-btn {
  background: rgba(255, 255, 255, 0.62);
  color: #24324a;
  border: 1px solid rgba(72, 84, 103, 0.14);
}

.bibtex-block {
  background: rgba(255, 255, 255, 0.8);
  color: #172132;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.1rem 1.2rem;
  overflow-x: auto;
  box-shadow: var(--shadow-soft);
}

.footer-note {
  background: transparent;
  padding-top: 1.2rem;
  padding-bottom: 1.8rem;
}

.footer-note p {
  font-size: 0.98rem;
}

@media (prefers-reduced-motion: no-preference) {
  body::before {
    animation: auroraDrift 18s ease-in-out infinite alternate;
  }

  .section-shell {
    animation: softRise 0.56s ease both;
  }

  .section:nth-of-type(2) .section-shell { animation-delay: 0.04s; }
  .section:nth-of-type(3) .section-shell { animation-delay: 0.08s; }
  .section:nth-of-type(4) .section-shell { animation-delay: 0.12s; }
  .section:nth-of-type(5) .section-shell { animation-delay: 0.16s; }
}

@keyframes softRise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes auroraDrift {
  from {
    transform: translate3d(-1.5%, -0.8%, 0) scale(1);
  }
  to {
    transform: translate3d(1.4%, 1%, 0) scale(1.04);
  }
}

@keyframes sheenSweep {
  from {
    transform: translateX(-130%);
  }
  to {
    transform: translateX(130%);
  }
}

@media (max-width: 768px) {
  .hero-inner {
    padding-top: 1.35rem;
  }

  .button-row,
  .publication-institutions {
    justify-content: center;
  }

  .section {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .section-shell {
    padding-left: 0.95rem;
    padding-right: 0.95rem;
  }

  .publication-title {
    max-width: 14.5ch;
  }

  .hero-subtitle {
    max-width: 25.5rem;
    font-size: 1.05rem;
    margin-bottom: 0.88rem;
    line-height: 1.5;
  }

  .publication-note {
    font-size: 0.78rem;
    margin-bottom: 0.92rem;
  }

  .core-idea p {
    font-size: 0.98rem;
  }

  .core-ideas {
    grid-template-columns: 1fr;
  }

  .teaser-carousel-track {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .prototype-storyboard-body {
    grid-template-columns: 1fr;
    grid-template-rows: auto 3rem auto 3rem auto auto;
    grid-template-areas:
      "upper"
      "lane"
      "hero"
      "bridge"
      "lower"
      "lower";
  }

  .prototype-showcase-hero {
    max-width: 34rem;
    justify-self: center;
  }

  .teaser-slide-preview {
    display: none;
  }

  .prototype-showcase {
    gap: 0.82rem;
  }

  .showcase-media-strip,
  .showcase-fabrication-grid {
    grid-template-columns: 1fr;
  }

  .teaser-slide-current,
  .teaser-slide-current .teaser-slide-inner,
  .teaser-slide-frame-single,
  .teaser-slide-frame-pair {
    min-height: auto;
  }

  .teaser-slide-current .teaser-slide-inner {
    padding: 0.9rem 0.85rem 0.85rem;
  }

  .teaser-slide-frame-pair {
    gap: 0.55rem;
  }

  .teaser-slide-image {
    max-width: 100%;
    max-height: 15rem;
  }

  .teaser-slide-frame-pair .teaser-slide-image {
    max-width: 100%;
  }

  .title-line-top,
  .title-line-break {
    display: inline;
    white-space: normal;
  }

  .section-copy,
  .figure-caption,
  .result-copy p,
  .prose-block p,
  .method-notes p {
    font-size: 1.1rem;
  }


  .paper-figure {
    padding: 11px;
  }

  .viewer-shell iframe {
    min-height: 520px;
  }

  .viewer-note {
    font-size: 0.92rem;
  }
}
