:root { --accent: #6c5ce7; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { color: #363636; font-family: 'Noto Sans', sans-serif; line-height: 1.5; }
a { color: #5845ca; }
a:focus-visible { outline: 3px solid #e5b947; outline-offset: 4px; }
.container.is-max-desktop { max-width: 1200px !important; }
.project-nav { font-family: 'Noto Sans', sans-serif; position: sticky; top: 0; z-index: 20; display: flex; align-items: stretch; min-height: 3.25rem; background: var(--accent); }
.project-nav a { display: flex; align-items: center; color: white; white-space: nowrap; padding: .5rem .75rem; }
.project-nav a:hover, .project-nav a:focus-visible { background: rgba(255, 255, 255, .1); }
.brand { font-size: 1rem; font-weight: 700; }
.nav-links { display: flex; flex-wrap: wrap; }
.project-nav .group-link { margin-left: auto; }
.hero-section { margin-top: 2rem; padding: 1rem 1.5rem 0; display: flex; flex-direction: column; align-items: center; background: #fff; }
.hero-content { max-width: 1000px; margin: 0 auto 1.5rem; text-align: center; }
.hero-image { display: block; width: 100%; max-width: 800px; height: auto; }
.hero-content .title { font-family: 'Google Sans', sans-serif; font-weight: 600; color: #363636; }
.hero-content .subtitle { font-family: 'Noto Sans', sans-serif; font-weight: 400; line-height: 1.25; margin-bottom: 0; }
.section { padding: 3rem 1.5rem; }
.section-header { border-bottom: 3px solid var(--accent); padding-bottom: .5rem; margin-bottom: 2rem !important; }
.figure-panel { margin-top: 2rem; padding: 1rem; border: 1px solid #e6e6e6; border-radius: 8px; background: white; }
.figure-panel img { display: block; width: 100%; }
figcaption { margin-top: 1rem; text-align: center; color: #666; font-size: .95rem; }
.soft-section { background: #f8f8fc; }
.intro { margin-bottom: 1.5rem; font-size: 1.25rem; }
.video-wrapper { aspect-ratio: 16 / 9; width: 100%; max-width: 800px; margin: 1.5rem auto 0; background: #191820; border-radius: 8px; overflow: hidden; }
.video-wrapper iframe { width: 100%; height: 100%; border: 0; }
.video-link { max-width: 800px; text-align: right; margin: .75rem auto 1.5rem; }
.scroll-hint { color: #666; font-size: .9rem; margin: 1.5rem 0 .5rem; }
.scrollable-row { display: flex; flex-wrap: nowrap; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; gap: 1.5rem; padding: .5rem .5rem 1.5rem; margin-bottom: 2rem; scrollbar-width: thin; scrollbar-color: var(--accent) #f5f5f5; }
.scrollable-row:focus-visible { outline: 1px solid #aaa; outline-offset: 2px; }
.scrollable-row::-webkit-scrollbar { height: 8px; }
.scrollable-row::-webkit-scrollbar-track { background: #f5f5f5; border-radius: 4px; }
.scrollable-row::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 4px; }
.scrollable-item { flex: 0 0 450px; width: 450px; max-width: 90vw; min-width: 0; padding: 1.5rem; background: #fafafa; border: 1px solid #e6e6e6; border-radius: 8px; transition: all .3s ease; }
.scrollable-item:hover { box-shadow: 0 4px 8px rgba(0, 0, 0, .1); transform: translateY(-2px); }
.scrollable-item .title { margin-bottom: 1.5rem; }
.scrollable-item img { display: block; width: 100%; height: auto; border-radius: 8px; box-shadow: 0 4px 8px rgba(0, 0, 0, .1); }
.work-demonstration { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid #e6e6e6; }
.paper-card { border: 1px solid #e6e6e6; border-radius: 8px; padding: 1.5rem; margin-bottom: 2rem; background: #fafafa; transition: all .3s ease; }
.paper-title { color: var(--accent); line-height: 1.125; margin-bottom: .75rem !important; }
.authors { font-weight: 600; }
.paper-venue { color: #666; font-style: italic; margin: .3rem 0 1rem; }
.paper-links .button { margin: .25rem .25rem .25rem 0; }
.button.is-red { background-color: #d32f2f; border-color: transparent; color: #fff; }
.button.is-red:hover { background-color: #b71c1c; }
.footer { padding: 3rem 1.5rem 6rem; }
@media (max-width: 700px) {
  .project-nav { flex-wrap: wrap; }
  .nav-links { order: 3; width: 100%; font-size: .8rem; }
  .project-nav .group-link { font-size: .9rem; }
  .hero-section { padding: 1rem 1rem 0; }
  .hero-content { margin-bottom: 1.25rem; }
  .section { padding: 2.5rem 1rem; }
  .paper-card { padding: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

#demonstration .paper-jump { font-size: 1rem; line-height: 1.5; margin-top: 1rem; margin-bottom: 0; }

.drone-figure, .research-figure { max-width: 800px; margin: 1.5rem auto 0; }
.drone-figure img, .research-figure img { display: block; width: 100%; height: auto; border-radius: 8px; }

.paper-card:hover { box-shadow: 0 4px 8px rgba(0, 0, 0, .1); transform: translateY(-2px); }
