:root {
  color-scheme: light;
  --ink: #252b37;
  --muted: #687080;
  --accent: #2a50bd;
  --line: #e0e4eb;
  --soft: #f5f7fb;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; line-height: 1.6; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration: underline; }
button, select { font: inherit; }
button, summary, select { cursor: pointer; }
button, a, select, summary, audio, [tabindex] { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #7299ec; outline-offset: 4px; }
.wrap { width: min(1140px, calc(100% - 64px)); margin-inline: auto; }
.site-nav { height: 68px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.site-nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
.site-nav a:hover { color: var(--accent); }
.site-nav > div { display: flex; gap: 28px; }
.site-nav .wordmark { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 750; font-size: 17px; letter-spacing: -.5px; }
.wordmark svg { width: 27px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; }
.paper-header { text-align: center; padding: 35px 0 42px; }
.venue { margin: 0 0 9px; color: var(--accent); font-size: 12px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
h1 { margin: 0 0 6px; font-size: 55px; letter-spacing: -2.5px; line-height: 1.15; font-weight: 750; }
.paper-title { margin: 0; font-size: clamp(21px, 2.3vw, 29px); font-weight: 550; line-height: 1.3; letter-spacing: -.6px; }
.authors { margin: 20px 0 0; font-size: 14px; line-height: 1.7; }
sup { font-size: .7em; line-height: 0; }
.author-note { margin: 5px 0 18px; font-size: 11px; color: var(--muted); }
.paper-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 17px; border: 1px solid #cdd4df; border-radius: 6px; color: var(--ink); font-size: 13px; font-weight: 550; text-decoration: none; }
.button:hover { text-decoration: none; background: var(--soft); }
.button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.button.primary { color: #fff; background: var(--accent); border-color: var(--accent); }
.button.primary:hover { background: #203e97; }
.button.primary svg { fill: currentColor; stroke: none; }
.section-heading { display: flex; gap: 16px; align-items: baseline; justify-content: space-between; }
h2 { font-size: 25px; letter-spacing: -.6px; line-height: 1.3; margin: 0; font-weight: 650; }
.section-heading > span, .section-heading > a { font-size: 12px; color: var(--muted); }
.section-heading > a { color: var(--accent); text-decoration: none; }
.section-intro { margin: 10px 0 25px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.comparison-grid { display: grid; grid-template-columns: 186px repeat(3, minmax(0, 1fr)); column-gap: 22px; }
.comparison-head { align-items: end; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 650; }
.comparison-head > span:first-child { font-size: 12px; font-weight: 500; color: var(--muted); }
.comparison-head small { display: block; margin-top: 3px; font-size: 11px; font-weight: 400; color: var(--muted); }
.ours-label { color: var(--accent); }
.scene { border-bottom: 1px solid var(--line); padding-top: 20px; }
.scene-info h3 { margin: 0; font-size: 17px; font-weight: 650; letter-spacing: -.4px; }
.scene-info .condition { margin: 2px 0 8px; color: var(--muted); font-size: 12px; }
.scene-number { color: #9098a7; font-size: 11px; font-weight: 500; margin-right: 5px; vertical-align: 2px; }
.mic-picker { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; }
.mic-picker select { color: var(--ink); background: #fff; border: 1px solid #ccd3de; border-radius: 4px; padding: 4px 22px 4px 8px; font-size: 12px; min-height: 30px; }
.direction { font-size: 11px; color: var(--muted); margin: 7px 0 0; }
.track { min-width: 0; border-radius: 5px; transition: background-color .15s; padding: 0 0 6px; }
.track.is-playing { background: #edf2fc; }
.track h4 { display: none; }
.waveform { width: 100%; height: 74px; display: block; }
audio { display: block; width: 100%; height: 36px; margin: 7px 0 0; border-radius: 0; }
audio::-webkit-media-controls-panel { background: #f1f3f6; }
.track[data-kind="estimate"] audio::-webkit-media-controls-panel { background: #eaf0fc; }
.scene-details { margin-top: 7px; }
.scene-details > summary { color: var(--accent); font-size: 11px; width: fit-content; padding: 7px 0 12px; list-style: none; }
.scene-details > summary::-webkit-details-marker { display: none; }
.scene-details > summary::before { content: "+"; font-size: 15px; line-height: 1; margin-right: 7px; display: inline-block; width: 9px; }
.scene-details[open] > summary::before { content: "−"; }
.detail-body { padding: 14px 0 20px; }
.detail-grid { align-items: start; }
.geometry-panel, .spectrum { margin: 0; min-width: 0; }
.geometry-panel h4, .spectrum figcaption { margin: 0 0 8px; font-size: 12px; font-weight: 550; }
.geometry-plot svg { display: block; width: 100%; }
.geometry-panel > p { color: var(--muted); font-size: 10px; line-height: 1.6; margin: 5px 0 0; }
.geometry-panel [role="button"]:focus-visible { outline: none; }
.geometry-panel [role="button"]:focus-visible circle { stroke: #153da2; stroke-width: 3px; }
.spectrum button { display: block; width: 100%; padding: 0; border: 0; background: #fff; border-radius: 3px; overflow: hidden; }
.spectrum img { display: block; width: 100%; height: auto; aspect-ratio: 2.5; }
.axis { display: flex; justify-content: space-between; margin: 3px 0 0; color: var(--muted); font-size: 10px; }
.spectral-note { color: var(--muted); font-size: 11px; margin: 10px 0; }
.scene-metrics { display: flex; gap: 28px; flex-wrap: wrap; margin: 16px 0 9px; padding-top: 14px; border-top: 1px solid var(--line); }
.scene-metrics div { display: flex; flex-direction: column; gap: 2px; }
.scene-metrics dt { font-size: 11px; color: var(--muted); }
.scene-metrics dd { margin: 0; font-size: 16px; font-variant-numeric: tabular-nums; font-weight: 550; }
.detail-bottom { display: flex; justify-content: space-between; gap: 14px; align-items: baseline; }
.detail-bottom p { font-size: 11px; color: var(--muted); margin: 0; }
.detail-bottom a { white-space: nowrap; font-size: 11px; }
.listening-note { margin: 14px 0 0; font-size: 11px; color: var(--muted); }
.method { padding-top: 55px; }
.method > p { max-width: 900px; margin: 15px 0 24px; color: #596171; font-size: 14px; line-height: 1.85; }
.method figure { margin: 0; }
.method img { display: block; width: 100%; height: auto; }
.method figcaption { color: var(--muted); text-align: center; font-size: 12px; margin: 12px 0 0; }
.about { margin-top: 35px; }
.about details { border-top: 1px solid var(--line); padding: 13px 0; }
.about summary { font-size: 13px; font-weight: 550; }
.prose { max-width: 900px; font-size: 13px; color: #596171; }
pre { padding: 16px; margin: 15px 0 0; overflow: auto; background: var(--soft); border-radius: 4px; font-size: 11px; }
footer { display: flex; justify-content: space-between; gap: 16px; padding-block: 25px; margin-top: 8px; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); }
footer a { color: inherit; text-decoration: none; }
dialog { width: min(1000px, calc(100vw - 32px)); max-height: calc(100vh - 32px); border: 1px solid var(--line); border-radius: 8px; padding: 20px; color: var(--ink); }
dialog::backdrop { background: #18243b99; }
.dialog-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 15px; }
.dialog-heading h2 { font-size: 18px; }
.dialog-heading button { border: 0; background: var(--soft); color: var(--ink); border-radius: 4px; width: 36px; height: 36px; font-size: 25px; }
dialog img { display: block; width: 100%; }
dialog p { font-size: 11px; color: var(--muted); margin: 12px 0 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; top: -80px; left: 12px; z-index: 5; padding: 8px 16px; background: #fff; }
.skip-link:focus { top: 8px; }
@media (max-width: 1000px) {
  .comparison-grid { grid-template-columns: 150px repeat(3, minmax(0, 1fr)); column-gap: 16px; }
  .scene-info h3 { font-size: 15px; }
  .scene-number { display: none; }
}
@media (max-width: 820px) {
  .wrap { width: calc(100% - 40px); }
  .comparison-head { display: none; }
  .scene { border-top: 1px solid var(--line); border-bottom: 0; padding-top: 20px; }
  .scene:last-child { border-bottom: 1px solid var(--line); }
  .scene-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .scene-info { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; align-items: center; margin-bottom: 15px; column-gap: 15px; }
  .scene-info h3 { font-size: 17px; }
  .scene-info .condition { grid-column: 1; margin: 0; }
  .mic-picker { grid-column: 2; grid-row: 1 / 3; }
  .direction { display: none; }
  .track h4 { display: block; font-size: 12px; margin: 0 0 7px; font-weight: 600; }
  .track[data-kind="estimate"] h4 { color: var(--accent); }
  .detail-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .geometry-panel { grid-column: 1 / -1; display: grid; grid-template-columns: 200px 1fr; column-gap: 20px; align-items: center; margin-bottom: 15px; }
  .geometry-panel h4 { grid-column: 2; align-self: end; margin: 0; }
  .geometry-plot { grid-row: 1 / 3; }
  .geometry-panel > p { grid-column: 2; align-self: start; }
  .detail-bottom { flex-direction: column; gap: 7px; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .site-nav { height: 57px; }
  .site-nav > div { gap: 17px; }
  .site-nav a { font-size: 12px; }
  .site-nav .wordmark { font-size: 15px; }
  .wordmark svg { width: 22px; }
  .paper-header { padding: 28px 0 33px; }
  .venue { font-size: 10px; }
  h1 { font-size: 46px; }
  .paper-title { font-size: 21px; line-height: 1.4; }
  .wide-break { display: none; }
  .authors { font-size: 12px; margin-top: 15px; }
  .author-note { font-size: 10px; }
  .button { padding: 8px 10px; font-size: 11px; }
  .section-heading { flex-wrap: wrap; gap: 5px 15px; }
  h2 { font-size: 23px; }
  .section-heading > span { font-size: 10px; }
  .section-intro { font-size: 12px; margin-bottom: 18px; }
  .scene-row { display: block; }
  .scene-info { margin-bottom: 16px; }
  .track { display: grid; grid-template-columns: 100px minmax(0, 1fr); align-items: center; gap: 0 10px; padding: 0 0 14px; }
  .track h4 { grid-column: 1; grid-row: 1; margin: 0; font-size: 11px; }
  .waveform { grid-column: 2; grid-row: 1; height: 35px; }
  audio { grid-column: 1 / -1; margin-top: 4px; height: 38px; }
  .scene-details { margin-top: 0; }
  .detail-grid { grid-template-columns: 1fr; gap: 18px; }
  .geometry-panel { grid-column: 1; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; margin: 0; }
  .spectrum img { aspect-ratio: 2.7; }
  .scene-metrics { gap: 16px 24px; }
  .scene-metrics div { flex: 1 0 38%; }
  .method { padding-top: 35px; }
  .method > p { font-size: 13px; margin-bottom: 18px; }
  .method figcaption { font-size: 10px; }
  .about { margin-top: 25px; }
  footer { flex-direction: column; gap: 6px; padding-block: 18px; font-size: 10px; }
  dialog { padding: 14px; }
  .dialog-heading h2 { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
