@font-face { font-family: "OpenWhistle Sans"; src: url("assets/fonts/openwhistle-sans-regular.ttf?v=1") format("truetype"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "OpenWhistle Sans"; src: url("assets/fonts/openwhistle-sans-bold.ttf?v=1") format("truetype"); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: "OpenWhistle Display"; src: url("assets/fonts/openwhistle-display.ttf?v=3") format("truetype"); font-style: normal; font-weight: 700; font-display: swap; }

:root {
  --ink: #1d1d1f;
  --deep: #1d1d1f;
  --water: #0071e3;
  --aqua: #0071e3;
  --foam: #FFFFFF;
  --paper: #ffffff;
  --coral: #0071e3;
  --mist: #f5f5f7;
  --line: rgba(0, 0, 0, 0.2);
  --max: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Helvetica Neue", "Liberation Sans", Arial, sans-serif; font-kerning: normal; font-synthesis: none; font-optical-sizing: auto; font-variant-numeric: lining-nums proportional-nums; line-height: 1.45; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }

.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 100; background: transparent; }
.progress span { display: block; width: 0; height: 100%; background: var(--coral); }
.site-header { position: absolute; z-index: 50; top: 0; left: 0; right: 0; height: 76px; padding: 0 max(28px, calc((100vw - var(--max)) / 2)); display: flex; justify-content: space-between; align-items: center; color: var(--ink); border-bottom: 1px solid rgba(0,0,0,.1); }
.brand { display: inline-flex; gap: 12px; align-items: center; font-weight: 700; letter-spacing: -.015em; font-size: 20px; }
.brand-dolphin { display: inline-grid; width: 36px; place-items: center; font-size: 25px; line-height: 1; }
.site-header nav { display: flex; align-items: center; gap: 30px; font-size: 13px; font-weight: 700; }
.site-header nav > a:not(.nav-cta) { opacity: .72; transition: opacity .2s; }
.site-header nav > a:hover { opacity: 1; }
.nav-cta { padding: 11px 15px; border: 1px solid rgba(0,0,0,.28); border-radius: 99px; }
.nav-cta span { margin-left: 12px; }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; }

