:root { --paper:#f8f9f6; --ink:#26332e; --muted:#647169; --accent:#315c45; --line:#dce2da; --tint:#edf1e8; --width:1160px; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:90px; }
body { margin:0; color:var(--ink); background:var(--paper); font:18px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif; -webkit-font-smoothing:antialiased; }
a { color:var(--accent); text-underline-offset:4px; }
a:hover { color:#142d21; }
button { font:inherit; cursor:pointer; }
button,a { -webkit-tap-highlight-color:transparent; }
:focus-visible { outline:3px solid #62803f; outline-offset:5px; }
figure,p,h1,h2,h3,h4 { margin:0; }
img,video { display:block; max-width:100%; }
img { height:auto; }
h1,h2,h3,h4 { line-height:1.2; }
h2 { font-size:clamp(25px,3vw,35px); font-weight:600; letter-spacing:-1px; }
h3 { font-size:22px; font-weight:600; letter-spacing:-.35px; }
.page-width { width:min(var(--width),calc(100% - 64px)); margin-inline:auto; }
.reading-width { width:min(760px,calc(100% - 48px)); margin-inline:auto; }
.section-space { padding-block:78px; }

/* header */
.site-header { min-height:66px; border-bottom:1px solid var(--line); background:rgba(248,249,246,.97); position:sticky; top:0; z-index:5; }
.nav-inner { width:min(1280px,calc(100% - 64px)); min-height:66px; margin:auto; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.wordmark { font-weight:650; color:var(--ink); text-decoration:none; font-size:19px; letter-spacing:-.6px; white-space:nowrap; }
nav { display:flex; flex-wrap:wrap; gap:10px 22px; align-items:center; justify-content:flex-end; }
nav a { text-decoration:none; color:var(--muted); font-size:14px; white-space:nowrap; font-family:"IBM Plex Sans","Segoe UI",Helvetica,Arial,sans-serif; font-weight:500; letter-spacing:.04em; }   /* menu in a slightly different face (user 2026-11-02) */
nav a:hover { color:var(--ink); }

/* hero */
.hero { text-align:center; padding-top:44px; padding-bottom:32px; }
.hero h1 { max-width:1020px; margin:auto; font-size:clamp(25px,3.2vw,37px); font-weight:550; letter-spacing:-1px; line-height:1.25; text-wrap:balance; }
.authors { margin-top:20px; font-size:17px; color:var(--muted); }
.authors strong { color:var(--ink); font-weight:600; }
.authors sup { font-size:10px; }
.affiliations { margin-top:6px; font-size:15px; color:var(--muted); }
.venue { margin-top:10px; font-size:15px; color:var(--muted); }
.paper-links { margin-top:16px; display:flex; gap:10px; justify-content:center; flex-wrap:wrap; }
.paper-link { padding:7px 18px; border:1px solid var(--accent); border-radius:999px; font-size:16px; font-weight:600; text-decoration:none; }
.paper-link:hover { background:var(--tint); }
.paper-link.soon { border-color:var(--line); color:var(--muted); cursor:default; }
.paper-link.soon:hover { background:transparent; }

/* featured video + picker */
.showcase { padding-bottom:58px; }
.showcase-layout { display:flex; flex-direction:column; align-items:center; gap:16px; }
.featured-demo { min-width:0; width:min(100%,calc((100vh - 120px) * 16 / 9)); }
.video-shell { position:relative; overflow:hidden; border-radius:5px; background:#25313a; }
.video-shell video { width:100%; aspect-ratio:16/9; object-fit:contain; }

/* abstract */
.abstract-section { border-block:1px solid var(--line); }
.abstract-section h2 { margin-bottom:24px; }
.abstract-section p + p { margin-top:14px; }

/* method */
figcaption { color:var(--muted); font-size:15px; line-height:1.6; margin-top:9px; }
.method-figure { margin-top:24px; max-width:960px; }
.method-figure img { border:1px solid var(--line); border-radius:5px; background:#fff; }
.method-overview { max-width:900px; margin-top:22px; font-size:17px; color:var(--ink); line-height:1.65; text-align:left; }
.contributions-title { margin-top:30px; }
.contributions { padding-left:20px; margin-bottom:0; }
.contributions li + li { margin-top:12px; }
.method-contributions { max-width:900px; }

/* method stages and collapsed data blocks */
.stages { max-width:960px; margin:18px 0 0; padding-left:22px; color:var(--muted); }
.stages li + li { margin-top:8px; }
.stages strong { color:var(--ink); }
details.data { max-width:100%; margin-top:22px; border:1px solid var(--line); border-radius:7px; background:#fff; padding:10px 18px; }
details.data summary { cursor:pointer; font-weight:600; font-size:17px; padding:6px 0; }
details.data[open] summary { border-bottom:1px solid var(--line); margin-bottom:10px; }
details.data .section-description { margin-bottom:12px; }
details.data .table-note { margin-top:8px; }

/* experiments */
.experiment-section { border-top:1px solid var(--line); }
.section-description { color:var(--muted); max-width:860px; margin-top:13px; margin-bottom:30px; font-size:17px; }
.media-group { padding-block:30px 37px; border-top:1px solid var(--line); }
.media-group:first-of-type { border-top:0; padding-top:6px; }
.media-group-header { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:14px; }
.media-group-title { font-size:22px; line-height:1.35; letter-spacing:-.25px; }
.media-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px 22px; }
.media-grid.single { grid-template-columns:1fr; }
.media-card { min-width:0; }
.media-card img { width:100%; border:1px solid var(--line); border-radius:5px; background:#fff; }
.media-card-bar { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:baseline; gap:4px 12px; margin-bottom:8px; min-height:22px; }
.media-name { font-size:17px; font-weight:600; line-height:1.4; }
.media-metrics { display:flex; flex-wrap:wrap; gap:3px 12px; align-items:baseline; justify-content:flex-end; color:var(--muted); font-size:14px; line-height:1.4; font-variant-numeric:tabular-nums; }
.media-metrics strong { color:var(--ink); font-weight:600; }
.speed-tag { color:var(--accent); white-space:nowrap; }
.section-reference { max-width:900px; padding-top:16px; margin-top:11px; border-top:1px solid var(--line); color:var(--muted); font-size:15px; line-height:1.55; }
.section-reference span { color:var(--ink); font-weight:600; }

/* looping clips of every setting */
.loops-grid { gap:26px 22px; }
.loop-card video { width:100%; aspect-ratio:1200/296; border:1px solid var(--line); border-radius:5px; background:#fff; }
.loops-grid.wave .loop-card video { aspect-ratio:1200/374; }   /* the wave-line loops are 1200 x 374 (letterboxed with white bands until 2026-11-18) */
.loop-card .media-name .speed-tag { margin-left:8px; font-size:14px; font-weight:600; }
.loop-toggle { flex:none; padding:5px 14px; border:1px solid var(--line); border-radius:999px; background:transparent; color:var(--muted); font-size:14px; }
.loop-toggle:hover { background:var(--tint); color:var(--ink); }
.loop-toggle[aria-pressed="false"] { border-color:var(--accent); color:var(--accent); }

/* metric tables */
.choice-table { overflow-x:auto; margin:6px 0 16px; }
.metrics-table { border-collapse:collapse; font-size:15px; min-width:640px; font-variant-numeric:tabular-nums; }
.metrics-table th, .metrics-table td { padding:5px 12px; border-bottom:1px solid var(--line); text-align:right; }
.metrics-table thead th { color:var(--muted); font-weight:600; font-size:14px; }
.metrics-table th:first-child, .metrics-table td:first-child { text-align:left; }
.metrics-table td:first-child { color:var(--ink); font-weight:600; white-space:nowrap; }   /* setting names on one line (user 2026-11-02) */
.metrics-table tr.group td { color:var(--muted); font-style:italic; font-weight:400; padding-top:12px; }
.table-note { color:var(--muted); font-size:15px; margin-top:-6px; margin-bottom:10px; max-width:900px; }

/* highlights */
.highlights { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; margin:6px 0 34px; max-width:1000px; }
.highlight { border:1px solid var(--line); border-radius:7px; background:#fff; padding:14px 16px; }
.highlight .num { font-size:26px; font-weight:650; color:var(--accent); letter-spacing:-.5px; line-height:1.1; }
.highlight h3 { font-size:15px; margin:6px 0 6px; }
.highlight p { font-size:13px; color:var(--muted); line-height:1.55; }

/* citation */
pre { margin:0; background:#fff; border:1px solid var(--line); border-radius:7px; padding:14px 16px; overflow:auto; font-size:15px; line-height:1.5; max-width:760px; }
code { font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; }

footer { border-top:1px solid var(--line); display:flex; justify-content:space-between; align-items:center; gap:24px; padding-block:27px; }
footer p,footer > a:last-child { color:var(--muted); font-size:14px; }
.skip-link { position:fixed; top:-80px; left:20px; padding:12px 20px; background:white; z-index:20; }
.skip-link:focus { top:10px; }

@media (max-width:900px) {
  nav { gap:8px 14px; }
  .highlights { grid-template-columns:1fr; }
}
@media (max-width:600px) {
  html { scroll-padding-top:105px; }
  body { font-size:17px; }
  .page-width { width:calc(100% - 32px); }
  .nav-inner { width:calc(100% - 32px); flex-wrap:wrap; padding-block:9px; gap:3px; }
  nav { width:100%; justify-content:flex-start; gap:3px 12px; }
  nav a { font-size:12px; }
  .wordmark { font-size:17px; }
  .hero { padding-top:34px; padding-bottom:30px; }
  .hero h1 { font-size:25px; letter-spacing:-.6px; }
  .authors { font-size:13px; }
  .section-space { padding-block:52px; }
  .media-grid { grid-template-columns:1fr; gap:22px; }
  .media-group { padding-block:24px 29px; }
  .media-group-title { font-size:20px; }
  .media-metrics { justify-content:flex-start; }
  footer { flex-wrap:wrap; gap:12px; }
  footer p { order:3; width:100%; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }

/* centred layout (2026-11-18, user: "전체적으로 가운데정렬"): headings, descriptions, figures, lists, tables and the citation sit in the middle of
   the page; running prose and list text stay left-aligned inside their centred columns */
h2, .media-group-title, figcaption, .section-description, .table-note { text-align:center; }
.media-group-header { justify-content:center; position:relative; }
.media-group-header .loop-toggle { position:absolute; right:0; top:50%; transform:translateY(-50%); }
.section-description, .method-figure, .method-overview, .method-contributions, .section-reference, .table-note, pre, .metrics-table { margin-inline:auto; }
.stages { margin:18px auto 0; }
.highlights { margin:6px auto 34px; }
footer { justify-content:center; gap:28px; }
@media (max-width:600px) {
  .media-group-header { flex-wrap:wrap; }
  .media-group-header .loop-toggle { position:static; transform:none; }
}


/* symbols of the method figure */
details.data.symbols { max-width:900px; margin:26px auto 0; }
.symbol-list { display:grid; grid-template-columns:max-content 1fr; gap:6px 18px; margin:0; font-size:16px; line-height:1.5; }
.symbol-list dt { font-family:"Times New Roman",Times,serif; font-size:17px; white-space:nowrap; text-align:right; }
.symbol-list dd { margin:0; color:var(--ink); }
@media (max-width:600px) { .symbol-list { grid-template-columns:1fr; gap:2px; } .symbol-list dt { text-align:left; margin-top:8px; } }
