:root { color-scheme: light; --ink: #343434; --muted: #555; --link: #167bbb; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 17px; line-height: 1.65; letter-spacing: 0; }
h1, h2, p, figure { margin: 0; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img { display: block; max-width: 100%; }
a, button { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--link); outline-offset: 5px; }
.container { width: min(1100px, calc(100% - 64px)); margin-inline: auto; }
.text-container { width: min(850px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 10; background: #fff; padding: 10px 16px; }
.skip-link:focus { top: 12px; }
.publication-header { position: relative; isolation: isolate; text-align: center; padding-top: 66px; padding-bottom: 46px; }
.publication-header::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: url("assets/knossos-banner.png") center bottom / auto calc(100% + 240px) no-repeat; opacity: .2; }
.publication-content { position: relative; }
.publication-header .authors a { color: #145a80; }
h1 { max-width: 1060px; margin-inline: auto; font-size: 43px; line-height: 1.19; font-weight: 650; text-wrap: balance; }
h1 > span { display: block; }
.authors { display: flex; justify-content: center; flex-wrap: wrap; gap: 3px 8px; max-width: 920px; margin: 28px auto 0; font-size: 19px; line-height: 1.65; }
.authors span { white-space: nowrap; }
sup { vertical-align: super; font-size: 11px; line-height: 0; margin-left: 1px; }
.affiliations { display: flex; flex-wrap: wrap; justify-content: center; gap: 3px 21px; margin-top: 10px; font-size: 17px; }
.affiliations span { white-space: nowrap; }
.publication-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 23px; }
.resource-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 8px 19px; border-radius: 24px; background: #363636; color: #fff; font-size: 15px; line-height: 1.5; transition: background .15s; }
.resource-button:hover { background: #535353; text-decoration: none; }
.resource-button img { filter: invert(1); }
.teaser { padding: 12px 0 51px; }
.domain-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 27px 24px; }
.domain-grid figcaption { text-align: center; font-size: 17px; margin-bottom: 10px; }
.domain-grid a { display: flex; align-items: center; justify-content: center; aspect-ratio: 10 / 7; }
.domain-grid img { width: 100%; height: 100%; object-fit: contain; }
.teaser-caption { max-width: 940px; margin: 28px auto 0; text-align: center; font-size: 18px; line-height: 1.65; }
.section { padding-block: 48px; }
h2 { text-align: center; font-size: 31px; line-height: 1.3; font-weight: 600; margin-bottom: 25px; }
.section p { margin-bottom: 17px; }
.section p:last-child { margin-bottom: 0; }
.abstract-section { background: #f5f5f5; }
.section-description { max-width: 950px; margin-inline: auto; }
.method-figure { margin-top: 31px; }
.method-figure img { width: 100%; height: auto; }
.dataset-section { padding-top: 30px; padding-bottom: 35px; }
.citation-section { padding-top: 25px; padding-bottom: 50px; }
.citation-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.citation-heading h2 { text-align: left; margin: 0; }
#copy-citation { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid #ddd; border-radius: 4px; background: #fff; cursor: pointer; }
#copy-citation:hover { background: #eee; }
pre { margin: 0; padding: 23px; background: #f3f3f3; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; line-height: 1.7; }
code { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; }
#copy-status { min-height: 22px; font-size: 12px; margin: 8px 0 0; color: var(--muted); }
footer { padding-block: 32px; background: #fafafa; text-align: center; font-size: 13px; color: var(--muted); }
footer p + p { margin-top: 9px; font-size: 12px; }
footer p > span { margin-inline: 12px; }
@media (max-width: 800px) {
  .container, .text-container { width: calc(100% - 44px); }
  .publication-header { padding-top: 44px; padding-bottom: 36px; }
  h1 { font-size: 35px; }
  .authors { font-size: 17px; margin-top: 23px; }
  .affiliations { font-size: 15px; gap: 3px 16px; }
  .domain-grid { gap: 20px 16px; }
  .domain-grid figcaption { font-size: 15px; }
  .teaser-caption { font-size: 16px; }
  body { font-size: 16px; }
}
@media (max-width: 540px) {
  .container, .text-container { width: calc(100% - 36px); }
  .publication-header { padding: 30px 0; }
  h1 { font-size: 28px; line-height: 1.25; }
  .authors { font-size: 14px; gap: 3px 6px; margin-top: 21px; }
  .affiliations { font-size: 12px; gap: 3px 11px; margin-top: 12px; }
  sup { font-size: 9px; }
  .publication-links { margin-top: 22px; gap: 6px; }
  .resource-button { padding: 8px 15px; font-size: 13px; min-height: 40px; }
  .resource-button img { width: 16px; height: 16px; }
  .teaser { padding-top: 8px; padding-bottom: 33px; }
  .domain-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
  .domain-grid figcaption { font-size: 13px; margin-bottom: 6px; }
  .teaser-caption { font-size: 15px; margin-top: 22px; }
  .section { padding-block: 34px; }
  h2 { font-size: 27px; margin-bottom: 20px; }
  .section p { font-size: 15px; }
  .method-figure { margin-top: 24px; }
  .dataset-section { padding-top: 12px; }
  .citation-section { padding-top: 10px; }
  pre { padding: 16px; font-size: 11px; }
}
@media (max-width: 350px) { h1 { font-size: 25px; } .authors { font-size: 13px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .resource-button { transition: none; } }