.hero { position: relative; overflow: hidden; padding: 76px max(28px, calc((100vw - var(--max)) / 2)) 0; color: var(--ink); background: #ffffff; display: grid; place-items: start center; text-align: center; }
.hero:before { content: ""; position: absolute; inset: 76px 0 0; opacity: .3; background-image: linear-gradient(rgba(0,0,0,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,.045) 1px, transparent 1px); background-size: 86px 86px; mask-image: radial-gradient(circle at center, black, transparent 76%); }
.hero:after { content: ""; position: absolute; z-index: 1; top: 76px; left: 0; right: 0; height: calc(100svh - 76px); pointer-events: none; background: radial-gradient(ellipse 58% 58% at 50% 48%, rgba(255,255,255,.99) 0%, rgba(255,255,255,.94) 34%, rgba(255,255,255,.56) 58%, rgba(255,255,255,0) 79%); }
.hero-lines { position: absolute; z-index: 0; top: 76px; left: 0; width: 100%; height: calc(100svh - 76px); display: block; pointer-events: none; }
.hero-copy { position: relative; z-index: 2; width: min(1240px, 100%); }
.hero-stage { position: relative; display: flex; min-height: calc(100svh - 76px); margin-bottom: clamp(380px, 24vw, 460px); padding: 22px 0 34px; flex-direction: column; justify-content: center; }
.eyebrow, .section-index { font-size: 11px; line-height: 1; letter-spacing: .08em; font-weight: 700; text-transform: uppercase; }
.eyebrow { color: #86868b; }
.spotlight-mark { display: grid; width: 25px; height: 25px; place-items: center; flex: 0 0 auto; color: white; border-radius: 50%; background: linear-gradient(135deg, var(--water), var(--aqua)); box-shadow: 0 4px 12px rgba(0,113,227,.25); }
.spotlight-mark svg { display: block; width: 12px; height: 12px; fill: currentColor; }
h1 { margin: 25px 0 18px; font-weight: 700; }
h1 .paper-name { display: block; color: #0071e3; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-family: "OpenWhistle Display", "OpenWhistle Sans", Arial, sans-serif; font-size: clamp(88px, 9.4vw, 164px); font-weight: 700; line-height: .92; letter-spacing: -.025em; }
.hero .paper-title { max-width: 900px; margin: 0 auto; color: #1d1d1f; font-size: clamp(24px, 2.25vw, 36px); line-height: 1.28; letter-spacing: -.015em; font-weight: 400; text-wrap: balance; }
h2 em { color: #764ba2; font-family: Georgia, serif; font-weight: 400; }
.hero-deck { max-width: 680px; margin: 22px auto 0; font-size: clamp(16px, 1.3vw, 20px); line-height: 1.55; color: #86868b; }
.whistle-network { position: absolute; top: 100%; left: 50%; order: 3; width: 100vw; height: clamp(380px, 24vw, 460px); margin: 0; overflow: hidden; transform: translateX(-50%); background: radial-gradient(circle at 62% 50%, #15234d 0, #0a122d 29%, #060b1d 65%, #040817 100%); box-shadow: 0 28px 65px rgba(10,40,62,.2); }
.whistle-network:before { content: ""; position: absolute; z-index: 0; inset: 0; opacity: .16; background-image: linear-gradient(rgba(116,180,235,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(116,180,235,.08) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(circle at 62% 50%, #000, transparent 72%); mask-image: radial-gradient(circle at 62% 50%, #000, transparent 72%); }
.whistle-network svg { position: relative; z-index: 1; display: block; width: 100%; height: 100%; }
.network-streams path { fill: none; stroke: url(#stream-gradient); stroke-width: 1.55; stroke-linecap: round; vector-effect: non-scaling-stroke; filter: url(#soft-glow); opacity: .24; animation: stream-life 8.2s cubic-bezier(.4,0,.2,1) infinite; }
.stream-energy path { fill: none; stroke: #e8fbff; stroke-width: 4; stroke-linecap: round; vector-effect: non-scaling-stroke; filter: url(#soft-glow); stroke-dasharray: .035 .965; stroke-dashoffset: 1; opacity: 0; animation: stream-energy 8.2s cubic-bezier(.4,0,.2,1) infinite; }
.representation-particles circle { fill: #f4fdff; opacity: 0; filter: url(#soft-glow); animation: representation-particle-life 8.2s ease-in-out infinite; }
.representation-particles circle:nth-child(2) { animation-delay: .06s; }
.representation-particles circle:nth-child(3) { animation-delay: .12s; }
.representation-particles circle:nth-child(4) { animation-delay: .18s; }
.representation-particles circle:nth-child(5) { animation-delay: .24s; }
.signal-token { animation: token-cycle 8.2s cubic-bezier(.4,0,.2,1) infinite; transform-box: fill-box; transform-origin: center; }
.signal-token image { filter: none; }
.signal-token rect { fill: none; stroke: url(#stream-gradient); stroke-width: 1.9; vector-effect: non-scaling-stroke; filter: url(#soft-glow); }
.signal-token .spectro-scan { fill: url(#scan-gradient); stroke: none; opacity: 0; mix-blend-mode: screen; filter: drop-shadow(0 0 1.8px rgba(205,247,255,.72)); animation: spectro-scan 8.2s cubic-bezier(.42,0,.22,1) infinite; }
.token-a { --scan-distance: 121px; }.token-b { --scan-distance: 123px; }.token-c { --scan-distance: 121px; }.token-d, .token-e { --scan-distance: 111px; }
.token-b .spectro-scan { animation-delay: .1s; }.token-c .spectro-scan { animation-delay: .2s; }.token-d .spectro-scan { animation-delay: .3s; }.token-e .spectro-scan { animation-delay: .4s; }
.output-underlay, .output-glow, .output-wave { fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.output-underlay { stroke: #0071e3; stroke-width: 17; opacity: .13; }
.output-glow { stroke: #5ac8fa; stroke-width: 7; opacity: .4; }
.output-wave { stroke: #f4fdff; stroke-width: 2.35; }
.output-drawn { opacity: 0; animation: output-drawn-life 8.2s ease-in-out infinite; }
.output-pulse { fill: none; stroke: white; stroke-width: 5; stroke-linecap: round; vector-effect: non-scaling-stroke; filter: url(#soft-glow); stroke-dasharray: .055 2; stroke-dashoffset: 0; opacity: 0; animation: output-pulse 8.2s cubic-bezier(.4,0,.2,1) infinite; }
.convergence-halo { fill: #e9fbff; opacity: 0; filter: url(#soft-glow); animation: convergence 8.2s ease-in-out infinite; }
.convergence-ring { fill: none; stroke: #bceeff; stroke-width: 1.2; opacity: 0; transform-box: view-box; transform-origin: 618px 112px; animation: convergence-ring 8.2s cubic-bezier(.2,.7,.2,1) infinite; }
.ring-b { animation-delay: .14s; }.ring-c { animation-delay: .28s; }
.output-head { fill: #fff; opacity: 0; filter: url(#soft-glow); animation: output-head-life 8.2s ease-in-out infinite; }
.network-labels { position: absolute; z-index: 2; bottom: 12px; left: max(16px, calc((100vw - 1180px) / 2)); right: max(16px, calc((100vw - 1180px) / 2)); display: grid; grid-template-columns: 1fr 1fr 1fr; color: rgba(210,239,245,.5); font-size: 7px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; pointer-events: none; }
.network-labels span:nth-child(2) { text-align: center; }
.network-labels span:last-child { text-align: right; white-space: nowrap; }
@keyframes token-cycle {
  0% { opacity: .42; transform: translateX(0); }
  10%, 62% { opacity: 1; transform: translateX(0); }
  82% { opacity: .34; transform: translateX(0); }
  100% { opacity: .42; transform: translateX(0); }
}
@keyframes spectro-scan {
  0%, 4% { opacity: 0; transform: translateX(0); }
  7% { opacity: .88; }
  27% { opacity: .72; transform: translateX(var(--scan-distance)); }
  31%, 100% { opacity: 0; transform: translateX(var(--scan-distance)); }
}
@keyframes stream-life {
  0%, 100% { opacity: .18; }
  12% { opacity: .42; }
  23%, 62% { opacity: .76; }
  82% { opacity: .28; }
}
@keyframes stream-energy {
  0%, 17% { stroke-dashoffset: 1; opacity: 0; }
  22% { opacity: .82; }
  47% { stroke-dashoffset: 0; opacity: .9; }
  54%, 100% { stroke-dashoffset: -.06; opacity: 0; }
}
@keyframes representation-particle-life {
  0%, 20% { opacity: 0; }
  24%, 46% { opacity: 1; }
  52%, 100% { opacity: 0; }
}
@keyframes output-drawn-life { 0%, 39.5% { opacity: 0; } 40%, 86% { opacity: 1; } 92%, 100% { opacity: 0; } }
@keyframes output-pulse {
  0%, 75% { stroke-dashoffset: 0; opacity: 0; }
  77% { stroke-dashoffset: 0; opacity: .9; }
  91% { stroke-dashoffset: -.945; opacity: .9; }
  95%, 100% { stroke-dashoffset: -.945; opacity: 0; }
}
@keyframes convergence {
  0%, 42% { opacity: 0; transform: scale(.35); transform-origin: 618px 112px; }
  48% { opacity: .95; transform: scale(1); }
  58%, 100% { opacity: 0; transform: scale(.65); }
}
@keyframes convergence-ring {
  0%, 43% { opacity: 0; transform: scale(.35); }
  47% { opacity: .7; }
  59%, 100% { opacity: 0; transform: scale(4.2); }
}
@keyframes output-head-life {
  0%, 39.5% { opacity: 0; }
  40%, 73.5% { opacity: 1; }
  74%, 100% { opacity: 0; }
}
.hero-metrics { order: 1; width: min(700px, 100%); margin: 40px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.hero-metrics div { padding: 0 24px; }
.hero-metrics div + div { border-left: 1px solid #dedee3; }
.hero-metrics strong { display: block; color: var(--ink); font-size: clamp(32px, 3vw, 49px); line-height: 1; letter-spacing: -.02em; font-weight: 500; font-variant-numeric: lining-nums tabular-nums; font-kerning: normal; }
.hero-metrics span { display: block; margin-top: 11px; color: #6e6e73; font-size: 10px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.hero-actions { order: 2; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 42px; }
.button { display: inline-flex; gap: 9px; align-items: center; justify-content: center; min-width: 145px; padding: 15px 21px; border-radius: 99px; font-size: 13px; font-weight: 700; transition: transform .25s, background .25s; }
.button-icon { width: 17px; height: 17px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.button-icon-fill { fill: currentColor; stroke: none; }
.button-emoji { display: inline-block; font-size: 17px; line-height: 1; }
.button:hover { transform: none; }
.button-primary { color: white; background: #0071e3; box-shadow: 0 10px 28px rgba(0,113,227,.18); }
.button-ghost { color: #0071e3; border: 1px solid #0071e3; background: #fff; box-shadow: 0 8px 22px rgba(0,0,0,.06); }
.button-ghost:hover { background: #f5f5f7; }
.spotlight-action { cursor: default; }
.spotlight-action:hover { transform: none; }
.signal-meta, .signal-axis { display: flex; justify-content: space-between; color: rgba(242,240,232,.6); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.spectrogram-wrap { position: relative; margin: 12px 0; min-height: 340px; overflow: hidden; border: 1px solid rgba(255,255,255,.2); background: #160b5c; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.spectrogram-wrap:after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,47,56,.6), transparent 30%, transparent 80%, rgba(6,47,56,.5)); pointer-events: none; }
.spectrogram-wrap img { width: 100%; height: 340px; object-fit: cover; filter: saturate(.8) hue-rotate(20deg) contrast(1.1); }
.trace { position: absolute; inset: 10% 0 auto; z-index: 2; width: 100%; height: 76%; }
.trace path { fill: none; stroke: var(--aqua); stroke-width: 2; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 7px var(--aqua)); stroke-dasharray: 1300; stroke-dashoffset: 0; }
.spectrogram-wrap.playing .trace path { animation: draw 3.6s linear infinite; }
@keyframes draw { from { stroke-dashoffset: 1300; } to { stroke-dashoffset: 0; } }
.signal-control { position: absolute; z-index: 4; left: 20px; bottom: 18px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); color: white; background: rgba(6,47,56,.6); cursor: pointer; backdrop-filter: blur(8px); }
.hero-foot { position: absolute; z-index: 3; bottom: 30px; left: max(28px, calc((100vw - var(--max)) / 2)); right: max(28px, calc((100vw - var(--max)) / 2)); display: flex; justify-content: space-between; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; opacity: .52; }

.section-pad { max-width: var(--max); margin: auto; padding: 125px 28px; }
.statement { text-align: center; }
.section-index { color: var(--coral); margin: 0 0 46px; }
.statement h2, .research > h2 { font-size: clamp(42px, 5.3vw, 76px); line-height: 1.06; letter-spacing: -.025em; font-weight: 400; margin: 0; }
.statement h2 span { color: #86868b; }
.statement-grid { width: min(780px, 100%); margin: 58px auto 0; padding-top: 28px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; text-align: left; gap: 50px; color: #6e6e73; font-size: 16px; }
.statement-grid p { margin: 0; }

.numbers { border-top: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; gap: 40px; align-items: flex-start; margin-bottom: 62px; }
.section-heading .section-index { margin: 8px 0 0; }
.section-kicker { margin: 0; text-align: right; font-family: Georgia, serif; font-size: 32px; line-height: 1.08; font-style: italic; }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.metric { padding: 42px 25px 36px 0; }
.metric + .metric { padding-left: 25px; border-left: 1px solid var(--line); }
.metric-no { display: block; font-size: clamp(40px, 4.4vw, 68px); line-height: 1; letter-spacing: 0; font-variant-numeric: lining-nums tabular-nums; font-kerning: normal; }
.metric:first-child .metric-no:before { content: "≈"; font-size: .5em; vertical-align: top; margin-right: 4px; color: var(--coral); }
.metric h3 { margin: 11px 0 35px; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; }
.metric p { max-width: 225px; margin: 0; color: #6e6e73; font-size: 13px; }
.field-story { margin: 100px 0 0; }
.field-media { display: grid; grid-template-columns: .72fr 1.28fr; gap: 12px; align-items: stretch; }
.field-photos { display: grid; grid-template-rows: 1fr 1fr; gap: 12px; min-width: 0; }
.field-photos img, .field-video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.field-photos img { min-height: 0; }
.field-video { position: relative; min-width: 0; overflow: hidden; aspect-ratio: 4 / 3; background: #082f3a; }
.field-story figcaption { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 20px; font-size: 12px; }
.field-story figcaption span { text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.field-story figcaption p { margin: 0; max-width: 560px; color: #6e6e73; }

.sound-gallery { padding-top: 100px; overflow: hidden; background: #f5f5f7; }
.sound-intro { padding-top: 40px; padding-bottom: 75px; display: grid; grid-template-columns: .8fr 1.3fr .8fr; align-items: start; gap: 40px; }
.sound-intro h2 { margin: 0; font-size: clamp(45px, 5vw, 72px); line-height: .98; letter-spacing: -.025em; font-weight: 400; }
.sound-intro h2 em { color: #764ba2; }
.sound-intro > p:last-child { margin: 0; color: #6e6e73; }
.whistle-carousel { max-width: 1500px; margin: auto; padding: 0 0 34px; }
.whistle-carousel-controls { display: flex; align-items: center; justify-content: flex-end; gap: 16px; margin-bottom: 14px; }
.whistle-scroll-status { color: #85858a; font-size: 10px; font-weight: 700; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.whistle-carousel-actions { display: flex; border: 1px solid #d2d2d7; }
.whistle-cards { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(245px, 20vw, 292px); gap: 2px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: #a7a7ac transparent; }
.whistle-cards::-webkit-scrollbar { height: 4px; }
.whistle-cards::-webkit-scrollbar-track { background: transparent; }
.whistle-cards::-webkit-scrollbar-thumb { background: #a7a7ac; border-radius: 999px; }
.whistle-card { scroll-snap-align: start; }
.whistle-scroll { width: 38px; height: 34px; display: grid; place-items: center; padding: 0; border: 0; background: transparent; color: #1d1d1f; cursor: pointer; transition: opacity .2s, background .2s; }
.whistle-scroll + .whistle-scroll { border-left: 1px solid #d2d2d7; }
.whistle-scroll svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.whistle-scroll:hover { background: #fff; }
.whistle-scroll:disabled { opacity: .22; cursor: default; }
.whistle-card { background: var(--deep); color: white; }
.whistle-art { height: 310px; overflow: hidden; background: #1c0c5f; }
.whistle-art img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75) hue-rotate(23deg); transition: transform .7s, filter .7s; }
.luna-card .whistle-art img { object-position: 22% center; }
.dana-card .whistle-art { background: #225d70; }
.dana-card .whistle-art img { object-fit: fill; }
.whistle-card:hover img { transform: scale(1.06); filter: saturate(1.2); }
.whistle-card > div:last-child { padding: 24px; display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 4px 20px; }
.whistle-card span, .whistle-card small { font-size: 9px; letter-spacing: .08em; text-transform: uppercase; opacity: .55; }
.whistle-card strong { grid-row: span 2; font-family: Georgia, serif; font-size: 30px; font-weight: 400; text-align: right; white-space: nowrap; }

.pipeline .section-heading h2, .benchmark .section-heading h2 { width: 70%; margin: 0; font-size: clamp(44px, 5vw, 72px); line-height: 1; letter-spacing: -.025em; font-weight: 400; }
.pipeline-grid { display: grid; grid-template-columns: .8fr 1.2fr; min-height: 600px; border-top: 1px solid var(--line); }
.pipeline-steps { border-right: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 60px 1fr; gap: 20px; padding: 27px 30px 27px 0; border-bottom: 1px solid var(--line); cursor: pointer; opacity: .42; transition: opacity .25s, padding .25s; outline: none; }
.step.active, .step:hover, .step:focus { opacity: 1; padding-left: 14px; }
.step > span { color: var(--coral); font-size: 11px; letter-spacing: .08em; }
.step h3 { margin: 0 0 8px; font-family: Georgia, serif; font-size: 29px; font-weight: 400; }
.step p { max-width: 390px; margin: 0; color: #6e6e73; font-size: 13px; }
.pipeline-visual { position: relative; display: grid; place-items: center; overflow: hidden; background: #f5f5f7; }
.radar { position: absolute; width: 700px; aspect-ratio: 1; border: 1px solid rgba(0,0,0,.08); border-radius: 50%; }
.radar span { position: absolute; inset: 16%; border: inherit; border-radius: inherit; }
.radar span:nth-child(2) { inset: 32%; }.radar span:nth-child(3) { inset: 47%; }
.radar i { position: absolute; width: 50%; height: 1px; left: 50%; top: 50%; background: var(--coral); transform-origin: left; animation: radar 7s linear infinite; }
@keyframes radar { to { transform: rotate(360deg); } }
.pipeline-screen { position: relative; z-index: 2; width: min(78%, 650px); padding: 13px; background: var(--deep); color: white; box-shadow: 0 35px 70px rgba(0,0,0,.25); }
.pipeline-screen img { width: 100%; height: 250px; object-fit: cover; }
.screen-top, .screen-bottom { display: flex; justify-content: space-between; align-items: center; min-height: 35px; font-size: 9px; letter-spacing: .08em; }
.live-dot { color: var(--aqua); }.live-dot:before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 6px; border-radius: 50%; background: currentColor; }
.screen-bottom strong { color: var(--aqua); font-size: 20px; letter-spacing: 0; font-variant-numeric: lining-nums tabular-nums; }
.detection-box { position: absolute; z-index: 4; top: 108px; left: 36%; width: 25%; height: 100px; border: 1px solid var(--aqua); box-shadow: 0 0 25px rgba(0,113,227,.24); transition: left .5s, width .5s; }

/* Interactive pipeline */
.pipeline-heading { align-items: flex-start; }
.pipeline-heading .section-index { margin-top: 4px; }
.workflow { margin-top: 74px; padding: 34px; border: 1px solid rgba(0,0,0,.07); border-radius: 28px; background: #fff; box-shadow: 0 22px 70px rgba(29,29,31,.08); }
.workflow-topbar { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 28px; }
.workflow-topbar > div:first-child { display: grid; gap: 3px; }
.workflow-topbar strong { font-size: 20px; letter-spacing: -.015em; }
.workflow-topbar span { color: #86868b; font-size: 11px; }
.workflow-controls { display: flex; gap: 10px; }
.workflow-controls button { display: grid; width: 44px; height: 44px; padding: 0; place-items: center; border: 0; border-radius: 50%; background: #f5f5f7; cursor: pointer; transition: background .2s, color .2s; }
.workflow-controls button:hover, .workflow-controls button.active { color: #fff; background: #0071e3; }
.workflow-controls svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.workflow-controls [data-workflow-action="play"] svg { fill: currentColor; stroke: none; }
.workflow-tabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 28px; }
.workflow-tabs button { min-height: 88px; padding: 15px 12px; display: grid; place-content: center; gap: 5px; border: 0; border-radius: 13px; color: #6e6e73; background: #f5f5f7; cursor: pointer; transition: color .25s, background .25s, transform .25s; }
.workflow-tabs button:hover { transform: translateY(-2px); }
.workflow-tabs button.active { color: #fff; background: #0071e3; box-shadow: 0 10px 24px rgba(0,113,227,.18); }
.workflow-tabs span { font-size: 10px; font-weight: 700; letter-spacing: .04em; }
.workflow-tabs strong { font-size: 13px; font-weight: 700; }
.workflow-stage { position: relative; min-height: 500px; overflow: hidden; border-radius: 20px; background: #f5f5f7; }
.workflow-panel { min-height: 500px; padding: 42px 48px 46px; animation: workflow-panel-in .38s ease both; }
.workflow-panel[hidden] { display: none; }
@keyframes workflow-panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.workflow-panel-heading { display: flex; justify-content: space-between; gap: 35px; align-items: baseline; padding-bottom: 20px; border-bottom: 1px solid rgba(0,0,0,.1); }
.workflow-panel-heading span { color: #0071e3; font-size: 9px; font-weight: 700; letter-spacing: .08em; }
.workflow-panel-heading strong { max-width: 620px; font-size: 19px; font-weight: 400; text-align: right; }
.workflow-flow { min-height: 340px; display: flex; align-items: center; justify-content: center; gap: clamp(20px, 3vw, 46px); }
.workflow-node, .model-node, .detector-results, .artwarp-node, .expert-node { position: relative; min-width: 0; padding: 22px; border: 1px solid rgba(0,0,0,.08); border-radius: 16px; background: #fff; box-shadow: 0 12px 30px rgba(29,29,31,.06); }
.workflow-node > span, .model-node > span, .detector-results > span, .artwarp-node > span, .expert-node > span { display: block; margin-bottom: 16px; color: #86868b; font-size: 9px; font-weight: 700; letter-spacing: .08em; }
.workflow-node small, .model-node small, .detector-results small, .artwarp-node small, .expert-node small { display: block; margin-top: 12px; color: #86868b; font-size: 10px; }
.workflow-arrow { flex: 0 0 auto; color: #0071e3; font-size: 34px; font-weight: 400; }
.waveform-node { width: 31%; }
.waveform-node svg { display: block; width: 100%; height: 92px; }
.waveform-node path { fill: none; stroke: #1d1d1f; stroke-width: 2; vector-effect: non-scaling-stroke; }
.spectrogram-node { width: 30%; }
.spectrogram-stack { position: relative; height: 116px; }
.spectrogram-stack img { position: absolute; width: 72%; height: 88px; object-fit: cover; filter: grayscale(1) contrast(1.08); border: 1px solid #fff; }
.spectrogram-stack img:nth-child(1) { left: 0; top: 24px; }
.spectrogram-stack img:nth-child(2) { left: 13%; top: 12px; }
.spectrogram-stack img:nth-child(3) { left: 26%; top: 0; }
.compact-node { width: 20%; text-align: center; }
.compact-node strong { display: block; color: #0071e3; font-size: 31px; line-height: 1; }
.detector-sample { width: 25%; }
.detector-sample img { width: 100%; height: 128px; object-fit: cover; }
.model-node { width: 32%; text-align: center; }
.model-node > strong { display: block; font-size: 38px; line-height: 1; }
.model-layers { height: 66px; display: flex; align-items: center; justify-content: center; gap: 8px; margin: 20px 0; }
.model-layers i { display: block; width: 15px; height: 45px; border: 1px solid #0071e3; background: rgba(0,113,227,.1); transform: skewY(-8deg); }
.model-layers i:nth-child(2) { height: 54px; }.model-layers i:nth-child(3) { height: 62px; }.model-layers i:nth-child(4) { width: 10px; height: 36px; }.model-layers i:nth-child(5) { width: 7px; height: 23px; }
.model-node b { color: #6e6e73; font-size: 10px; font-weight: 700; }
.detector-results { width: 24%; }
.detector-results div { display: grid; grid-template-columns: 1fr auto; align-items: baseline; padding: 11px 0; border-top: 1px solid var(--line); }
.detector-results strong { color: #0071e3; font-size: 25px; }
.detector-results div small { margin: 0; text-transform: uppercase; }
.segmentation-demo { max-width: 950px; margin: 50px auto 0; text-align: center; }
.segment-windows { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.segment-windows i { height: 82px; border: 1px solid rgba(0,0,0,.1); border-radius: 8px; background: #fff url("assets/images/whistles/timeline.webp") center / auto 100% no-repeat; filter: grayscale(1); opacity: .5; }
.segment-windows i.positive { border: 2px solid #0071e3; filter: none; opacity: 1; box-shadow: 0 0 0 3px rgba(0,113,227,.08); }
.segment-rule { display: flex; justify-content: space-between; margin: 15px 0 0; color: #86868b; font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.segment-rule strong { color: #0071e3; }
.vertical-arrow { display: block; margin: 10px 0; }
.sequence-output { width: min(700px, 100%); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 24px; padding: 16px; border-radius: 14px; background: #fff; border: 1px solid rgba(0,0,0,.08); text-align: left; }
.sequence-output img { width: 100%; height: 108px; object-fit: cover; }
.sequence-output span { color: #86868b; font-size: 9px; letter-spacing: .08em; }
.sequence-output strong { display: block; margin: 8px 0 3px; font-size: 23px; }
.sequence-output small { color: #6e6e73; }
.annotation-flow .contour-node, .annotation-flow .artwarp-node, .annotation-flow .expert-node { width: 28%; }
.contour-node img { width: 100%; height: 132px; object-fit: cover; }
.contour-overlay { position: absolute; left: 22px; top: 22px; width: calc(100% - 44px); height: 132px; overflow: visible; }
.contour-overlay path { fill: none; stroke: #ff5f57; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 3px rgba(255,95,87,.55)); }
.artwarp-node { text-align: center; }
.artwarp-node > strong { font-size: 29px; }
.cluster-map { position: relative; width: 130px; height: 100px; margin: 18px auto 0; }
.cluster-map i, .cluster-map b { position: absolute; display: block; width: 12px; height: 12px; border-radius: 50%; background: #0071e3; }
.cluster-map i:nth-child(1) { left: 8px; top: 8px; }.cluster-map i:nth-child(2) { left: 8px; top: 34px; }.cluster-map i:nth-child(3) { left: 8px; top: 60px; }.cluster-map i:nth-child(4) { left: 8px; top: 86px; }.cluster-map i:nth-child(5) { left: 59px; top: 47px; background: #764ba2; }
.cluster-map b { right: 8px; background: #86868b; }.cluster-map b:nth-of-type(1) { top: 16px; }.cluster-map b:nth-of-type(2) { top: 47px; }.cluster-map b:nth-of-type(3) { top: 78px; }
.cluster-map:before, .cluster-map:after { content: ""; position: absolute; left: 20px; right: 20px; top: 50%; height: 1px; background: rgba(0,0,0,.18); transform: rotate(22deg); transform-origin: center; }
.cluster-map:after { transform: rotate(-22deg); }
.expert-stack { position: relative; height: 126px; }
.expert-stack img { position: absolute; width: 82%; height: 104px; object-fit: cover; border: 3px solid #fff; }
.expert-stack img:first-child { left: 0; top: 0; }.expert-stack img:last-child { right: 0; bottom: 0; }
.expert-node > strong { display: block; margin-top: 12px; color: #0071e3; font-size: 18px; }
.output-branch { position: relative; max-width: 900px; margin: 40px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 34px; padding-top: 100px; }
.branch-source { position: absolute; top: 0; left: 50%; padding: 12px 20px; border-radius: 10px; background: #1d1d1f; color: #fff; transform: translateX(-50%); text-align: center; }
.branch-source span { display: block; color: #a1a1a6; font-size: 8px; letter-spacing: .08em; }
.branch-source strong { font-size: 13px; }
.branch-lines { position: absolute; top: 54px; left: 24%; right: 24%; height: 45px; border-top: 1px solid #0071e3; border-left: 1px solid #0071e3; border-right: 1px solid #0071e3; }
.output-branch article { padding: 30px; border: 1px solid rgba(0,0,0,.08); border-radius: 16px; background: #fff; text-align: center; }
.output-branch article > span { display: block; color: #86868b; font-size: 9px; letter-spacing: .08em; }
.output-branch article > strong { display: block; margin: 17px 0 3px; color: #0071e3; font-size: 54px; line-height: 1; }
.output-branch article > b { display: block; font-size: 13px; }
.output-branch article > small { display: block; margin-top: 18px; color: #6e6e73; font-size: 11px; }
.workflow-footer { display: flex; justify-content: space-between; align-items: center; padding: 18px 4px 0; color: #86868b; font-size: 10px; }
.workflow-footer span { display: flex; align-items: center; gap: 8px; }
.workflow-footer i { display: block; width: 7px; height: 7px; border-radius: 50%; background: #0071e3; }
.workflow-footer strong { color: #1d1d1f; }

/* Pipeline figure assets */
.spectrogram-stack img { width: 88px; height: 88px; object-fit: contain; filter: none; background: #ececec; }
.detector-sample img { height: 150px; object-fit: contain; background: #f5f5f7; }
.model-node { width: 38%; }
.vgg16-figure { display: block; width: 100%; height: 155px; margin: 8px auto 17px; object-fit: contain; mix-blend-mode: multiply; }
.segmentation-demo { max-width: 1050px; margin-top: 42px; }
.segmentation-paper { margin: 0; padding: 28px 32px 23px; border: 1px solid rgba(0,0,0,.08); border-radius: 16px; background: #fff; box-shadow: 0 12px 30px rgba(29,29,31,.06); }
.segmentation-paper img { display: block; width: 100%; height: 188px; object-fit: contain; }
.segmentation-paper figcaption { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: baseline; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); text-align: left; }
.segmentation-paper figcaption span { color: #86868b; font-size: 9px; font-weight: 700; letter-spacing: .08em; }
.segmentation-paper figcaption strong { font-size: 13px; }
.segmentation-paper figcaption small { color: #86868b; font-size: 10px; }
.contour-node img { height: 165px; object-fit: contain; background: #fff; }
.artwarp-figure { display: block; width: 100%; height: 150px; margin: 4px auto 10px; object-fit: contain; mix-blend-mode: multiply; }
.artwarp-node > strong { display: block; font-size: 20px; }
.expert-stack.paper-expert-stack { position: static; display: grid; height: auto; gap: 5px; }
.expert-stack.paper-expert-stack img, .expert-stack.paper-expert-stack img:first-child, .expert-stack.paper-expert-stack img:last-child { position: static; width: 100%; height: 42px; object-fit: contain; border: 0; }


/* Workflow presentation */
.workflow { max-width: 1240px; margin: 68px auto 0; padding: 30px; border-color: #e7e7e9; border-radius: 30px; box-shadow: 0 24px 70px rgba(29,29,31,.065); }
.workflow-topbar { margin-bottom: 24px; }
.workflow-topbar > div:first-child { gap: 4px; }
.workflow-topbar strong { font-size: 22px; font-weight: 700; letter-spacing: -.022em; }
.workflow-topbar span { font-size: 11px; color: #7b7b80; }
.workflow-controls { gap: 8px; }
.workflow-controls button { width: 42px; height: 42px; color: #515154; border: 1px solid transparent; background: #f5f5f7; transform: none; transition: color .2s ease, background-color .2s ease, border-color .2s ease; }
.workflow-controls button:hover { color: #1d1d1f; border-color: #dedee1; background: #fff; }
.workflow-controls button.active, .workflow-controls button.active:hover { color: #fff; border-color: #0071e3; background: #0071e3; }
.workflow-controls button:focus-visible, .workflow-tabs button:focus-visible { outline: 3px solid rgba(0,113,227,.22); outline-offset: 2px; }
.workflow-tabs { gap: 9px; margin-bottom: 24px; }
.workflow-tabs button { position: relative; min-height: 78px; overflow: hidden; border: 1px solid transparent; border-radius: 14px; background: #f5f5f7; transform: none; transition: color .22s ease, background-color .22s ease, border-color .22s ease; }
.workflow-tabs button:hover { color: #1d1d1f; border-color: #e1e1e3; background: #fafafa; transform: none; }
.workflow-tabs button.active, .workflow-tabs button.active:hover { color: #fff; border-color: #0071e3; background: #0071e3; box-shadow: none; }
.workflow-tabs button.active::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 3px; background: rgba(255,255,255,.82); }
.workflow.is-playing .workflow-tabs button.active::after { animation: workflow-tab-progress 3.2s linear both; }
@keyframes workflow-tab-progress { from { width: 0; } to { width: 100%; } }
.workflow-tabs span { font-size: 9px; letter-spacing: .055em; opacity: .82; }
.workflow-tabs strong { font-size: 13px; }
.workflow-stage { min-height: 510px; border: 1px solid #ededee; border-radius: 22px; background: #f7f7f8; }
.workflow-panel { min-height: 510px; padding: 39px 46px 43px; animation: workflow-panel-in .46s cubic-bezier(.2,.7,.2,1) both; }
@keyframes workflow-panel-in { from { opacity: 0; transform: translateY(7px) scale(.995); } to { opacity: 1; transform: none; } }
.workflow-panel-heading { padding-bottom: 19px; border-color: #dedee0; }
.workflow-panel-heading span { font-size: 9px; letter-spacing: .09em; }
.workflow-panel-heading strong { font-size: 19px; font-weight: 400; letter-spacing: -.012em; }
.workflow-flow { min-height: 350px; }
.workflow-node, .model-node, .detector-results, .artwarp-node, .expert-node { border-color: #e5e5e7; border-radius: 18px; box-shadow: 0 10px 28px rgba(29,29,31,.045); }
.workflow-node > span, .model-node > span, .detector-results > span, .artwarp-node > span, .expert-node > span { margin-bottom: 13px; color: #7b7b80; }
.workflow-node small, .model-node small, .detector-results small, .artwarp-node small, .expert-node small { color: #7b7b80; }
.workflow-arrow { display: grid; width: 34px; height: 34px; place-items: center; color: transparent; border: 1px solid #dedee1; border-radius: 50%; background: #fff; font-size: 0; box-shadow: 0 4px 14px rgba(29,29,31,.035); }
.workflow-arrow::before { content: ""; width: 7px; height: 7px; border-top: 1.5px solid #0071e3; border-right: 1.5px solid #0071e3; transform: rotate(45deg) translate(-1px,1px); }
.workflow-flow-input .workflow-node { display: flex; min-height: 212px; flex-direction: column; justify-content: center; }
.workflow-flow-input .spectrogram-stack { width: 180px; margin: 0 auto; }
.detector-flow > article { display: flex; min-height: 274px; flex-direction: column; justify-content: center; }
.detector-sample img { width: 150px; margin: 0 auto; border-radius: 4px; }
.vgg16-figure { margin-top: 2px; margin-bottom: 15px; }
.detector-results strong { letter-spacing: -.02em; }
.segmentation-paper { padding: 25px 30px 21px; border-color: #e5e5e7; border-radius: 18px; box-shadow: 0 10px 28px rgba(29,29,31,.045); }
.segmentation-paper figcaption { border-color: #e5e5e7; }
.annotation-flow > article { display: flex; min-height: 296px; flex-direction: column; justify-content: center; }
.contour-node img { border-radius: 5px; }
.artwarp-figure { margin-top: 0; }
.expert-stack.paper-expert-stack { padding: 5px 0; }
.output-branch { gap: 26px; }
.branch-source { color: #1d1d1f; border: 1px solid #dcdcdf; background: #fff; box-shadow: 0 7px 20px rgba(29,29,31,.055); }
.branch-source span { color: #86868b; }
.branch-lines { border-color: #b8d8f8; }
.output-branch article { border-color: #e5e5e7; border-radius: 18px; box-shadow: 0 10px 28px rgba(29,29,31,.04); }
.output-branch article > strong { letter-spacing: -.035em; white-space: nowrap; }
.workflow-footer { padding-top: 16px; }
.workflow-footer i { width: 6px; height: 6px; }

.benchmark { max-width: none; padding-left: max(28px, calc((100vw - var(--max)) / 2)); padding-right: max(28px, calc((100vw - var(--max)) / 2)); color: var(--foam); background: var(--deep); }
.section-heading.light { display: grid; grid-template-columns: 170px 660px minmax(0, 1fr); align-items: start; }
.section-heading.light .section-index { margin: 3px 0 0; }
.section-heading.light h2, .section-heading.light > p:last-child { padding: 0; transform: none; }
.section-heading.light h2 { width: auto; }
.benchmark .section-heading h2 { font-family: "Helvetica Neue", "Liberation Sans", Arial, sans-serif; font-weight: 400; font-kerning: normal; font-feature-settings: "kern" 1, "liga" 1; line-height: 1.02; letter-spacing: -.035em; white-space: nowrap; }
.benchmark .section-index { color: rgba(255,255,255,.48); }
.section-heading.light > p:last-child { margin: 0; color: rgba(242,240,232,.58); }
/* Benchmark */
.benchmark { color: var(--ink); background: #f5f5f7; }
.benchmark .section-index { color: var(--aqua); }
.benchmark .section-heading.light > p:last-child { color: #6e6e73; }
.research > .section-index { text-align: center; }
.research > h2 { text-align: center; }
.research > h2 em { color: #764ba2; }
.research-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 80px; border-top: 1px solid var(--line); }
.research-grid article { position: relative; min-height: 235px; padding: 28px 25px 25px 0; }
.research-grid article + article { padding-left: 25px; border-left: 1px solid var(--line); }
.research-grid span { color: var(--coral); font-size: 13px; font-weight: 700; letter-spacing: .025em; }
.research-grid h3 { margin: 48px 0 10px; font-family: Georgia, serif; font-weight: 400; font-size: 26px; }
.research-grid p { margin: 0; color: #6e6e73; font-size: 13px; }

.team { text-align: center; }
.team h2 { margin: 0 0 45px; font-size: clamp(42px, 4.2vw, 60px); letter-spacing: -.025em; font-weight: 400; }
.authors { max-width: 1120px; margin: auto; font-family: Georgia, serif; font-size: clamp(20px, 2vw, 29px); line-height: 1.7; }
.authors a { transition: color .2s; }
.authors a:hover { color: var(--aqua); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.authors sup { margin-left: 2px; color: var(--aqua); font-family: "Helvetica Neue", "Liberation Sans", Arial, sans-serif; font-size: .48em; font-weight: 700; vertical-align: super; }
.team-note { margin-top: 40px; color: #86868b; font-size: 12px; }
.team-affiliations { max-width: 1080px; margin-right: auto; margin-left: auto; line-height: 1.8; }
.team-affiliations sup { color: var(--aqua); font-weight: 700; }
.citation { max-width: var(--max); padding-top: 110px; padding-bottom: 115px; border-top: 1px solid var(--line); text-align: left; background: #fff; }
.citation .section-index { margin-bottom: 20px; color: var(--aqua); }
.citation h2 { margin: 0; font-size: clamp(42px, 4.2vw, 60px); line-height: 1; letter-spacing: -.035em; font-weight: 700; }
.citation-lead { max-width: 660px; margin: 24px 0 0; color: #86868b; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.45; }
.citation-card { position: relative; margin-top: 46px; padding: 16px; overflow: hidden; border: 1px solid #e5e5e7; border-radius: 22px; background: #f5f5f7; }
.citation-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 4px 3px 15px; }
.citation-toolbar strong { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; }
.citation-toolbar strong > span { color: #86868b; font-family: Georgia, serif; font-size: 22px; line-height: 1; }
.citation-copy { display: inline-flex; align-items: center; gap: 7px; padding: 10px 13px; border: 1px solid #dedee1; border-radius: 99px; color: var(--ink); background: #fff; cursor: pointer; font-size: 12px; font-weight: 700; transition: border-color .2s, background .2s; }
.citation-copy:hover { border-color: #b8b8bd; background: #fafafa; }
.citation-copy svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.citation pre { margin: 0; padding: 24px 26px; overflow: auto; border: 0; border-radius: 14px; color: #1d1d1f; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.04); font: 13px/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.site-footer { min-height: 180px; padding: 34px max(28px, calc((100vw - var(--max)) / 2)) 24px; display: block; color: #c7c7ca; background: #1d1d1f; font-size: 15px; }
.footer-inner { position: relative; width: 100%; min-height: 120px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto; align-content: start; }
.footer-credit { grid-column: 1 / -1; margin: 24px auto 0; color: #85858a; font-size: 13px; text-align: center; }

.reveal, .reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1200px) and (min-width: 901px) {
  .whistle-cards { grid-auto-columns: minmax(245px, 31vw); }
}

@media (max-width: 900px) {
  .site-header { height: 72px; }
  .menu-toggle { display: grid; gap: 6px; }
  .menu-toggle span { display: block; width: 24px; height: 1px; background: var(--ink); }
  .site-header nav { display: none; position: absolute; inset: 72px 16px auto; padding: 25px; flex-direction: column; align-items: stretch; color: white; background: var(--deep); border: 1px solid rgba(255,255,255,.2); }
  .site-header nav .nav-cta { border-color: rgba(255,255,255,.3); }
  .site-header nav.open { display: flex; }
  .hero { padding-top: 125px; padding-bottom: 70px; }
  .statement-grid, .field-story figcaption { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .metric:nth-child(3) { border-left: 0; }
  .metric:nth-child(n+3) { border-top: 1px solid var(--line); }
  .sound-intro { grid-template-columns: 1fr; }
  .sound-intro .section-index { margin-bottom: 10px; }
  .whistle-carousel { padding: 0 0 60px 28px; }
  .whistle-carousel-controls { padding-right: 28px; }
  .whistle-cards { grid-auto-columns: minmax(235px, 76vw); gap: 10px; }
  .pipeline .section-heading h2 { width: 100%; }
  .pipeline-grid { grid-template-columns: 1fr; }
  .workflow { padding: 24px; }
  .workflow-tabs { overflow-x: auto; grid-template-columns: repeat(5, minmax(125px, 1fr)); padding-bottom: 5px; }
  .workflow-flow { gap: 22px; }
  .workflow-node, .model-node, .detector-results, .artwarp-node, .expert-node { padding: 18px; }
  .annotation-flow .contour-node, .annotation-flow .artwarp-node, .annotation-flow .expert-node { width: 30%; }
  .pipeline-steps { border-right: 0; }
  .pipeline-visual { min-height: 460px; }
  .section-heading.light { grid-template-columns: 1fr; }
  .benchmark .section-heading h2 { white-space: normal; }
  .section-heading.light h2 { width: 100%; }
  .research-grid { grid-template-columns: 1fr 1fr; }
  .research-grid article:nth-child(3) { border-left: 0; }
}

@media (max-width: 580px) {
  .section-pad { padding: 85px 20px; }
  .hero { padding-left: 20px; padding-right: 20px; }
  h1 .paper-name { font-size: clamp(46px, 14vw, 64px); }
  .hero .paper-title { font-size: 24px; }
  .desktop-break { display: none; }
  .hero-stage { margin-bottom: calc(22vw + 28px); padding-top: 16px; }
  .whistle-network { top: calc(100% + 28px); width: 100vw; height: auto; margin-top: 0; border-radius: 0; }
  .whistle-network svg { height: auto; }
  .network-labels { inset: auto 8px 5px; font-size: 5px; letter-spacing: .05em; }
  .hero-metrics { grid-template-columns: 1fr 1fr; gap: 28px 0; }
  .hero-metrics div:nth-child(3) { border-left: 0; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .button { min-width: 0; padding: 14px 10px; }
  .metrics-grid, .statement-grid, .research-grid { grid-template-columns: 1fr; }
  .metric, .metric + .metric { padding: 28px 0; border-left: 0; border-top: 1px solid var(--line); }
  .metric:first-child { border-top: 0; }
  .feature-figure { margin-top: 60px; }
  .feature-figure img { min-height: 360px; object-fit: cover; object-position: 30% center; }
  .section-heading { flex-direction: column; }
  .section-kicker { text-align: left; }
  .pipeline .section-heading h2, .benchmark .section-heading h2 { width: 100%; }
  .pipeline-screen { width: 92%; }
  .workflow { margin-top: 44px; padding: 14px; border-radius: 18px; }
  .workflow-topbar { align-items: flex-start; }
  .workflow-topbar > div:first-child span { max-width: 180px; }
  .workflow-controls button { width: 38px; height: 38px; }
  .workflow-tabs { margin: 0 -2px 16px; grid-template-columns: repeat(5, minmax(118px, 1fr)); gap: 6px; }
  .workflow-tabs button { min-height: 72px; }
  .workflow-stage, .workflow-panel { min-height: 680px; }
  .workflow-panel { padding: 25px 16px 30px; }
  .workflow-panel-heading { flex-direction: column; gap: 7px; }
  .workflow-panel-heading strong { font-size: 16px; text-align: left; }
  .workflow-flow { min-height: 530px; flex-direction: column; padding: 28px 0; }
  .workflow-arrow { transform: rotate(90deg); }
  .workflow-node, .model-node, .detector-results, .artwarp-node, .expert-node, .waveform-node, .spectrogram-node, .compact-node, .detector-sample, .annotation-flow .contour-node, .annotation-flow .artwarp-node, .annotation-flow .expert-node { width: 100%; }
  .waveform-node svg { height: 68px; }
  .detector-flow { min-height: 760px; }
  .annotation-flow { min-height: 900px; }
  .segment-windows { grid-template-columns: repeat(4, 1fr); }
  .segment-windows i:nth-child(n+5) { display: none; }
  .sequence-output { grid-template-columns: 1fr; }
  .output-branch { grid-template-columns: 1fr; gap: 14px; padding-top: 78px; }
  .branch-lines { display: none; }
  .workflow-panel[data-workflow-panel="4"] { min-height: 720px; }
  .workflow-footer span { max-width: 220px; }
  .benchmark { padding-left: 20px; padding-right: 20px; }
  .research-grid article, .research-grid article + article { min-height: auto; padding: 25px 0 35px; border-left: 0; border-top: 1px solid var(--line); }
  .research-grid h3 { margin-top: 35px; }
  .citation { padding-top: 85px; padding-bottom: 90px; }
  .citation h2 { font-size: 44px; }
  .citation-lead { font-size: 17px; }
  .citation-toolbar { margin-top: 38px; }
  .citation pre { padding: 17px; font-size: 11px; line-height: 1.6; }
  .site-footer { min-height: 230px; padding: 34px 24px 24px; }
  .footer-inner { min-height: 172px; grid-template-columns: 1fr; }
  .footer-credit { grid-column: 1; margin: 26px 0 0; padding-right: 0; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .whistle-network svg { animation: none; }
  .signal-token, .network-streams path, .output-glow, .output-wave, .output-drawn, .convergence-halo { opacity: 1; transform: none; stroke-dashoffset: 0; animation: none; }
  .stream-energy, .representation-particles, .output-pulse, .spectro-scan, .convergence-ring, .output-head { display: none; }
}


@media (max-width: 580px) {
  .workflow-topbar { gap: 10px; }
  .workflow-topbar > div:first-child { min-width: 0; max-width: 174px; }
  .workflow-topbar strong { font-size: 15.5px; line-height: 1.22; }
  .workflow-topbar span { font-size: 9px; line-height: 1.35; }
  .workflow-controls { flex: 0 0 auto; gap: 5px; }
  .workflow-controls button { width: 36px; height: 36px; }
  .workflow-tabs button { border-radius: 11px; }
  .workflow-panel { padding: 25px 16px 30px; }
  .segmentation-paper { padding: 16px 14px; }
  .segmentation-paper img { height: auto; min-height: 118px; }
  .segmentation-paper figcaption { grid-template-columns: 1fr; gap: 5px; }
  .workflow-footer { align-items: flex-end; gap: 15px; }
  .workflow-footer span { line-height: 1.35; }
}


/* Simplified input-preparation panel */
.workflow-stage:has(.workflow-panel[data-workflow-panel="0"].active) { min-height: 390px; }
.workflow-panel[data-workflow-panel="0"] { min-height: 390px; display: grid; align-items: center; }
.workflow-panel[data-workflow-panel="0"][hidden] { display: none; }
.workflow-flow-input { width: min(920px, 100%); min-height: 0; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 390px) 34px minmax(0, 390px); align-items: center; justify-content: center; gap: clamp(24px, 4vw, 54px); }
.workflow-flow-input .waveform-node, .workflow-flow-input .spectrogram-node { width: 100%; min-height: 240px; padding: 32px; }
.workflow-flow-input .workflow-arrow { justify-self: center; align-self: center; }
.workflow-flow-input .workflow-arrow::before { transform: rotate(45deg); }
.workflow-flow-input .waveform-node svg { height: 122px; margin: 4px 0 0; }
.workflow-flow-input .real-waveform path { fill: none; stroke: #1d1d1f; stroke-width: 1.05; stroke-linecap: round; }
.workflow-flow-input .spectrogram-stack { width: 210px; height: 145px; }
.workflow-flow-input .spectrogram-stack img { width: 108px; height: 108px; }
@media (max-width: 580px) {
  .workflow-stage:has(.workflow-panel[data-workflow-panel="0"].active), .workflow-panel[data-workflow-panel="0"] { min-height: 540px; }
  .workflow-flow-input { width: 100%; grid-template-columns: 1fr; gap: 18px; }
  .workflow-flow-input .waveform-node, .workflow-flow-input .spectrogram-node { width: 100%; min-height: 205px; }
  .workflow-flow-input .waveform-node svg { height: 86px; }
}

/* Dolphin Team page */
.team-home-page { background: #fff; }
.team-home-page .site-header { position: absolute; display: grid; grid-template-columns: 1fr auto 1fr; }
.team-home-page .project-nav { grid-column: 2; }
.team-home-page .project-nav a { padding: 0; }
.team-home-page .section-nav { grid-column: 3; justify-self: end; gap: 28px; }
.lab-intro { min-height: 560px; padding: 150px max(28px, calc((100vw - var(--max)) / 2)) 110px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); gap: 100px; align-items: center; }
.lab-intro .section-index, .lab-section .section-index { color: #6e6e73; }
.lab-intro h1 { max-width: 760px; margin: 24px 0 0; font-size: clamp(50px, 5.4vw, 78px); line-height: .97; letter-spacing: -.045em; font-weight: 400; }
.lab-intro-copy { padding-left: 34px; border-left: 1px solid var(--line); }
.lab-intro-copy p { margin: 0; color: #55555a; font-size: 18px; line-height: 1.6; }
.lab-intro-copy p + p { margin-top: 20px; }
.lab-section { padding: 95px max(28px, calc((100vw - var(--max)) / 2)); }
.lab-about { display: grid; grid-template-columns: 170px 1fr; gap: 44px; background: #f5f5f7; }
.lab-about h2 { margin: 0; font-size: clamp(48px, 5vw, 76px); line-height: 1.02; letter-spacing: -.04em; font-weight: 400; }
.lab-about > div > p { max-width: 690px; margin: 34px 0 0; color: #6e6e73; font-size: 18px; line-height: 1.65; }
.lab-section-heading { display: grid; grid-template-columns: 170px 1fr; gap: 44px; align-items: start; }
.lab-section-heading h2 { margin: 0; font-size: clamp(48px, 5vw, 72px); line-height: 1; letter-spacing: -.035em; font-weight: 400; }
.people-heading { grid-template-columns: 1fr; }
.lab-people-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.lab-people-grid article { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; padding-bottom: 20px; }
.lab-portrait { position: relative; width: min(100%, 260px); aspect-ratio: 1 / 1; margin: 0 0 22px; overflow: hidden; background: #f5f5f7; }
.lab-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.lab-portrait-faadil img { object-position: center top; }
.lab-portrait-pablo img { object-position: center 35%; }
.lab-portrait-german img { object-position: center top; }
.lab-people-grid h3 { margin: 0; font-family: Georgia, serif; font-size: clamp(24px, 2.05vw, 31px); line-height: 1.12; font-weight: 400; white-space: nowrap; }
.lab-people-grid p { margin: 9px 0 0; color: #6e6e73; font-size: 13px; }
.lab-people-grid a { margin-top: 24px; padding-bottom: 3px; border-bottom: 1px solid #a1a1a6; font-size: 12px; font-weight: 700; }
.lab-people-grid a:hover { color: var(--aqua); border-bottom-color: var(--aqua); }
.lab-publications { background: #f5f5f7; }
.publications-heading { grid-template-columns: 1fr; }
.publications-heading > p { margin: 8px 0 0; color: #6e6e73; font-size: 15px; line-height: 1.6; }
.publication-list { margin-top: 68px; }
.publication-list article { position: relative; display: grid; grid-template-columns: 110px minmax(0, 1fr) 150px; gap: 32px; align-items: start; padding: 38px 0 42px; }
.publication-list article + article::before { content: ""; position: absolute; top: 0; right: 0; left: 142px; border-top: 1px solid #e5e5e8; }
.publication-list .publication-new-year { margin-top: 22px; padding-top: 48px; }
.publication-list .publication-new-year::before { left: 0; }
.publication-list time { color: #a1a1a6; font-family: Georgia, serif; font-size: 28px; line-height: 1; }
.publication-list h3 { max-width: 900px; margin: 0; font-size: clamp(22px, 2vw, 29px); line-height: 1.25; letter-spacing: -.018em; font-weight: 400; transition: color .2s; }
.publication-list article:hover h3 { color: #0068d1; }
.publication-list p { max-width: 900px; margin: 15px 0 9px; color: #6e6e73; font-size: 12px; line-height: 1.55; }
.publication-list small { color: #86868b; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .055em; }
.publication-list article:first-child small { color: #0068d1; }
.publication-links { display: flex; justify-content: flex-end; gap: 18px; padding-top: 5px; }
.publication-links a { white-space: nowrap; padding-bottom: 3px; border-bottom: 1px solid #a1a1a6; font-size: 11px; font-weight: 700; }
.publication-links a:hover { color: var(--aqua); border-bottom-color: var(--aqua); }
.lab-contact { display: grid; grid-template-columns: 170px 1fr; gap: 44px; align-items: start; padding-top: 70px; padding-bottom: 70px; }
.lab-contact h2 { margin: 3px 0 0; color: #6e6e73; font-size: 12px; font-weight: 700; line-height: 1.4; letter-spacing: .07em; text-transform: uppercase; }
.lab-contact .affiliation-primary { margin: 0; color: var(--ink); font-size: 17px; font-weight: 600; line-height: 1.45; }
.lab-contact .affiliation-meta { margin: 9px 0 0; color: #6e6e73; font-size: 14px; line-height: 1.65; }
.compact-footer { min-height: 0; padding-top: 24px; padding-bottom: 24px; font-size: 13px; }
.compact-footer .footer-inner { min-height: 0; display: flex; align-items: center; justify-content: center; }
.compact-footer .footer-credit { margin: 0; font-size: 12px; text-align: center; }
@media (max-width: 900px) {
  .team-home-page .site-header nav { display: flex; position: static; inset: auto; padding: 0; flex-direction: row; color: var(--ink); background: transparent; border: 0; }
  .lab-intro { min-height: 620px; grid-template-columns: 1fr; gap: 55px; }
  .lab-intro-copy { max-width: 650px; }
  .lab-about, .lab-section-heading, .lab-contact { grid-template-columns: 1fr; gap: 25px; }
  .publication-list article { grid-template-columns: 70px 1fr; }
  .publication-links { grid-column: 2; }
}
@media (max-width: 620px) {
  .team-home-page .site-header { padding: 0 16px; }
  .team-home-page .brand { font-size: 15px; }
  .team-home-page .brand-dolphin { display: none; }
  .team-home-page .project-nav { gap: 0; font-size: 11px; }
  .team-home-page .project-nav a { padding-left: 0; border-left: 0; }
  .team-home-page .section-nav { gap: 12px; font-size: 10px; }
  .compact-footer { min-height: 0; padding: 24px 20px; }
  .compact-footer .footer-inner { min-height: 0; }
  .compact-footer .footer-credit { margin: 0; text-align: center; }
  .lab-intro { min-height: auto; padding: 140px 20px 85px; gap: 42px; }
  .lab-intro h1 { font-size: 57px; }
  .lab-intro-copy { padding-left: 20px; }
  .lab-intro-copy p { font-size: 16px; }
  .lab-section { padding: 85px 20px; }
  .lab-about h2, .lab-section-heading h2 { font-size: 46px; }
  .lab-people-grid { margin-top: 52px; grid-template-columns: 1fr; }
  .lab-people-grid article { min-height: 0; padding: 0 0 22px; border: 0; }
  .lab-people-grid h3 { margin-top: 0; font-size: 27px; }
  .publication-list { margin-top: 52px; }
  .publication-list article { grid-template-columns: 1fr; gap: 14px; padding: 28px 0 32px; }
  .publication-list article + article::before { left: 0; }
  .publication-links { grid-column: 1; margin-top: 6px; }
}


/* OpenWhistle paper pipeline figure */
.paper-pipeline-figure{max-width:1120px;margin:48px auto 0}
.paper-pipeline-scroll{overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;scrollbar-color:#c7c7cc transparent}
.paper-pipeline-figure img{display:block;width:100%;height:auto}
@media(max-width:680px){.paper-pipeline-figure{margin-top:38px}.paper-pipeline-figure img{width:820px;max-width:none}}


/* OpenWhistle benchmark results */
.benchmark-results{max-width:1120px;margin:64px auto 0}
.benchmark-result-tabs{display:flex;justify-content:center;gap:10px;margin-bottom:44px}
.benchmark-result-tabs button{min-width:150px;min-height:48px;padding:11px 20px;border:1px solid #d9d9dd;border-radius:999px;color:#57575c;background:#fff;font-size:12px;font-weight:700;cursor:pointer;transition:color .2s,background .2s,border-color .2s,transform .2s,box-shadow .2s}
.benchmark-result-tabs button:hover{color:var(--ink);border-color:#bfc0c6;transform:translateY(-1px)}
.benchmark-result-tabs button.active{color:#fff;border-color:transparent;background:linear-gradient(110deg,#667eea 0%,#764ba2 100%);box-shadow:0 9px 24px rgba(99,86,199,.22)}
.benchmark-result-tabs button:focus-visible{outline:2px solid #667eea;outline-offset:3px}
.benchmark-result-panel[hidden]{display:none}
.benchmark-task{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:22px;align-items:center;margin:18px 4px 0;padding-top:18px;border-top:1px solid #d8d8dc}
.benchmark-task>span{align-self:start;padding-top:3px;color:#665bd2;font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.08em}
.benchmark-task h3{margin:0;color:var(--ink);font-size:17px;font-weight:600;line-height:1.25;letter-spacing:-.02em}
.benchmark-task p{max-width:620px;margin:5px 0 0;color:#77777c;font-size:11px;line-height:1.5}
.benchmark-task dl{display:flex;gap:24px;margin:0}
.benchmark-task dl div{min-width:78px}
.benchmark-task dt{color:#96969b;font-size:8px;font-weight:700;text-transform:uppercase;letter-spacing:.06em}
.benchmark-task dd{margin:4px 0 0;color:#444448;font-size:12px;font-weight:600}
.benchmark-performance-summary{width:min(100%,900px);margin-inline:auto;padding:22px 38px 25px;color:var(--ink)}
.benchmark-performance-summary>p{margin:0 0 17px;color:#77777c;text-align:center;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.benchmark-performance-summary>div{display:flex;justify-content:center;align-items:stretch}
.benchmark-performance-summary article{min-width:230px;padding:1px 34px;text-align:center}
.benchmark-performance-summary article+article{border-left:1px solid #d8d8dc}
.benchmark-performance-summary strong,.benchmark-performance-summary span{display:block}
.benchmark-performance-summary strong{font-size:clamp(38px,4vw,50px);font-weight:700;line-height:1;letter-spacing:-.045em;font-variant-numeric:tabular-nums;background:linear-gradient(110deg,#667eea 0%,#764ba2 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
.benchmark-performance-summary strong small{display:inline;margin-left:.16em;font-size:.34em;font-weight:700;letter-spacing:0}
.benchmark-performance-summary span{margin-top:9px;color:#77777c;font-size:11px}
.results-table-scroll{width:min(100%,1040px);margin:27px auto 0;overflow-x:auto;border:1px solid #e3e3e6;border-radius:17px;background:#fff;box-shadow:0 12px 30px rgba(29,29,31,.045);overscroll-behavior-inline:contain;scrollbar-width:thin;scrollbar-color:#c7c7cc transparent}
.results-table{width:100%;min-width:850px;border-collapse:separate;border-spacing:0;table-layout:fixed;font-variant-numeric:tabular-nums}
.results-table thead th{padding:14px 16px;color:#55555a;background:#f5f5f7;font-size:10px;font-weight:700;line-height:1.25;text-align:right;text-transform:uppercase;letter-spacing:.045em}
.results-table thead th:first-child{width:31%;text-align:left}
.results-table thead small{display:block;margin-top:4px;color:#a1a1a6;font-size:8px;font-weight:600;letter-spacing:.035em}
.results-table tbody th,.results-table tbody td{height:56px;padding:10px 16px;border-top:1px solid #ececef;background:#fff}
.results-table tbody th{text-align:left;font-weight:400}
.results-table tbody th strong,.results-table tbody th span{display:block}
.results-table tbody th strong{color:var(--ink);font-size:13px;font-weight:600;line-height:1.3}
.results-table tbody th span{margin-top:3px;color:#86868b;font-size:9px;line-height:1.3;text-transform:uppercase;letter-spacing:.045em}
.results-table tbody td{color:#454549;font-size:14px;text-align:right;white-space:nowrap}
.results-table tbody td small{color:#9a9a9f;font-size:9px;font-weight:400}
.results-table tbody tr.result-highlight th,.results-table tbody tr.result-highlight td{background:#f2f0fb}
.results-table tbody tr.result-highlight th strong{display:flex;align-items:center;gap:8px}
.results-table tbody tr.result-highlight th strong:before{content:"";width:6px;height:6px;flex:0 0 6px;border-radius:50%;background:#665bd2}
.results-table tbody td.result-best{color:#5e53c6;font-weight:700}
.benchmark-results-note{margin:18px 4px 0;color:#86868b;font-size:10px;line-height:1.55}
.benchmark-results-note strong{color:#6e6e73}
@media(max-width:760px){.benchmark-results{margin-top:44px}.benchmark-result-tabs{justify-content:flex-start;overflow-x:auto;gap:8px;margin:0 -1px 34px;padding:1px 1px 7px;scrollbar-width:none}.benchmark-result-tabs::-webkit-scrollbar{display:none}.benchmark-result-tabs button{min-width:145px;min-height:46px;padding:10px 14px}.benchmark-task{grid-template-columns:1fr;gap:10px;margin:16px 1px 0;padding-top:15px}.benchmark-task>span{padding:0}.benchmark-task dl{gap:20px}.benchmark-performance-summary{padding:21px 14px 23px}.benchmark-performance-summary>p{margin-bottom:17px;font-size:11px}.benchmark-performance-summary article{min-width:0;flex:1;padding:1px 11px}.benchmark-performance-summary strong{font-size:clamp(31px,10vw,40px)}.benchmark-performance-summary span{margin-top:8px;font-size:9px;line-height:1.35}.results-table-scroll{margin-top:24px;border-radius:17px}.results-table{min-width:780px}.results-table thead th,.results-table tbody th,.results-table tbody td{padding-left:14px;padding-right:14px}.benchmark-results-note{margin:16px 1px 0}}

@media (max-width: 650px) {
  .field-media { grid-template-columns: 1fr; }
  .field-photos { grid-template-rows: auto auto; }
  .field-photos img { aspect-ratio: 16 / 10; }
}
