:root {
  color-scheme: light;
  --ink: #303747;
  --muted: #697386;
  --accent: #8062b0;
  --line: #e8ebf2;
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:focus-visible { outline: 3px solid #b9a3d3; outline-offset: 5px; }
.skip-link { position: absolute; top: -100px; left: 20px; padding: 8px 16px; background: white; }
.skip-link:focus { top: 10px; }
.hero { max-width: 1120px; margin: 0 auto; padding: 40px 24px 24px; text-align: center; }
h1 { display: inline-block; max-width: 100%; margin: 0 0 18px; color: #8062b0; font-size: clamp(34px, 5vw, 54px); font-weight: 730; letter-spacing: -1.8px; line-height: 1.2; }
.brand-name { color: #77559d; font-weight: 700; hyphens: none; }
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  h1 {
    background-image: linear-gradient(110deg, #8062B0 0%, #C16F91 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
  }
  .brand-name {
    background-image: linear-gradient(110deg, #77559D 0%, #A64F74 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
  }
}
.subtitle { max-width: 850px; margin: 0 auto; font-size: clamp(20px, 2.5vw, 28px); font-weight: 470; letter-spacing: -.5px; line-height: 1.5; }
.authors { max-width: 1040px; margin: 22px auto 20px; }
.author-list { margin: 0; font-size: 19px; line-height: 1.9; }
.author { display: inline-block; white-space: nowrap; }
.author-name { color: var(--accent); font-weight: 500; }
.author-list sup, .affiliations sup { font-size: .7em; vertical-align: super; line-height: 0; }
.affiliations { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 24px; margin: 6px 0 0; color: #505968; font-size: 16px; line-height: 1.65; }
.resource-links { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; }
.resource-link { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 42px; padding: 8px 21px; border: 1px solid #394254; border-radius: 25px; background: #394254; color: white; font-size: 14px; font-weight: 550; line-height: 1.6; transition: background .15s ease; }
a.resource-link:hover { background: var(--accent); border-color: var(--accent); }
.unavailable { background: #f4f5f8; border-color: #e8ebf2; color: #8a92a0; }
.unavailable small { font-size: 10px; font-weight: 450; }
.section { width: min(1040px, calc(100% - 48px)); margin: 0 auto; padding: 38px 0 48px; }
.section.teaser { padding: 0 0 24px; }
.teaser figure { margin: 0; }
.teaser figcaption { margin-top: 12px; }
h2 { margin: 0 0 22px; text-align: center; font-size: 30px; font-weight: 650; letter-spacing: -.65px; line-height: 1.3; }
.abstract { max-width: 850px; }
.abstract p { margin: 0; color: #505968; }
.small-caps { font-variant: small-caps; }
.section.highlights { margin-bottom: 24px; padding: 34px 48px 40px; border: 1px solid #eee7f0; border-radius: var(--radius); background: linear-gradient(125deg, #f6f2fb, #fcf3f6); }
.highlights-list { margin: 0; padding-left: 1.3em; }
.highlights-list li + li { margin-top: 14px; }
.highlights-list strong { color: var(--ink); }
.highlights-list li::marker { color: #9b76ae; }
.overview { border-top: 1px solid var(--line); }
.construction, .evaluation { border-top: 1px solid var(--line); }
.section-copy { max-width: 850px; margin: 0 auto; color: #505968; }
.section-copy p { margin: 0; }
.overview-copy { max-width: 850px; margin: 0 auto; color: #505968; }
.overview-copy p { margin: 0 0 20px; }
.overview-copy p:last-child { margin-bottom: 0; }
.abstract p,
.overview-copy p,
.section-copy p,
.highlights-list li,
.case-study > p:not(.case-loading) {
  text-align: justify;
  text-align-last: start;
  -webkit-hyphens: auto;
  hyphens: auto;
}
.overview-figures { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 24px; margin-top: 30px; }
.overview-figures figure { min-width: 0; margin: 0; }
.overview-figures figcaption { margin-top: 12px; font-size: 12px; }
figure { margin: 30px 0 0; }
figure > a { display: block; padding: 12px; border: 1px solid #eee8f1; border-radius: var(--radius); background: #fff; box-shadow: 0 4px 18px rgba(74, 48, 88, .04); }
figure img { display: block; width: 100%; height: auto; }
figcaption { color: var(--muted); text-align: center; font-size: 13px; line-height: 1.7; margin-top: 20px; }
.case-study { border-top: 1px solid var(--line); text-align: center; padding-bottom: 72px; }
.case-study p { color: #505968; margin: 0 auto 19px; max-width: 710px; }
.case-study-frame { display: block; width: 100%; height: 1100px; border: 1px solid #eee8f1; border-radius: var(--radius); background: #fff; box-shadow: 0 4px 18px rgba(74, 48, 88, .04); text-align: left; }
.case-loading { font-size: 14px; color: var(--muted); }
.case-loading[hidden] { display: none; }
.case-image-dialog { width: min(1180px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 24px; border: 0; border-radius: var(--radius); background: white; }
.case-image-dialog::backdrop { background: rgba(25, 33, 48, .75); }
.case-image-dialog img { display: block; max-width: 100%; max-height: calc(100vh - 130px); width: auto; height: auto; margin: auto; }
.case-image-dialog p { margin: 12px 40px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.case-image-close { position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #394254; color: white; font-size: 22px; cursor: pointer; }
.case-image-close:focus-visible { outline: 3px solid #b9a3d3; outline-offset: 3px; }
footer a:hover { text-decoration: underline; }
footer { border-top: 1px solid var(--line); padding: 24px; display: flex; justify-content: center; gap: 26px; flex-wrap: wrap; color: var(--muted); font-size: 12px; }
@media (max-width: 760px) {
  .overview-figures { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 600px) {
  .hero { padding: 30px 18px 20px; }
  h1 { letter-spacing: -1.2px; }
  .desktop-break { display: none; }
  .authors { margin: 18px auto 16px; }
  .author-list { font-size: 17px; }
  .affiliations { font-size: 14px; }
  .resource-link { padding: 8px 16px; font-size: 13px; }
  .section { width: calc(100% - 36px); padding: 30px 0 36px; }
  .section.highlights { padding: 28px 22px 32px; }
  figure > a { padding: 8px; }
  h2 { font-size: 26px; }
  body { font-size: 16px; }
  .case-study { padding-bottom: 48px; }
  figcaption { font-size: 11px; }
}
@media (forced-colors: active) {
  h1, .brand-name { background-image: none; color: CanvasText; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
