@charset "UTF-8";
:root {
  color-scheme: light;
  --paper: #f8f9f5;
  --ink: #202d27;
  --muted: #657168;
  --green: #246653;
  --green-soft: #edf3ed;
  --line: #dfe5dc;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --page-gutter: clamp(40px, 4vw, 104px);
  --content-width: 2240px;
  --grid-gap: 24px;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-family: var(--sans);
  font-synthesis: none;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 106px; }
body { min-width: 1200px; margin: 0; font-size: 18px; line-height: 1.65; }
button, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-underline-offset: 4px; }
button:focus-visible, a:focus-visible, select:focus-visible, summary:focus-visible, audio:focus-visible, input:focus-visible { outline: 3px solid #5f987d; outline-offset: 5px; }
::selection { color: #173e2f; background: #d6e6d8; }
img { max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3, p, figure { margin: 0; }
.container { width: min(var(--content-width), calc(100% - var(--page-gutter) * 2)); margin-inline: auto; }
.skip-link { position: fixed; top: -80px; left: 16px; padding: 10px 18px; background: white; z-index: 10; }
.skip-link:focus { top: 12px; }
.hero { position: relative; isolation: isolate; padding: 64px var(--page-gutter) 0; text-align: center; overflow: hidden; }
.hero h1 { font: 400 clamp(52px, 4vw, 76px)/1.15 var(--serif); letter-spacing: -1.6px; }
.hero h1 em { font-weight: 400; font-style: normal; color: var(--green); }
.hero-lines { position: absolute; top: 90px; left: 50%; width: 100%; transform: translateX(-50%) rotate(-5deg); z-index: -1; mask-image: linear-gradient(90deg, #0003, transparent 26%, transparent 74%, #0003); }
.hero-lines i { display: block; height: 1px; margin: 20px 0; background: #7c9d7f; }
.submission { display: inline-flex; align-items: center; gap: 16px; margin-top: 26px; color: var(--muted); font: 16px/1.5 var(--mono); letter-spacing: .05em; }
.submission strong { font-weight: 500; color: var(--ink); }
.submission-divider { height: 18px; width: 1px; background: #bcc9bc; }
.page-nav { display: flex; justify-content: center; gap: 44px; margin: 38px auto 0; padding-bottom: 30px; border-bottom: 1px solid var(--line); max-width: var(--content-width); }
.page-nav a { font-size: 17px; color: var(--muted); text-decoration: none; }
.page-nav a:hover { color: var(--green); }
.page-nav a span { margin-left: 5px; color: var(--green); }
.section-kicker { display: flex; align-items: center; gap: 12px; font: 14px/1.5 var(--mono); letter-spacing: .12em; color: var(--green); margin-bottom: 14px; }
.tiny-line { width: 22px; height: 1px; background: var(--green); }
h2 { font: 400 clamp(36px, 2.4vw, 48px)/1.22 var(--serif); letter-spacing: -.75px; text-wrap: balance; }
.abstract-section { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(36px, 3vw, 76px); padding-top: 58px; }
.abstract-section h2 { margin-bottom: 0; }
.abstract-copy { columns: 2; column-gap: clamp(36px, 3vw, 76px); color: #4b574f; font-size: 19px; line-height: 1.85; text-align: left; }
.keywords { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.keywords span { padding: 5px 12px; border: 1px solid var(--line); border-radius: 4px; font-size: 14px; color: var(--muted); background: #fff6; }
.framework-section { margin-top: 72px; margin-bottom: 76px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 32px; }
.section-heading p { margin-top: 14px; color: var(--muted); font-size: 18px; max-width: 980px; }
.section-heading.compact { margin-bottom: 28px; }
.margin-note { font: 14px/1.6 var(--mono); color: var(--muted); padding-bottom: 6px; text-align: right; }
.framework-figure { background: white; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.framework-image { position: relative; display: block; padding: 44px 36px 30px; text-decoration: none; }
.framework-image img { display: block; width: 100%; height: auto; }
.zoom-label { position: absolute; right: 20px; top: 12px; padding: 2px 8px; font: 13px/1.6 var(--mono); color: var(--muted); background: white; }
.framework-image:hover .zoom-label { color: var(--green); text-decoration: underline; }
figcaption { display: flex; align-items: baseline; gap: 22px; padding: 22px 30px; border-top: 1px solid #eef0eb; font-size: 16px; color: var(--muted); background: #fdfefb; }
figcaption > span { flex-shrink: 0; font: 13px/1.5 var(--mono); letter-spacing: .06em; color: var(--green); }
.method-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 32px; }
.method-strip > div { padding: 0 36px; border-right: 1px solid var(--line); }
.method-strip > div:first-child { padding-left: 0; }
.method-strip > div:last-child { border: 0; }
.step-number { float: left; font: 15px/1.8 var(--mono); color: #73907a; margin-right: 16px; }
.method-strip h3 { font-size: 19px; font-weight: 600; }
.method-strip p { margin-top: 7px; font-size: 17px; line-height: 1.7; color: var(--muted); }
.outline-tag { flex-shrink: 0; display: inline-flex; align-items: center; border: 1px solid #cfdace; padding: 7px 15px; margin-bottom: 6px; border-radius: 24px; font-size: 14px; color: #4c6655; }
.small-dot { display: inline-block; width: 6px; height: 6px; background: var(--green); border-radius: 50%; }
.small-dot.neutral { background: #8b928a; }
.listening-guide { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; color: var(--muted); }
.guide-icon { font-size: 28px; color: var(--green); }
.listening-guide p { font-size: 16px; }
.legend { display: flex; gap: 8px; align-items: center; margin-left: auto; white-space: nowrap; font: 13px/1.5 var(--mono); }
.legend i { width: 6px; height: 6px; background: #a7b5b0; border-radius: 2px; }
.legend i:nth-of-type(2) { background: var(--green); margin-left: 7px; }
.sample-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--grid-gap); }
.sample-card { display: flex; flex-direction: column; padding: 28px; background: #fcfdfb; border: 1px solid #dae2d7; border-radius: 9px; min-width: 0; transition: border-color .2s, box-shadow .2s; }
.sample-card:hover { border-color: #a9beaa; }
.sample-card-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 20px; }
.sample-card h3 { font-size: 23px; line-height: 1.4; font-weight: 500; }
.sample-description { font-size: 16px; line-height: 1.65; color: var(--muted); margin-top: 8px; }
.waveform { display: block; width: 100%; height: 88px; margin: 24px 0 8px; object-fit: fill; }
.bar-lengths { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 14px; font: 13px/1.6 var(--mono); color: var(--muted); padding-bottom: 18px; border-bottom: 1px solid #e9eee4; }
.bar-lengths span:last-child { color: var(--green); }
audio { display: block; width: 100%; height: 48px; flex-shrink: 0; margin-top: 24px; border-radius: 28px; }
audio::-webkit-media-controls-panel { background: #f0f3ed; }
.card-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 22px; }
.text-button, .card-bottom a { border: 0; padding: 4px 0; background: transparent; font-size: 15px; color: var(--green); text-decoration: none; }
.text-button:hover, .card-bottom a:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-button span { padding-left: 7px; }
.card-bottom a { font: 14px/1.5 var(--mono); }
.action-workspace { overflow: hidden; border: 1px solid #d7e0d3; background: #fcfdfb; border-radius: 9px; }
.control-bar { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 28px; border-bottom: 1px solid var(--line); background: #f7f9f4; }
.action-choices { display: flex; flex-wrap: wrap; gap: 6px; }
.action-choices button { border: 1px solid transparent; background: transparent; padding: 10px 18px; border-radius: 5px; font-size: 16px; color: var(--muted); transition: background .15s; }
.action-choices button:hover { color: var(--green); background: #e6ede2; }
.action-choices button[aria-pressed="true"] { background: var(--green); color: white; }
.sample-select { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 15px; white-space: nowrap; }
.sample-select select { padding: 10px 30px 10px 12px; border: 1px solid #d0dacb; border-radius: 5px; background: white; color: var(--ink); font-size: 16px; cursor: pointer; }
.action-detail { padding: 32px; }
.action-description { display: flex; gap: 28px; align-items: center; justify-content: space-between; }
.action-description h3 { font-size: 24px; font-weight: 500; }
.action-description p { font-size: 17px; margin-top: 5px; color: var(--muted); }
.schedule-note { flex-shrink: 0; font: 13px/1.5 var(--mono); color: #69836b; }
.schedule { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 30px; }
.phrase { display: flex; flex-direction: column; text-align: left; border: 1px solid #dce4d6; border-top: 3px solid #b9cdb0; padding: 20px; background: #f0f5eb; color: #3a6048; border-radius: 4px; transition: background .15s; min-width: 0; }
.phrase:hover { background: #e0ebd9; }
.phrase.context { background: #f1f2ee; border-color: #dfe2d8; color: #687166; }
.phrase.soft { background: #f6f8f2; border-top-color: #d6e0c8; }
.phrase strong { font-size: 18px; font-weight: 500; margin: 10px 0 4px; }
.phrase span { font: 13px/1.6 var(--mono); letter-spacing: .03em; }
.phrase .phrase-time { opacity: .85; margin-top: 6px; }
.phrase.is-active { background: #dfebd8; border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.schedule-caption { margin-top: 14px; font-size: 15px; color: var(--muted); }
.comparison-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--grid-gap); margin-top: 30px; }
.playback-phase { margin-top: 12px; color: var(--muted); font: 14px/1.5 var(--mono); }
.comparison-help { text-align: center; color: var(--muted); font-size: 15px; margin-top: 24px; }
.audio-error { color: #9d392b !important; font-size: 16px; margin-top: 12px; }
.listening-details { margin-top: 36px; color: var(--muted); font-size: 16px; }
.listening-details summary { display: flex; justify-content: space-between; cursor: pointer; padding: 16px 0; list-style: none; border-bottom: 1px solid #dce3d7; }
.listening-details summary::-webkit-details-marker { display: none; }
.listening-details summary span { font-size: 24px; line-height: 1; transition: transform .2s; }
.listening-details[open] summary span { transform: rotate(45deg); }
.listening-details > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 48px; padding-top: 24px; }
.listening-details p + p { margin-top: 0; }
footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 36px 0 44px; margin-bottom: 100px; border-top: 1px solid var(--line); }
.footer-title { display: block; font: 26px/1.5 var(--serif); }
.footer-submission { display: block; font: 13px/1.5 var(--mono); color: var(--muted); margin-top: 5px; }
footer a { text-decoration: none; font-size: 16px; color: var(--green); }
footer a:hover { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Complete listening galleries */

.demo-nav { position: sticky; top: 0; z-index: 20; background: #f8f9f5f5; backdrop-filter: blur(14px); border-block: 1px solid var(--line); }
.demo-nav-inner { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 28px; }
.demo-nav-brand { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; font: 14px/1.5 var(--mono); letter-spacing: .07em; color: var(--green); text-decoration: none; }
.demo-nav-links { display: flex; align-self: stretch; align-items: stretch; gap: clamp(24px, 2.2vw, 44px); }
.demo-nav-links a { display: flex; align-items: center; white-space: nowrap; font-size: 16px; text-decoration: none; color: var(--muted); border-bottom: 3px solid transparent; padding-top: 3px; }
.demo-nav-links a[aria-current] { color: var(--green); border-bottom-color: var(--green); }
.preview-banner { display: flex; align-items: center; gap: 16px; padding: 20px 26px; margin-top: 32px; background: #f3f0e5; border: 1px solid #e4ddc8; border-radius: 7px; color: #746747; }
.preview-banner p { flex: 1; font-size: 16px; line-height: 1.7; }
.preview-banner strong { font-weight: 600; }
.preview-dot { width: 6px; height: 6px; border-radius: 50%; background: #b09656; flex-shrink: 0; }
.preview-label { font: 13px/1.6 var(--mono); letter-spacing: .06em; white-space: nowrap; margin-left: 18px; }
.no-script { padding-block: 30px; }
.showcase-section { padding-block: 72px; }
.section-tint { background: #eff3ed; border-block: 1px solid var(--line); }
.section-tint.last-section { border-bottom: none; }
.gallery-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 28px; margin-bottom: 28px; }
.toolbar-note { font-size: 15px; line-height: 1.6; color: var(--muted); text-align: right; }
.sample-switch, .segmented-control { display: inline-flex; gap: 4px; padding: 5px; border: 1px solid #dce3d7; background: #f8faf5; border-radius: 7px; flex-shrink: 0; }
.sample-switch button, .segmented-control button { border: none; border-radius: 4px; background: transparent; color: var(--muted); padding: 10px 22px; font-size: 16px; }
.sample-switch button:hover, .segmented-control button:hover { background: #e6edde; }
.sample-switch button[aria-pressed="true"], .segmented-control button[aria-pressed="true"] { background: var(--green); color: white; }
.model-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--grid-gap); }
.slot-category { font: 13px/1.6 var(--mono); letter-spacing: .04em; color: var(--muted); }
.audio-slot .sample-card-top { align-items: center; gap: 10px; margin-bottom: 20px; }
.preview-badge { font: 12px/1.6 var(--mono); color: #897343; padding: 3px 8px; background: #f3f0e6; border: 1px solid #e7dfca; border-radius: 4px; white-space: nowrap; }
.audio-slot > .sample-description { min-height: 3.3em; font-size: 16px; flex: 1; }
.audio-slot.featured-card { background: #edf4e9; border-color: #b7ccb0; }
.featured-card .slot-category { color: var(--green); }
.download-links { display: flex; gap: 16px; align-items: center; }
.download-links a { white-space: nowrap; font-size: 13px; }
.audio-slot .card-bottom { gap: 12px; }
.audio-slot .text-button { white-space: nowrap; font-size: 15px; }
.empty-audio { margin: 22px 0; padding: 13px; border: 1px dashed #cad7c5; border-radius: 4px; font-size: 17px; color: var(--muted); text-align: center; }
.section-footnote { margin-top: 22px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.horizon-band { background: #244438; color: #f3f5ee; }
.horizon-band .section-kicker { color: #b7cfab; }
.horizon-band .section-heading p, .horizon-band .toolbar-note, .horizon-band .section-footnote { color: #c0d0be; }
.horizon-mark { font: italic 56px/1 var(--serif); color: #96b291; white-space: nowrap; padding-bottom: 10px; letter-spacing: -1px; }
.horizon-band .segmented-control { background: #ffffff0b; border-color: #627b64; }
.horizon-band .segmented-control button { color: #d7e4cd; padding-inline: 32px; }
.horizon-band .segmented-control button[aria-pressed="true"] { background: #e1ebce; color: #264534; }
.horizon-band .segmented-control button:hover { background: #627b643b; }
.horizon-band .segmented-control button[aria-pressed="true"]:hover { background: #e1ebce; }
.horizon-ruler { display: flex; gap: 6px; margin: 30px 0 28px; }
.horizon-ruler > span { flex: 1; min-width: 0; background: #56735050; border-top: 2px solid #a9c58c; border-radius: 3px; padding: 14px 10px; text-align: center; font: 14px/1.6 var(--mono); color: #e5eedc; }
.horizon-ruler > .ruler-context { border-top-color: #8b9b8d; background: #ffffff0c; color: #c5d0c2; }
.horizon-ruler small { display: block; font: 13px/1.5 var(--mono); opacity: .85; margin-top: 5px; }
.horizon-band .audio-slot { background: #fafcf6; color: var(--ink); border-color: #dae2d4; }
.control-gallery { display: grid; grid-template-columns: 250px minmax(0, 1fr); border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: #fcfdfb; }
.control-sidebar { padding: 16px; display: flex; flex-direction: column; gap: 8px; background: #f0f4eb; border-right: 1px solid var(--line); }
.control-sidebar > button { display: flex; align-items: center; gap: 14px; border: 1px solid transparent; border-radius: 6px; padding: 16px 12px; background: transparent; color: #597052; text-align: left; }
.control-sidebar > button:hover { background: #e4ecdd; }
.control-sidebar > button[aria-pressed="true"] { background: #fff; border-color: #d2deca; color: var(--green); box-shadow: 0 2px 6px #294f2b06; }
.control-sidebar button > span:nth-child(2) { font-size: 18px; font-weight: 500; }
.control-sidebar button > span:last-child { margin-left: auto; font-size: 16px; opacity: .6; }
.control-sidebar small { display: block; font-size: 13px; font-weight: 400; color: var(--muted); margin-top: 2px; }
.control-symbol { display: inline-flex; flex-shrink: 0; width: 24px; justify-content: center; font: 28px/1 var(--serif); }
.control-panel { padding: 32px; min-width: 0; }
.control-panel .gallery-toolbar { align-items: flex-start; }
.control-panel h3 { font-size: 24px; font-weight: 500; }
.control-panel .gallery-toolbar p { margin-top: 9px; color: var(--muted); font-size: 16px; max-width: 680px; }
.control-comparison { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.control-comparison[data-cards="2"], .control-comparison[data-cards="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.control-comparison[data-cards="5"] > :first-child { grid-column: 1 / -1; }
.control-comparison[data-cards="5"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.control-comparison .audio-slot { padding: 24px; }
.compact-card .sample-card-top { align-items: flex-start; flex-direction: column; gap: 8px; }
.control-comparison .audio-slot h3 { font-size: 21px; }
.control-comparison .audio-slot > .sample-description { font-size: 16px; min-height: 3.3em; }
.control-comparison .card-bottom { align-items: flex-start; flex-direction: column; gap: 12px; }
.control-comparison audio { height: 48px; }
.control-panel .section-footnote { font-size: 15px; }
.path-explainer { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 7px; margin-bottom: 32px; overflow: hidden; }
.path-explainer > div { display: flex; align-items: flex-start; gap: 18px; padding: 28px; border-right: 1px solid var(--line); }
.path-explainer > div:last-child { border-right: 0; }
.path-explainer > .path-featured { background: var(--green-soft); }
.path-symbol { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; width: 52px; height: 52px; border: 1px solid #c8d7bd; border-radius: 50%; font: 15px/1 var(--mono); color: var(--green); }
.path-explainer strong { display: block; font-size: 18px; font-weight: 500; }
.path-explainer p > span { display: block; margin-top: 7px; font-size: 16px; line-height: 1.8; color: var(--muted); }
.ablation-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--grid-gap); }
.ablation-grid .audio-slot { padding: 26px; }
.ablation-grid .audio-slot h3 { font-size: 22px; }
.ablation-grid .audio-slot > .sample-description { min-height: 3.3em; }
.ablation-grid .card-bottom { align-items: flex-start; flex-direction: column; gap: 11px; }

.playback-dock { position: fixed; z-index: 30; bottom: 24px; left: 50%; transform: translateX(-50%); width: min(1120px, calc(100% - 80px)); display: flex; align-items: center; gap: 24px; padding: 18px 24px; color: #edf5e9; background: #1d382ef5; border: 1px solid #6b856a; border-radius: 12px; box-shadow: 0 8px 40px #162e2b30; backdrop-filter: blur(15px); }
.dock-toggle { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; flex-shrink: 0; border: 1px solid #7c9976; border-radius: 50%; background: #dce9cd; color: #25422b; font-size: 18px; }
.dock-info { min-width: 0; flex: 1; }
.dock-info strong { display: block; font-size: 17px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock-info span { display: block; margin-top: 4px; color: #afc5ab; font-size: 14px; }
.dock-progress { display: flex; align-items: center; gap: 18px; width: 350px; }
.dock-progress input { flex: 1; min-width: 0; height: 20px; accent-color: #c8dfae; cursor: pointer; }
.dock-progress span { font: 13px/1.5 var(--mono); white-space: nowrap; color: #c5d9bc; }
.dock-close { border: none; background: transparent; color: #c4d6bb; font-size: 28px; padding: 4px 8px; }

/* Laptop and desktop layouts; the minimum canvas is 1200px. */
.five-context-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.five-context-grid > .sample-card { grid-column: span 2; }
.five-context-grid > .sample-card:nth-child(4) { grid-column: 2 / span 2; }
.five-context-grid > .sample-card:nth-child(5) { grid-column: 4 / span 2; }
.selection-details > div { grid-template-columns: 1.1fr 1fr; gap: 48px; }
.selection-details p + p { margin-top: 16px; }
.selection-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.selection-table caption { text-align: left; padding-bottom: 12px; color: var(--ink); }
.selection-table th, .selection-table td { padding: 11px 12px; text-align: right; border-bottom: 1px solid var(--line); font-weight: 400; }
.selection-table th:first-child { text-align: left; }
.selection-table thead th { font-weight: 500; color: var(--ink); }
.validation-note { display: block; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); color: #786c54; font-size: 14px; line-height: 1.7; }
.horizon-band { background: #eef2ea; color: var(--ink); border-block: 1px solid var(--line); }
.horizon-band .section-kicker, .horizon-mark { color: var(--green); }
.horizon-band .section-heading p, .horizon-band .toolbar-note, .horizon-band .section-footnote { color: var(--muted); }
.horizon-mark { font-size: 38px; font-style: normal; }
.horizon-band .segmented-control { background: #f9fbf6; border-color: #d4dfcb; }
.horizon-band .segmented-control button { color: var(--muted); }
.horizon-band .segmented-control button[aria-pressed="true"] { background: var(--green); color: white; }
.horizon-band .segmented-control button[aria-pressed="true"]:hover { background: var(--green); }
.horizon-ruler > span { background: #e4ecdb; color: var(--green); border-top-color: #90ac78; }
.horizon-ruler > .ruler-context { background: #f3f5ef; color: var(--muted); border-top-color: #b9c3b1; }
.preview-banner { background: #f1f3ed; border-color: var(--line); color: var(--muted); }
.preview-label { color: var(--muted); }
.section-heading > div { min-width: 0; }
.demo-nav-links a:hover { color: var(--green); }
@media (max-width: 1599px) {
  .abstract-section { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .abstract-heading { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 36px; align-items: end; }
  .abstract-heading .section-kicker { grid-column: 1 / -1; }
  .abstract-heading .keywords { justify-content: flex-end; margin-top: 0; }
  .abstract-copy { font-size: 18px; }
  .sample-card { padding: 24px; }
  .sample-card h3 { font-size: 22px; }
  .control-gallery { grid-template-columns: minmax(0, 1fr); }
  .control-sidebar { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-right: none; border-bottom: 1px solid var(--line); padding: 14px; gap: 6px; }
  .control-sidebar > button { padding: 12px 10px; gap: 10px; }
  .control-sidebar button > span:last-child { display: none; }
  .control-sidebar small { font-size: 12px; }
  .ablation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ablation-grid .sample-card-top, .ablation-grid .card-bottom { flex-direction: row; align-items: center; }
}
@media (min-width: 2000px) {
  .sample-card { padding: 32px; }
  .sample-card h3 { font-size: 26px; }
  .audio-slot > .sample-description { font-size: 18px; }
  .control-gallery { grid-template-columns: 280px minmax(0, 1fr); }
  .control-comparison .card-bottom, .ablation-grid .card-bottom { flex-direction: row; align-items: center; }
}
