/* =====================================================================
   Public page: full-height hero (title left, live point map right), promo video,
   heading shine, card tilt. Loaded after main.css.
   ===================================================================== */
.hero-top { min-height: min(100vh, 980px); display: flex; align-items: center; position: relative; overflow: hidden; padding: 72px 0 64px; }
.hero-top .hero-body { display: none; }
.hero-veil, #hero-cloud.is-on { opacity: 1; }
.hero-blobs { position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: .6; }   /* soft radial gradients, no filter: moved on the compositor only */
.hero-blobs i { position: absolute; border-radius: 50%; display: block; will-change: transform; }
.hero-blobs i:nth-child(1) { width: 520px; height: 520px; left: -120px; top: -140px; background: radial-gradient(circle, rgba(87,194,166,.55), rgba(87,194,166,0) 70%); animation: blob1 18s ease-in-out infinite alternate; }
.hero-blobs i:nth-child(2) { width: 460px; height: 460px; right: 6%; top: 18%; background: radial-gradient(circle, rgba(47,143,122,.35), rgba(47,143,122,0) 70%); animation: blob2 22s ease-in-out infinite alternate; }
.hero-blobs i:nth-child(3) { width: 420px; height: 420px; right: 30%; bottom: -160px; background: radial-gradient(circle, rgba(217,115,63,.22), rgba(217,115,63,0) 70%); animation: blob3 26s ease-in-out infinite alternate; }
@keyframes blob1 { to { transform: translate(120px, 80px) scale(1.15); } }
@keyframes blob2 { to { transform: translate(-90px, 60px) scale(.9); } }
@keyframes blob3 { to { transform: translate(140px, -60px) scale(1.1); } }
.hero-grid { position: relative; z-index: 1; width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 40px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 32px; align-items: center; }
.hero-copy { text-align: left; }
.hero-mark { width: 64px; height: 64px; display: block; margin-bottom: 22px; border-radius: 15px; box-shadow: 0 10px 30px -12px rgba(31,41,55,.5); }
.title.hero-title { font-size: clamp(3.4rem, 7.4vw, 6.4rem) !important; line-height: .98; letter-spacing: -0.045em; font-weight: 800 !important; margin-bottom: 1.1rem !important; }
.hero-sub { font-size: clamp(1.25rem, 2.1vw, 1.75rem) !important; font-weight: 550 !important; color: #374151 !important; max-width: 560px; line-height: 1.32 !important; margin-bottom: 1.4rem !important; }
.hero-copy .publication-authors { text-align: left; }
.hero-copy #authors { font-size: 1.22rem; font-weight: 600; color: #1f2937; }
.hero-copy #authors .author-block a { color: #1f2937 !important; }
.hero-copy #authors div { margin-top: .25rem !important; color: #6b7280 !important; font-size: 1rem; font-weight: 500; }
.hero-copy .publication-links { margin-top: 1.4rem; text-align: left; }
.hero-copy .link-block .button { transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s; }
.hero-copy .link-block a.button:hover { box-shadow: 0 10px 24px -12px rgba(31,41,55,.7); }
.hero-stage { position: relative; height: min(78vh, 720px); min-height: 380px; border-radius: 28px;
  background: radial-gradient(120% 90% at 50% 40%, rgba(255,255,255,.95), rgba(255,255,255,.55) 70%, rgba(255,255,255,0)); }
.hero-stage #hero-cloud { position: absolute; inset: 0; width: 100% !important; height: 100% !important; opacity: 0; transition: opacity 1s ease; pointer-events: auto; cursor: grab; touch-action: pan-y; }
.hero-stage #hero-cloud:active { cursor: grabbing; }
.hero-stage.is-on #hero-cloud { opacity: 1; }
.hero-chips { position: absolute; left: 50%; top: 18px; transform: translateX(-50%); display: grid; z-index: 2; }
.hero-chips span { grid-area: 1 / 1; justify-self: center; padding: 6px 16px; border-radius: 999px; font-size: 15px; font-weight: 650; color: #fff; white-space: nowrap; opacity: 0; transform: translateY(6px) scale(.96); transition: opacity .35s, transform .35s cubic-bezier(.2,.8,.2,1); }
.hero-chips .chip-f { background: rgba(55,65,81,.92); }
.hero-chips .chip-o { background: #2f8f7a; box-shadow: 0 8px 20px -10px rgba(47,143,122,.9); }
.hero-chips span.is-on { opacity: 1; transform: none; }
.hero-legend { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); font-size: 12.5px; color: #6b7280; background: rgba(255,255,255,.8); border-radius: 999px; padding: 3px 12px; z-index: 2; white-space: nowrap; }
.hero-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: #d63027; margin-right: 6px; vertical-align: -1px; }
.hero-stage .hero-note { right: 14px; bottom: 12px; z-index: 3; backdrop-filter: none; background: rgba(255,255,255,.88); }   /* no blur over a live canvas */
.hero-stage.no-gl { display: none; }
.hero-down { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 2; color: #9ca3af; font-size: 18px; animation: hint-down 2.4s ease-in-out infinite; }
.hero-down:hover { color: #2f8f7a; }
@keyframes hint-down { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* heading shine: a light band runs across once (the text stays solid ink underneath) */
.section .title.is-3, .hero-title { position: relative; }
.section .title.is-3.is-shine::after, .hero-title.is-shine::after { content: ""; position: absolute; inset: -4px -10px; pointer-events: none;
  background: linear-gradient(105deg, rgba(255,255,255,0) 30%, rgba(255,255,255,.85) 48%, rgba(87,194,166,.35) 52%, rgba(255,255,255,0) 70%);
  background-size: 250% 100%; background-position: 120% 0; mix-blend-mode: lighten; animation: shine 1.4s cubic-bezier(.2,.7,.2,1) .1s 1 both; }
@keyframes shine { 0% { background-position: 120% 0; opacity: 1; } 85% { opacity: 1; } 100% { background-position: -40% 0; opacity: 0; } }
.section .title.is-3::before { content: ""; position: absolute; left: 50%; bottom: -10px; height: 3px; width: 0; border-radius: 2px; transform: translateX(-50%);
  background: linear-gradient(90deg, #57c2a6, #2f8f7a); transition: width .7s cubic-bezier(.2,.8,.2,1) .25s; }
.section .title.is-3.is-shine::before { width: 56px; }

/* promo video */
.video-section { padding-top: 2rem; padding-bottom: 3.4rem; }
.vid-frame { position: relative; max-width: 1180px; margin: 0 auto; border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 9; background: #0f172a;
  box-shadow: 0 2px 6px rgba(0,0,0,.06), 0 40px 90px -40px rgba(31,41,55,.55); isolation: isolate; }
.vid-frame::before { content: ""; position: absolute; left: 50%; top: 50%; width: 150%; aspect-ratio: 1; margin: -75% 0 0 -75%; z-index: -1; will-change: transform;
  background: conic-gradient(#57c2a6, #2f8f7a, #d9733f, #57c2a6); animation: spin-ring 8s linear infinite; }   /* a rotated layer, not a repainted gradient */
@keyframes spin-ring { to { transform: rotate(360deg); } }
.vid-frame video { position: absolute; inset: 3px; width: calc(100% - 6px); height: calc(100% - 6px); border-radius: 19px; object-fit: cover; background: #fff; display: block; }
.vid-play { position: absolute; left: 50%; top: 50%; width: 104px; height: 104px; margin: -52px 0 0 -52px; border-radius: 50%; border: 0; cursor: pointer; z-index: 2;
  background: rgba(255,255,255,.94); color: #1f2937; font-size: 32px; display: flex; align-items: center; justify-content: center; padding-left: 6px;
  box-shadow: 0 16px 40px -12px rgba(0,0,0,.45); transition: transform .3s cubic-bezier(.2,.8,.2,1), background .3s; }
.vid-play:hover { transform: scale(1.08); background: #fff; color: #2f8f7a; }
.vid-ring { position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(255,255,255,.9); animation: ring 2.2s cubic-bezier(.2,.7,.2,1) infinite; pointer-events: none; }
@keyframes ring { from { transform: scale(.9); opacity: .9; } to { transform: scale(1.45); opacity: 0; } }
.vid-frame.is-playing .vid-play { opacity: 0; pointer-events: none; transform: scale(.8); }

.keynums > div, .gcard, .an-card, .explorer { transform-style: preserve-3d; will-change: transform; }

@media screen and (max-width: 1023px) {
  .hero-top { min-height: 0; padding: 64px 0 40px; }
  .hero-grid { grid-template-columns: 1fr; padding: 0 20px; gap: 8px; }
  .hero-copy { text-align: center; }
  .hero-mark { margin: 0 auto 16px; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-copy .publication-authors, .hero-copy .publication-links { text-align: center; }
  .hero-stage { height: 380px; min-height: 0; }
  .hero-down { display: none; }
}
@media screen and (max-width: 768px) { .hero-stage { height: 320px; } .vid-play { width: 78px; height: 78px; margin: -39px 0 0 -39px; font-size: 24px; } .vid-frame { border-radius: 14px; } }
@media (prefers-reduced-motion: reduce) {
  .hero-blobs i, .hero-down, .vid-ring, .vid-frame::before { animation: none !important; }
  .section .title.is-3::before { transition: none; }
}

.affil-logo { height: 26px; width: auto; vertical-align: -7px; margin-right: 8px; }
.publication-authors a.affil-link { color: #4b5563 !important; }
.publication-authors a.affil-link:hover { color: #22705f !important; text-decoration: none; }
