/* Research-page presentation: marine hero, readable typography, unboxed figures.
   project.css provides the shared interaction and accessibility foundations. */
:root {
  --ink: #26323b;
  --ink-deep: #182c3c;
  --muted: #5b6873;
  --teal: #235f88;
  --teal-dark: #174d70;
  --paper: #fff;
  --mist: #f5f7f8;
  --line: #dce2e7;
}
body { color: var(--ink); font-size: 17px; line-height: 1.75; }
.page-width { width: min(1120px, calc(100% - 96px)); }
.site-header { background: #fffffffa; border-bottom-color: #e5e9ec; }
.header-inner { min-height: 62px; max-width: 1360px; }
.wordmark { font-size: 18px; letter-spacing: -.45px; font-weight: 650; }
.wordmark img { width: 25px; height: 25px; }
.site-nav { gap: 25px; color: #435c6d; font-size: 14px; font-weight: 600; }
.site-nav a { padding-block: 18px; }
.site-nav a::after { bottom: 13px; }
.header-paper { border: 0; border-radius: 0; font-size: 14px; font-weight: 600; color: var(--teal); padding: 8px 0; }
.header-paper:hover { background: transparent; text-decoration: underline; }
.project-hero { background: #0a4865 url("../images/hero/reef-channel.webp") center 58% / cover no-repeat; color: white; }
.hero-shade { background: linear-gradient(180deg,#082b3c85,#062738a8 55%,#041e30c9); }
.hero-content { padding-block: 58px 41px; }
.venue-label { color: #e5f2ec; font-size: 15px; letter-spacing: 1.3px; font-weight: 650; margin-bottom: 21px; }
.project-name { font-size: clamp(52px, 5vw, 68px); font-weight: 700; color: white; letter-spacing: -1.8px; text-shadow: none; margin-bottom: 16px; }
.paper-subtitle { font-size: clamp(27px, 2.6vw, 34px); font-weight: 450; color: #f2f7f9; letter-spacing: -.45px; line-height: 1.4; }
.authors { max-width: 1080px; font-size: 18px; gap: 6px 20px; margin-block: 28px 18px; color: #edf5f8; }
sup { color: var(--teal); }
.affiliations { font-size: 15px; color: #e9f2f6; max-width: 1080px; }
.project-hero sup { color: #d7e7be; }
.hero-bottom { padding-block: 15px; }
.hero-actions { margin-top: 23px; gap: 10px; }
.button { padding: 9px 20px; border-radius: 3px; font-size: 15px; min-height: 44px; gap: 19px; transition: background 160ms; font-weight: 600; }
.button:hover { transform: none; }
.button-light { background: white; border: 1px solid white; color: #204f70; }
.button-light:hover { background: #e9f2f7; }
.button-glass { background: #082b3b38; color: white; border: 1px solid #ffffff91; backdrop-filter: none; }
.button-glass:hover { background: #ffffff20; }
.hero-actions > .button { min-height: 48px; }
.hero-actions .button-brand { gap: 10px; padding: 11px 21px; border: 1px solid transparent; border-radius: 8px; font-family: Arial, "Helvetica Neue", sans-serif; font-size: 16px; font-weight: 600; }
.brand-icon { display: block; width: 20px; height: 20px; flex-shrink: 0; }
.button-github { background: #24292f; color: white; }
.button-github:hover { background: #363d45; }
.button-huggingface { background: #ffd21e; color: #151515; }
.button-huggingface:hover { background: #f4c409; }
.hero-footage { margin-block: 0; }
.footage-strip { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 4px; }
.footage-strip img { width: 100%; height: auto; aspect-ratio: 1.8; object-fit: cover; }
.hero-footage figcaption { font-size: 11px; color: #6e7b85; text-align: right; padding-top: 9px; }
.hero-footage figcaption a { color: var(--teal); margin-left: 12px; }
.hero-footage figcaption a:hover { text-decoration: underline; }
h2 { font-size: 34px; line-height: 1.3; font-weight: 750; letter-spacing: -.65px; color: #075f80; }
h3 { color: #116a68; font-weight: 700; }
h4 { color: #185d73; font-weight: 700; }
.overview-section { grid-template-columns: 1.6fr 1fr; gap: 80px; padding-block: 56px 46px; }
.overview-copy > p:not(.eyebrow) { font-size: 17px; line-height: 1.85; color: #435460; max-width: 660px; }
.dataset-facts { column-gap: 26px; }
.fact { padding-block: 16px; }
.fact > strong { font-size: 39px; font-weight: 550; letter-spacing: -1.6px; color: #264c65; }
.fact > span { font-size: 14px; }
.fact-wide .fact-caption { font-size: 10px; letter-spacing: .6px; color: var(--muted); }
.fact-wide .fact-tasks { font-size: 20px; font-weight: 500; letter-spacing: -.5px; margin-top: 6px; }
.fact-tasks span { color: #97a6b1; font-size: 17px; margin-inline: 7px; }
.research-story { padding-bottom: 50px; }
.figure-heading { margin-bottom: 22px; }
.figure-heading h2 { font-size: 28px; font-weight: 750; letter-spacing: -.35px; }
.paper-figure { border: 0; }
.paper-figure figcaption { border-top: 1px solid #e6eaee; padding: 11px 0 0; font-size: 14px; gap: 22px; }
.paper-figure figcaption strong { font-weight: 600; }
.paper-figure figcaption a { font-size: 11px; }
.motion-story { margin-top: 49px; }
.section-heading { margin-bottom: 25px; gap: 35px; align-items: center; }
.section-heading > p { font-size: 15px; line-height: 1.8; }
.motion-story h2 { font-size: 30px; }
.explore-section { background: #f5f7f9; border-color: #e6ebef; padding-block: 48px; }
.scene-selector { gap: 9px; margin-bottom: 24px; }
.scene-button { border-radius: 2px; border-width: 2px; aspect-ratio: 2.05; }
.scene-button:hover { transform: none; }
.scene-button[aria-selected="true"] { box-shadow: none; border-color: #235f88; }
.scene-current { background: white; }
.scene-label { font-size: 14px; font-weight: 650; }
.scene-label > span:last-child { color: #d1e0e9; }
.explorer { grid-template-columns: minmax(0,1fr) minmax(0,1.15fr); align-items: start; gap: 28px; }
.video-column { position: sticky; top: 86px; }
.live-label { color: #526d80; font-size: 12px; letter-spacing: .8px; }
.live-label > span { display: none; }
.video-stage { border-radius: 0; box-shadow: none; }
.video-download { border-radius: 2px; border-color: #cbd6de; }
.video-download:hover { background: white; }
.detail-label { color: #23657c; font-size: 12px; font-weight: 750; letter-spacing: .65px; }
.annotation-column { border-radius: 0; border-color: #d8e0e6; height: auto; min-height: 0; overflow: visible; }
.annotation-panel { overflow: visible; max-height: none; }
#panel-attributes:not([hidden]) { display: grid; grid-template-columns: minmax(0,1fr); align-items: start; gap: 22px; }
#panel-attributes > .panel-intro { grid-column: 1 / -1; margin-bottom: 0; }
#panel-attributes > .attribute-group { margin-top: 0; padding-top: 16px; border-top: 1px solid #e6ecf0; }
#panel-caption > * { max-width: 900px; }
.attribute-missing dd { color: #647885; font-style: italic; }
.annotation-issue { padding: 11px 12px; border-left: 2px solid #a57a37; background: #faf7f0; color: #715b36; font-size: 14px; line-height: 1.8; margin-bottom: 12px; }
.attribute-group h4 { letter-spacing: .6px; color: #116a68; font-size: 14px; font-weight: 750; }
.attribute-group + .attribute-group { border-color: #e6ecf0; }
.attribute-row { grid-template-columns: 130px minmax(0,1fr); gap: 16px; }
.attribute-row dt { color: #4c697b; font-size: 14px; }
.attribute-row dd { color: #344b5b; font-size: 16px; line-height: 1.75; }
.annotation-provenance { display: block; width: fit-content; color: #527164; font-size: 12px; margin-top: 7px; padding: 2px 7px; border-left: 2px solid #7ba593; background: #f1f6f3; line-height: 1.6; }
.panel-intro { font-size: 14px; line-height: 1.8; }
.annotation-tabs { gap: 32px; padding-inline: 26px; }
.annotation-tabs button { color: #536e82; font-size: 16px; font-weight: 650; }
.annotation-tabs button span { background: #edf2f6; }
#panel-qa { font-family: Arial, "Helvetica Neue", sans-serif; font-size: 16px; font-weight: 400; font-style: normal; }
#panel-qa button { font-family: inherit; }
.question { border-radius: 2px; border-color: #dedede; margin-bottom: 10px; }
.question:last-child { margin-bottom: 0; }
.question[open] summary { background: white; }
.question summary { font-family: inherit; font-size: 17px; line-height: 1.65; padding: 18px 46px 18px 22px; background: white; border-left: 0; }
.question summary:hover { background: #fafafa; }
.question summary::after { top: 22px; right: 20px; color: #315a9a; }
.question-text { display: block; color: #1e40af; font-weight: 400; letter-spacing: 0; }
.question-meta { color: #315a9a; font-size: 11px; font-weight: 600; letter-spacing: .65px; margin-bottom: 7px; }
.question-body { padding: 18px 22px 22px; }
.quiz-option { border-radius: 2px; color: #374151; background: #f9fafb; border-color: #dfe6ec; font-size: 16px; font-weight: 400; padding: 11px 12px; }
.quiz-option .option-letter { color: #4b5563; font-size: 13px; }
.answer-toggle, .quiz-feedback { font-size: 14px; }
.answer-toggle { color: #176737; }
.reference-answer { font-size: 16px; color: #185b32; background: #edf9f0; border-left: 4px solid #2e854d; padding: 14px 16px; line-height: 1.85; }
.reference-answer .answer-label { color: #176737; margin-bottom: 8px; }
.answer-label, .caption-label { font-size: 12px; font-weight: 750; }
.caption-footnote { font-size: 13px; }
.video-caption h3 { font-size: 24px; color: #116a68; font-weight: 700; }
.video-caption p, .video-download { font-size: 14px; }
.quiz-option:hover { background: #f0f2f5; border-color: #7c8796; }
.quiz-option.is-correct { color: #185b32; background: #edf9f0; border-color: #8abb98; }
.quiz-option.is-incorrect { color: #9f3327; background: #fff1ef; border-color: #d9a190; }
.quiz-option.is-correct .option-letter, .quiz-option.is-incorrect .option-letter { color: inherit; }
.reference-caption { font-size: 20px; color: #314959; }
.explorer-note { color: #5c7180; font-size: 13px; }
.method-section { padding-top: 54px; }
.method-steps { gap: 32px; margin-bottom: 32px; }
.method-steps li { border: 0; padding-top: 0; gap: 12px; }
.method-steps li > span { color: #9aaab6; }
.method-steps h3 { font-size: 20px; font-weight: 750; }
.method-steps p { font-size: 15px; }
.example-heading { margin-block: 37px 22px; }
.example-heading h3 { font-size: 26px; font-weight: 750; letter-spacing: -.4px; margin-top: 0; }
.example-heading p { font-size: 16px; }
.benchmark-section { padding-block: 54px 0; }
.benchmark-layout { grid-template-columns: .85fr 1.15fr; gap: 70px; padding-top: 5px; }
.benchmark-intro h3 { font-size: 25px; font-weight: 750; margin-top: 0; letter-spacing: -.4px; }
.benchmark-intro > p { font-size: 16px; }
.dimension-code { position: static; display: block; color: #386981; font-size: 12px; font-weight: 650; margin-bottom: 4px; }
.dimension-list h4 { font-size: 18px; font-weight: 700; max-width: none; }
.dimension-list p { font-size: 15px; }
.dimension-motion { border-left: 0; padding-left: 0 !important; }
.caption-feature { border-top: 1px solid var(--line); padding: 24px 0 0; background: transparent; border-radius: 0; margin-top: 24px; grid-template-columns: .85fr 1.15fr auto; gap: 30px; }
.caption-feature h3 { font-size: 25px; font-weight: 750; margin: 0; }
.caption-feature > p { color: var(--muted); font-size: 16px; }
.round-arrow { border-radius: 2px; border: 0; font-size: 24px; }
.round-arrow:hover { background: #f0f4f7; }
.annotation-statistics { margin-top: 29px; }
.annotation-statistics summary { padding-block: 19px; }
.annotation-statistics summary .eyebrow { color: var(--muted); font-size: 9px; letter-spacing: .9px; }
.annotation-statistics summary strong { font-size: 21px; font-weight: 750; color: #116a68; }
.statistics-summary { font-size: 15px; }
.results-section { padding-block: 51px 55px; }
.results-intro { max-width: 820px; color: var(--muted); font-size: 17px; line-height: 1.85; margin-bottom: 28px; }
.resources-section { background: #f5f7f9; color: var(--ink); border-top: 1px solid #e1e7ed; padding-block: 40px; }
.resources-section h2 { color: #075f80; }
.resource-links { border: 0; gap: 30px; grid-template-columns: repeat(2,minmax(0,1fr)); }
.resource-links > a { min-height: 110px; padding: 0; gap: 0; }
.resource-links > a + a { border: 0; padding-left: 0; }
.resource-links > a:hover { background: transparent; }
.resource-index { display: none; }
.resource-links h3 { font-size: 20px; color: #116a68; font-weight: 750; }
.resource-links > a:hover h3 { text-decoration: underline; }
.resource-links p { font-size: 15px; color: #526b7c; line-height: 1.8; max-width: 380px; }
.resource-arrow { color: #6a8495; font-size: 18px; }
.citation { border-color: #d5dee5; margin-top: 0; }
.citation-heading { font-weight: 750; font-size: 19px; color: #116a68; }
.citation pre { font-size: 13px; }
.citation-topline, .citation-topline button { font-size: 13px; }
.citation-topline { color: var(--muted); }
.citation-topline button { color: var(--teal); background: white; border-color: #cbd7e0; border-radius: 2px; }
.citation pre { background: white; color: #405362; border-color: #dce4ea; border-radius: 0; }
.citation-body > p { color: var(--muted); }
.site-footer { background: white; color: #627888; }
.site-footer .wordmark { color: #39546a; font-size: 15px; }
.site-footer p { color: #617988; font-size: 13px; }
.back-top { color: #506f86; font-size: 13px; }
.back-top span { color: var(--teal); }
@media (min-width: 1600px) { .hero-content { padding-block: 60px 36px; } }
@media (max-width: 1100px) {
  .page-width { width: calc(100% - 64px); }
  .site-nav { gap: 18px; }
  .overview-section { gap: 45px; }
  .benchmark-layout { gap: 45px; }
}
@media (max-width: 800px) {
  .explorer { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .video-column { position: static; }
  .attribute-row { grid-template-columns: minmax(0,1fr); gap: 3px; }
  .site-nav a { display: block !important; font-size: 13px; }
  .site-nav a.nav-overview, .site-nav a.nav-method, .site-nav a.nav-resources { display: none !important; }
  .header-inner { min-height: 60px; }
  .hero-content { padding-block: 39px 29px; }
  .project-name { font-size: 52px; letter-spacing: -1.6px; }
  .paper-subtitle { font-size: 27px; }
  .authors { font-size: 17px; margin-block: 25px 16px; }
  .affiliations { font-size: 14px; }
  .overview-section { gap: 30px; padding-block: 42px 36px; grid-template-columns: 1.4fr 1fr; }
  .overview-copy > p:not(.eyebrow) { font-size: 16px; }
  .fact > strong { font-size: 34px; }
  .fact-wide .fact-tasks { font-size: 18px; }
  .research-story { padding-bottom: 42px; }
  .method-section { padding-top: 42px; }
  .benchmark-layout { gap: 30px; }
  .caption-feature { gap: 20px; grid-template-columns: 1fr auto; }
  .resource-links > a { flex-wrap: nowrap; gap: 10px; }
  .resource-links > a + a { padding-left: 0; }
  .resource-links > a > div { order: 0; }
}
@media (max-width: 540px) {
  .explorer { gap: 22px; }
  .question summary { font-size: 16px; padding: 16px 36px 16px 15px; }
  .question summary::after { right: 13px; top: 19px; }
  .question-body { padding: 15px; }
  body { font-size: 16px; }
  .page-width { width: calc(100% - 36px); }
  .site-nav { gap: 10px; }
  .wordmark { font-size: 17px; gap: 7px; }
  .site-nav a { padding-block: 18px; }
  .hero-content { padding-block: 33px 26px; }
  .venue-label { font-size: 12px; letter-spacing: 1.1px; margin-bottom: 18px; }
  .project-name { font-size: clamp(40px, 10.8vw, 44px); letter-spacing: -1.3px; margin-bottom: 14px; }
  .paper-subtitle { font-size: 23px; line-height: 1.4; letter-spacing: -.4px; }
  .authors { font-size: 16px; gap: 5px 14px; margin-block: 24px 16px; }
  .affiliations { font-size: 14px; line-height: 1.85; gap: 2px; }
  .hero-actions { margin-top: 22px; gap: 9px; }
  .button { padding: 8px 15px; gap: 12px; font-size: 14px; }
  .hero-bottom { align-items: start; }
  .footage-strip { gap: 3px; }
  .footage-strip img { aspect-ratio: .95; }
  .hero-footage figcaption { font-size: 10px; line-height: 1.8; text-align: left; }
  .hero-footage figcaption a { margin-left: 6px; white-space: nowrap; }
  h2 { font-size: 30px; letter-spacing: -.65px; }
  .overview-section { grid-template-columns: 1fr; padding-block: 36px; gap: 25px; }
  .dataset-facts { column-gap: 25px; }
  .fact { padding-block: 13px; }
  .fact > strong { font-size: 36px; }
  .fact-wide { padding-bottom: 0; }
  .fact-wide .fact-tasks { font-size: 21px; }
  .figure-heading h2 { font-size: 26px; }
  .motion-story h2 { font-size: 28px; }
  .paper-figure figcaption { font-size: 14px; }
  .section-heading { margin-bottom: 22px; gap: 10px; }
  .section-heading > p { font-size: 15px; }
  .explore-section { padding-block: 35px; }
  .scene-button { min-width: 126px; }
  .scene-label { font-size: 13px; }
  .annotation-column { border-radius: 0; }
  .annotation-tabs { gap: 20px; padding-inline: 18px; }
  .attribute-row { grid-template-columns: minmax(0,1fr); gap: 3px; }
  .attribute-row dt { font-weight: 650; }
  .method-section { padding-top: 36px; }
  .method-steps { gap: 18px; }
  .example-heading h3 { font-size: 24px; }
  .benchmark-section { padding-top: 38px; padding-bottom: 0; }
  .benchmark-layout { grid-template-columns: 1fr; gap: 24px; }
  .benchmark-intro h3, .caption-feature h3 { font-size: 24px; }
  .caption-feature { padding-top: 22px; }
  .results-section { padding-block: 38px; }
  .results-intro { font-size: 16px; }
  .resources-section { padding-block: 33px; }
  .resource-links { gap: 0; }
  .resource-links { grid-template-columns: 1fr; }
  .resource-links > a { min-height: auto; padding: 17px 0; border-bottom: 1px solid #e0e7ed; }
  .resource-links > a + a { border-top: 0; }
  .resource-links h3 { font-size: 20px; }
}
