:root {
  --blue: #007fc4;
  --gray: #aab8bc;
  --yellow: #f8bd01;
  --green: #20c29f;
  --orange: #ec6f45;
  --ink: #173247;
  --muted: #586b78;
  --line: #dce7eb;
  --paper: #ffffff;
  --mist: #f5f9fb;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif; line-height: 1.65; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: #006394; }
img, video { display: block; max-width: 100%; }
button, video { font: inherit; }
section[id] { scroll-margin-top: 5rem; }

.page-width { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.page-width.narrow { width: min(850px, calc(100% - 48px)); }
.skip-link { position: absolute; left: 12px; top: -100px; z-index: 20; padding: 8px 14px; background: var(--blue); color: white; }
.skip-link:focus { top: 12px; color: white; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header { position: relative; z-index: 5; background: rgba(255,255,255,.95); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-mark { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; }
.site-mark:hover { color: var(--blue); }
.mark-symbol { width: 27px; height: 27px; display: inline-grid; place-items: center; border-radius: 8px; background: var(--yellow); color: var(--ink); font-size: 1.1rem; }
.site-header nav { display: flex; gap: clamp(10px, 1.7vw, 24px); }
.site-header nav a, .home-link { color: var(--muted); text-decoration: none; font-size: .8rem; font-weight: 600; white-space: nowrap; }
.site-header nav a:hover, .home-link:hover { color: var(--blue); }
.home-link { border-left: 1px solid var(--line); padding-left: 24px; }

.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #f8fcfe 0%, #ffffff 100%); border-bottom: 1px solid var(--line); }
.hero-glow { position: absolute; width: 600px; height: 600px; top: -430px; left: 50%; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(0,127,196,.14), rgba(0,127,196,0) 68%); pointer-events: none; }
.hero-inner { position: relative; padding: clamp(46px, 5vw, 68px) 0 50px; text-align: center; }
.venue-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) 150px; align-items: center; gap: 12px; margin-bottom: 22px; }
.venue-badge { grid-column: 2; display: inline-flex; align-items: center; justify-self: center; gap: 9px; max-width: 100%; margin: 0; padding: 9px 15px; border: 1px solid #e9d07d; border-radius: 999px; background: #fff8df; color: #695416; font-size: .77rem; font-weight: 700; letter-spacing: .015em; line-height: 1.4; }
.conference-logo { grid-column: 3; justify-self: end; display: block; width: 150px; }
.conference-logo img { width: 100%; height: auto; }
.conference-logo:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; border-radius: 4px; }
.badge-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }
.section-index { color: var(--blue); font-size: .77rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3, h4, p { overflow-wrap: break-word; }
h1, h2, h3, h4 { line-height: 1.18; }
.no-break { white-space: nowrap; }
.hero h1 { max-width: 1120px; margin: 0 auto 26px; font-size: clamp(1.6rem, 3.15vw, 2.5rem); font-weight: 800; letter-spacing: -.035em; text-wrap: balance; }
.authors { display: flex; justify-content: center; align-items: baseline; flex-wrap: wrap; column-gap: 4px; row-gap: 3px; font-size: clamp(.97rem, 1.55vw, 1.16rem); font-weight: 650; }
.authors a { text-decoration-thickness: 1px; }
.authors sup, .affiliations sup { margin-left: 1px; font-size: .68em; }
.author-comma { margin-right: 8px; }
.affiliations { display: flex; justify-content: center; flex-wrap: wrap; column-gap: 18px; row-gap: 3px; margin: 12px 0 18px; color: var(--muted); font-size: .85rem; }
.partner-logos { width: min(932px, 100%); display: grid; grid-template-columns: 1fr 1.2fr 1.5fr 1.3fr; align-items: center; justify-items: center; gap: 48px; margin: 0 auto 22px; padding: 18px 24px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.partner-logo { display: flex; align-items: center; justify-content: center; width: 100%; min-width: 0; }
.partner-logo img { width: 100%; height: auto; object-fit: contain; }
.partner-logo-gvlab img { max-width: 148px; }
.partner-logo-utokyo img { max-width: 178px; }
.partner-logo-kimlab img { max-width: 222px; }
.partner-logo-uiuc img { max-width: 192px; }
.partner-logo:is(a):focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; border-radius: 3px; }
.hero-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; }
.action-pill { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 8px 16px; border-radius: 999px; background: #353535; color: white; white-space: nowrap; }
.action-icon { flex: none; display: block; width: 18px; height: 18px; }
.action-name { color: inherit; font-size: .95rem; font-weight: 550; line-height: 1.2; }
.unavailable { cursor: default; }
.action-link { text-decoration: none; transition: background-color .2s; }
.action-link:hover { background: #222; color: white; }
.action-link:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.hero-actions-status { margin: 7px 0 0; color: var(--muted); font-size: .74rem; line-height: 1.35; }
.hero-motion-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 25px auto 0; }
.hero-motion { position: relative; overflow: hidden; aspect-ratio: 119 / 67; border-radius: 10px; background: #e3e9ec; }
.hero-motion video { width: 100%; height: 100%; object-fit: cover; }
.hero-motion-label { position: absolute; top: 0; left: 0; z-index: 1; padding: 7px 16px 8px 12px; border-left: 5px solid var(--emotion); background: rgba(255,255,255,.96); color: var(--ink); font-size: clamp(1rem, 1.8vw, 1.25rem); font-weight: 750; line-height: 1.2; }

.section { padding: clamp(46px, 5vw, 68px) 0; }
.section-heading { margin-bottom: 25px; }
.section-heading.centered { max-width: 785px; margin-inline: auto; text-align: center; }
.section-heading h2 { margin: 0 0 13px; font-size: clamp(1.75rem, 3.4vw, 2.75rem); letter-spacing: -.038em; }
.section-heading p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.8; text-align: left; }
.abstract-section .section-heading { margin-bottom: 0; }
.paper-figure { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: 0 16px 36px rgba(16,65,88,.05); }
.figure-image-link { display: block; }
.paper-figure img { width: 100%; height: auto; }
.intro-figure { max-width: 720px; margin-inline: auto; }
.paper-figure figcaption { padding: 13px 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .84rem; line-height: 1.65; text-align: left; }
.paper-figure figcaption math { font-size: 1.12em; }
.figure-scroll { overflow-x: auto; }

.video-section { background: var(--mist); }
.video-embed { aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid #28526b; border-radius: 18px; background: #102c42; box-shadow: 0 22px 42px rgba(15,54,76,.16); }
.video-embed iframe { display: block; width: 100%; height: 100%; border: 0; }
.video-external-link { margin: 12px 2px 0; text-align: right; font-size: .86rem; }
.video-external-link a { font-weight: 650; }

.approach-section { background: #fff; }
.motions-section { background: var(--mist); }
.emotion-list { display: grid; gap: 22px; }
.emotion-card { --emotion: var(--blue); padding: 23px 26px 27px; border: 1px solid var(--line); border-left: 5px solid var(--emotion); border-radius: 14px; background: white; box-shadow: 0 12px 28px rgba(15,54,76,.04); }
.emotion-angry { --emotion: var(--orange); }
.emotion-happy { --emotion: var(--blue); }
.emotion-neutral { --emotion: var(--gray); }
.emotion-sad { --emotion: var(--green); }
.emotion-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 18px; }
.emotion-number { color: var(--emotion); font-size: .76rem; font-weight: 800; letter-spacing: .14em; }
.emotion-heading h3 { margin: 0; font-size: 1.44rem; letter-spacing: -.02em; }
.emotion-line { flex: 1; height: 1px; margin-left: 7px; background: var(--line); }
.motion-grid { display: grid; grid-template-columns: minmax(0, 1.333333fr) minmax(0, 1.553398fr) minmax(0, 1.776119fr); gap: 15px; }
.motion-item { min-width: 0; }
.motion-item h4 { margin: 0 0 9px; color: var(--muted); font-size: .76rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.video-shell { position: relative; overflow: hidden; aspect-ratio: 119 / 67; border-radius: 8px; background: #142b3c; }
.motion-four-three .video-shell { aspect-ratio: 4 / 3; }
.motion-simulation .video-shell { aspect-ratio: 160 / 103; }
.motion-item video { width: 100%; height: 100%; background: #142b3c; object-fit: contain; }
.motion-simulation video { object-fit: cover; object-position: center bottom; }
.video-start { display: none; }
.video-enhanced .video-shell:not(.is-playing) .video-start { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; width: 100%; border: 0; background: transparent; cursor: pointer; }
.video-enhanced .video-start:hover { background: rgba(8,36,54,.08); }
.video-enhanced .video-start:focus-visible { outline: 3px solid var(--yellow); outline-offset: -5px; }
.video-enhanced .video-start > span:last-child { display: none; }
.video-start-icon { display: grid; place-items: center; width: 46px; height: 46px; border: 1.5px solid rgba(255,255,255,.9); border-radius: 50%; background: rgba(15,44,62,.82); box-shadow: 0 3px 12px rgba(0,0,0,.2); color: white; }
.video-start-icon svg { display: block; width: 20px; height: 20px; transform: translateX(1px); }

.results-section { background: white; }
.result-block { padding: 12px 0 30px; }
.result-block + .result-block { border-top: 1px solid var(--line); padding-top: 30px; }
.result-copy { max-width: 785px; margin: 0 auto 24px; text-align: left; }
.result-copy h3 { margin: 0 0 15px; font-size: clamp(1.5rem, 2.5vw, 2.14rem); letter-spacing: -.035em; }
.result-copy p { margin: 0; color: var(--muted); line-height: 1.8; }
.chart-figure { box-shadow: none; }
.chart-figure figcaption { font-size: .74rem; }
.cue-evidence { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); align-items: stretch; gap: 22px; }
.cue-table-scroll { display: flex; min-width: 0; max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: white; }
.cue-table-scroll:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.cue-table { flex: 1 0 560px; width: 100%; min-width: 560px; height: 100%; border-collapse: collapse; font-size: .88rem; line-height: 1.35; font-variant-numeric: tabular-nums; }
.cue-table th, .cue-table td { padding: 13px 7px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.cue-table thead th { border-bottom: 2px solid var(--gray); text-align: center; font-weight: 800; }
.cue-table thead th:first-child, .cue-table tbody th { text-align: left; }
.cue-table thead th:not(:first-child)::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 6px; border-radius: 50%; background: var(--cue-color); }
.cue-table tbody th { font-weight: 650; }
.cue-table tbody td { text-align: center; }
.cue-table .robot-measures > * { border-top: 2px solid var(--gray); }
.cue-table tbody tr:last-child > * { border-bottom: 0; }
.cue-table .cue-angry { --cue-color: var(--orange); }
.cue-table .cue-happy { --cue-color: var(--blue); }
.cue-table .cue-neutral { --cue-color: var(--gray); }
.cue-table .cue-sad { --cue-color: var(--green); }
.pitch-figure { min-width: 0; }

.citation-section { padding-top: 34px; background: #fff; }
.citation-card { padding: 40px 24px; border: 1px dashed #9bbccf; border-radius: 16px; background: #f5fbfe; text-align: center; }
.citation-card h2 { margin: 10px 0 8px; font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -.03em; }
.citation-card p { margin: 0; color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); background: #f7fafb; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 25px; padding-block: 25px; }
.footer-inner p { margin: 0; color: var(--muted); font-size: .78rem; }

@media (max-width: 1179px) {
  .cue-evidence { grid-template-columns: 1fr; align-items: start; }
  .cue-table { height: auto; }
  .pitch-figure { width: min(100%, 720px); margin-inline: auto; }
}

@media (max-width: 1099px) {
  .venue-row { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
  .conference-logo { order: -1; align-self: flex-end; width: 132px; }
  .venue-badge { align-self: center; }
}

@media (max-width: 820px) {
  .site-header nav { display: none; }
  .home-link { margin-left: auto; }
  .wide-figure img { min-width: 720px; }
  .extra-wide-figure img { min-width: 960px; }
}

@media (max-width: 610px) {
  .page-width, .page-width.narrow { width: min(100% - 32px, 1120px); }
  .header-inner { min-height: 58px; }
  .home-link { padding-left: 12px; font-size: .73rem; }
  .hero-inner { padding-block: 42px 44px; }
  .venue-badge { border-radius: 14px; text-align: left; }
  .hero h1 { font-size: clamp(1.9rem, 7.8vw, 2.2rem); }
  .affiliations { flex-direction: column; gap: 0; }
  .partner-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 28px; padding: 18px 14px; }
  .hero-motion-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 24px; }
  .motion-grid { grid-template-columns: 1fr; gap: 18px; }
  .emotion-card { padding: 19px 17px 22px; }
  .paper-figure figcaption { padding: 11px 13px; }
  .pitch-figure img { width: 560px; min-width: 560px; max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
