/* Opening section: author-supplied Stage I and Stage II diagrams.
   The PNG files are unchanged. The CSS filter adapts their screen presentation
   to the dark theme; links open the original, unfiltered image. */

.paper-hero {
  position:relative;
  overflow:hidden;
  padding-top:44px;
  background:radial-gradient(ellipse 70% 42% at 50% 30%,#15152780,transparent 78%),#070709;
}

.paper-hero-intro {
  position:relative;
  text-align:center;
  max-width:1100px;
  margin-inline:auto;
}

.paper-hero-badge {
  display:inline-flex;
  align-items:center;
  gap:11px;
  border:1px solid #a7b0ff29;
  border-radius:30px;
  padding:5px 14px;
  background:#a7b0ff08;
  color:#d4d8ff;
  font-size:10px;
  font-weight:600;
  line-height:1.6;
  letter-spacing:.08em;
}

.paper-hero-badge i {
  width:5px;
  height:5px;
  border-radius:50%;
  background:#a7b0ff;
  box-shadow:0 0 12px #a7b0ff66;
}

.paper-hero-badge span {
  width:1px;
  height:12px;
  background:#a7b0ff4d;
}

.paper-hero .paper-hero-title {
  margin:17px 0 0;
  color:#fff;
  font-family:var(--display);
  font-weight:600;
  font-size:clamp(54px,6.1vw,82px);
  line-height:1.16;
  letter-spacing:-.065em;
  text-wrap:balance;
}

.paper-hero-title .title-second {
  white-space:nowrap;
}

.paper-hero-subtitle {
  margin-top:13px;
  color:#d2d2db;
  font-size:clamp(18px,2vw,25px);
  line-height:1.45;
  letter-spacing:-.025em;
  text-wrap:balance;
}

.paper-hero-author {
  display:flex;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  gap:10px 18px;
  margin-top:21px;
  line-height:1.5;
}

.paper-hero-author strong {
  color:#fff;
  font-weight:600;
  font-size:16px;
}

.paper-hero-author span {
  color:#a4a4b1;
  font-size:13px;
}

.paper-hero-author span::before {
  content:"";
  display:inline-block;
  height:12px;
  width:1px;
  margin-right:18px;
  background:#393940;
  vertical-align:-1px;
}

.paper-hero-links {
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:9px;
  margin-top:22px;
}

.paper-hero-links .button {
  min-height:42px;
  font-size:12px;
  padding:8px 17px;
}

.paper-hero-venue {
  color:#92929f;
  font-size:10px;
  line-height:1.6;
  margin-top:14px;
}

/* Both stages remain visible. The two cards become a vertical sequence on phones. */
.stage-showcase {
  position:relative;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px;
  margin-top:36px;
}

.stage-showcase::before {
  content:"";
  position:absolute;
  inset:-1px 4% auto;
  height:1px;
  background:linear-gradient(90deg,transparent,#a7b0ff55,transparent);
  pointer-events:none;
}

.stage-panel {
  position:relative;
  min-width:0;
  overflow:hidden;
  border:1px solid #a7b0ff29;
  border-radius:15px;
  background:#111116;
  box-shadow:0 14px 46px #0004;
}

.stage-panel-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  min-height:56px;
  padding:13px 20px;
  border-bottom:1px solid #ffffff0c;
}

.stage-panel-head h2 {
  margin:0;
  color:#f0f0f5;
  font-family:var(--body);
  font-size:14px;
  font-weight:500;
  line-height:1.4;
  letter-spacing:0;
}

.stage-panel-head h2 span {
  display:inline-block;
  color:#a7b0ff;
  font-size:10px;
  letter-spacing:.1em;
  margin-right:12px;
  font-weight:600;
}

.stage-panel-enlarge {
  display:inline-flex;
  align-items:center;
  gap:6px;
  flex-shrink:0;
  color:#b8b8c5;
  text-decoration:none;
  font-size:10px;
  line-height:1.5;
  transition:color .2s;
}

.stage-panel-enlarge svg {
  width:13px;
  height:13px;
}

.stage-panel-enlarge:hover {
  color:#fff;
}

.stage-panel-image {
  display:block;
  margin:0;
  padding:14px 12px 4px;
  text-decoration:none;
  background:#111116;
}

.stage-panel-image img {
  width:100%;
  height:auto;
  aspect-ratio:2048 / 1130;
  object-fit:contain;
  filter:invert(1) hue-rotate(180deg);
  mix-blend-mode:screen;
}

.stage-panel figcaption {
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  padding:12px 20px 15px;
  color:#a6a6b4;
  font-size:11px;
  line-height:1.6;
}

.stage-panel figcaption strong {
  color:#d5d5e1;
  font-size:12px;
  font-weight:500;
}

.stage-panel figcaption span {
  color:#a7b0ff;
  font-size:9px;
  font-weight:500;
  letter-spacing:.09em;
}

.paper-hero-summary {
  display:flex;
  align-items:center;
  gap:28px;
  margin-top:26px;
  padding-block:24px;
  border-bottom:1px solid var(--line);
}

.paper-hero-summary>span {
  flex-shrink:0;
  color:#a7b0ff;
  font-size:9px;
  letter-spacing:.12em;
}

.paper-hero-summary p {
  flex:1;
  color:#aaaab6;
  font-size:13px;
  line-height:1.8;
}

.paper-hero-summary strong {
  color:#e6e6ed;
  font-weight:500;
}

.paper-hero-summary>a {
  flex-shrink:0;
  color:#c1c1d1;
  text-decoration:none;
  font-size:24px;
  line-height:1;
}

@media (max-width:900px) {
  .paper-hero {
    padding-top:38px;
  }
  .paper-hero .paper-hero-title {
    font-size:clamp(52px,7vw,70px);
  }
  .paper-hero-subtitle {
    font-size:21px;
  }
  .stage-showcase {
    gap:14px;
    margin-top:30px;
  }
  .stage-panel-head {
    padding:12px 15px;
    min-height:62px;
  }
  .stage-panel-head h2 {
    font-size:12px;
  }
  .stage-panel-head h2 span {
    display:block;
    margin-bottom:3px;
  }
  .stage-panel-image {
    padding:11px 6px 3px;
  }
  .stage-panel figcaption {
    padding:10px 15px 14px;
  }
  .stage-panel figcaption strong {
    font-size:10px;
  }
  .stage-panel figcaption span {
    font-size:8px;
  }
  .paper-hero-summary {
    gap:20px;
    margin-top:22px;
  }
}

@media (max-width:700px) {
  .paper-hero {
    padding-top:34px;
  }
  .paper-hero-badge {
    font-size:9px;
    padding:5px 12px;
    gap:9px;
  }
  .paper-hero .paper-hero-title {
    max-width:600px;
    margin:19px auto 0;
    font-size:clamp(43px,9.6vw,65px);
    line-height:1.13;
    letter-spacing:-.06em;
  }
  .paper-hero-title .title-second {
    display:block;
  }
  .paper-hero-subtitle {
    max-width:420px;
    margin:17px auto 0;
    font-size:19px;
    line-height:1.5;
  }
  .paper-hero-author {
    flex-direction:column;
    gap:6px;
    margin-top:20px;
  }
  .paper-hero-author strong {
    font-size:16px;
  }
  .paper-hero-author span {
    font-size:11px;
  }
  .paper-hero-author span::before {
    display:none;
  }
  .paper-hero-links {
    gap:7px;
    margin-top:21px;
  }
  .paper-hero-links .button {
    min-height:40px;
    padding:7px 12px;
    font-size:11px;
    gap:6px;
  }
  .paper-hero-links .button svg {
    width:14px;
    height:14px;
  }
  .paper-hero-venue {
    max-width:330px;
    margin:13px auto 0;
    font-size:9px;
  }
  .stage-showcase {
    grid-template-columns:1fr;
    gap:16px;
    margin-top:27px;
  }
  .stage-panel-head {
    min-height:52px;
    padding:12px 15px;
  }
  .stage-panel-head h2 {
    font-size:13px;
  }
  .stage-panel-head h2 span {
    display:inline-block;
    margin:0 9px 0 0;
    font-size:9px;
  }
  .stage-panel-image {
    padding:10px 6px 1px;
  }
  .stage-panel figcaption strong {
    font-size:11px;
  }
  .stage-panel figcaption {
    padding:11px 15px 13px;
  }
  .paper-hero-summary {
    display:grid;
    grid-template-columns:1fr auto;
    gap:11px 20px;
    margin-top:4px;
    padding-block:23px;
  }
  .paper-hero-summary>span {
    grid-column:1 / -1;
  }
  .paper-hero-summary p {
    font-size:12px;
    line-height:1.8;
  }
}

@media (max-width:390px) {
  .paper-hero-links {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    max-width:300px;
    margin-inline:auto;
  }
  .paper-hero-links .button {
    font-size:11px;
  }
  .stage-panel-head h2 {
    font-size:12px;
  }
  .stage-panel-enlarge {
    font-size:9px;
  }
}

@media print {
  .paper-hero,
  .stage-panel,
  .stage-panel-image {
    background:white;
  }
  .stage-panel-image img {
    filter:none;
    mix-blend-mode:normal;
  }
  .paper-hero .paper-hero-title,
  .paper-hero-subtitle,
  .paper-hero-author strong,
  .stage-panel-head h2,
  .stage-panel figcaption strong {
    color:black;
  }
  .stage-panel {
    break-inside:avoid;
    box-shadow:none;
  }
}
