@font-face {
  font-family: "IntReal Cambria";
  src: url("./assets/fonts/Cambria.ttc");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IntReal Cambria";
  src: url("./assets/fonts/Cambriab.ttf");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IntReal Cambria";
  src: url("./assets/fonts/Cambriaz.ttf");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --accent: #f2a35e;
  --paper: #fffdf8;
  --lane-height: 45vh;
  --sample-gap: clamp(18px, 1.8vw, 34px);
}

* { box-sizing: border-box; }
html { background: #090909; min-height: 100%; }
body {
  margin: 0;
  color: var(--paper);
  font-family: "IntReal Cambria", Cambria, Georgia, serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.sample-wall, .shade { position: fixed; inset: 0; pointer-events: none; }
.sample-wall { overflow: hidden; background: #1a1a1a; }
.sample-lane {
  position: absolute;
  top: var(--top);
  left: -10vw;
  height: var(--lane-height);
  display: flex;
  width: max-content;
  align-items: center;
  animation: drift var(--duration) linear infinite;
  animation-delay: var(--delay);
  will-change: transform;
}
.sample-lane:nth-child(2) { animation-direction: reverse; }
.sample-group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: var(--sample-gap);
  padding-right: var(--sample-gap);
}
.sample {
  display: block;
  flex-shrink: 0;
  height: calc(var(--lane-height) * var(--scale));
  aspect-ratio: 420 / 594;
  transform: translateY(var(--offset));
  border: 1px solid #ffffff55;
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 15px 50px #0004;
  overflow: hidden;
}
.sample img { display: block; height: 100%; width: 100%; object-fit: cover; }
.shade {
  background: linear-gradient(90deg, #000d 0%, #000b 60%, #0009 100%),
              linear-gradient(0deg, #0009, transparent 35%, #0002);
}

.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 44px;
  padding: clamp(34px, 8vh, 90px) clamp(28px, 8.2vw, 168px) clamp(28px, 5vh, 56px);
}
.paper, .hero-bottom { width: 100%; max-width: 1584px; }
h1 { margin: 0; font-weight: 700; }
.project-name {
  display: block;
  color: var(--accent);
  font-size: clamp(72px, 7.1vw, 136px);
  font-style: italic;
  letter-spacing: -.035em;
  line-height: 1.04;
  margin-bottom: clamp(23px, 3.4vh, 40px);
}
.colon { letter-spacing: -.08em; }
.paper-title {
  display: block;
  font-size: clamp(31px, 3.06vw, 60px);
  letter-spacing: -.012em;
  line-height: 1.18;
  text-wrap: balance;
}
.paper-title > span { display: block; }
.paper-details {
  border-top: 1px solid #ffffff7a;
  margin-top: clamp(27px, 3.5vh, 42px);
  padding-top: clamp(21px, 2.8vh, 30px);
}
.authors { font-size: clamp(22px, 2.1vw, 42px); font-weight: 700; font-style: italic; line-height: 1.45; }
.author-row { display: flex; flex-wrap: wrap; column-gap: 24px; }
.author-row > a { white-space: nowrap; }
.author-row > a, .affiliations > a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: .18em;
  transition: color .18s ease;
}
.author-row > a:hover, .affiliations > a:hover { color: var(--accent); text-decoration: underline; }
.author-row > a:focus-visible, .affiliations > a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}
sup { position: relative; top: -.06em; font-size: .57em; font-weight: 400; font-style: normal; margin-left: .13em; line-height: 0; }
.affiliations {
  margin-top: clamp(15px, 2.3vh, 24px);
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: clamp(24px, 3vw, 56px);
  row-gap: 7px;
  font-size: clamp(17px, 1.55vw, 30px);
  line-height: 1.35;
  color: #eeece9;
}
.affiliations sup { margin-right: .24em; margin-left: 0; }

.hero-bottom { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.hero-logo { display: block; flex: 0 0 auto; width: clamp(170px, 12vw, 230px); height: auto; }
.resources {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.resource {
  display: inline-flex;
  flex: 0 0 auto;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-width: 106px;
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid #fff;
  border-radius: 999px;
  background: #fff;
  color: #111;
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 4px 22px #0002;
  transition: background .2s ease, transform .2s ease;
}
.resource-icon { display: block; flex-shrink: 0; width: 18px; height: 18px; object-fit: contain; }
.resource-name { line-height: 1; }
.resource[aria-disabled="true"] { cursor: default; }
.resource:hover { background: #f1f1f1; transform: translateY(-2px); }
.resource:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

@keyframes drift { to { transform: translate3d(-50%, 0, 0); } }
@media (min-width: 2100px) { .hero { padding-left: max(8.2vw, calc((100vw - 1584px) / 2)); } }
@media (max-width: 1200px) { .hero-logo { display: none; } }
@media (max-width: 1000px) {
  .hero { padding-left: 6vw; padding-right: 6vw; }
  .paper-title { font-size: clamp(29px, 3.6vw, 38px); }
  .authors { font-size: 24px; }
  .affiliations { font-size: 17px; column-gap: 24px; }
}
@media (max-width: 700px) {
  :root { --lane-height: 43vh; --sample-gap: 18px; }
  .hero { padding: 36px 26px 25px; gap: 32px; }
  .project-name { font-size: 72px; margin-bottom: 22px; }
  .paper-title { font-size: clamp(25px, 4.6vw, 32px); line-height: 1.2; }
  .paper-details { margin-top: 25px; padding-top: 20px; }
  .authors { font-size: 20px; line-height: 1.5; }
  .author-row { gap: 0 17px; }
  .affiliations { grid-template-columns: 1fr; font-size: 15px; row-gap: 5px; margin-top: 20px; }
  .resources { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; gap: 10px; }
  .resource { min-width: 0; min-height: 42px; padding: 10px 14px; gap: 7px; font-size: 14px; }
  .resource-icon { width: 18px; height: 18px; }
}
@media (max-width: 420px) {
  .hero { padding: 28px 23px 22px; gap: 25px; }
  .project-name { font-size: 66px; margin-bottom: 18px; }
  .paper-title { font-size: 25px; }
  .authors { font-size: 18px; }
  .author-row { column-gap: 15px; }
  .affiliations { font-size: 13.5px; margin-top: 17px; }
}
@media (max-height: 740px) and (min-width: 701px) {
  .hero { padding-top: 30px; padding-bottom: 25px; gap: 30px; }
  .project-name { font-size: 72px; margin-bottom: 20px; }
  .paper-title { font-size: 34px; }
  .paper-details { margin-top: 24px; padding-top: 18px; }
  .authors { font-size: 24px; }
  .affiliations { font-size: 17px; margin-top: 14px; }
}
@media (max-height: 700px) and (max-width: 700px) {
  .hero { padding-top: 21px; padding-bottom: 18px; gap: 21px; }
  .project-name { font-size: 51px; margin-bottom: 14px; }
  .paper-title { font-size: 22px; }
  .paper-details { margin-top: 19px; padding-top: 14px; }
  .authors { font-size: 16px; line-height: 1.5; }
  .author-row { column-gap: 13px; }
  .affiliations { font-size: 12.5px; line-height: 1.3; margin-top: 13px; row-gap: 4px; }
  .resource { min-height: 44px; padding: 10px 16px; }
}
@media (max-height: 480px) and (min-width: 701px) {
  .hero { padding: 22px 5vw 18px; gap: 24px; }
  .project-name { font-size: 49px; margin-bottom: 11px; }
  .paper-title { font-size: 25px; line-height: 1.15; }
  .paper-details { margin-top: 15px; padding-top: 11px; }
  .authors { font-size: 17px; line-height: 1.4; }
  .affiliations { font-size: 12px; margin-top: 10px; row-gap: 3px; }
  .resource { min-height: 44px; padding: 10px 16px; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .sample-lane { animation-play-state: paused; }
  .resource { transition: none; }
  .resource:hover { transform: none; }
}

/* Dataset explorer */
html { scrollbar-gutter: stable; scroll-behavior: smooth; }
.gallery-control:focus-visible, .category-choice:focus-visible, .cover-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.dataset-section {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(48px, 6.5vh, 78px) clamp(28px, 6.2vw, 120px) 54px;
  background: #1d1f22;
  border-top: 1px solid #ffffff18;
  scroll-margin-top: 0;
}
.dataset-inner { max-width: 1584px; margin: 0 auto; }
.dataset-heading { padding-bottom: 26px; border-bottom: 1px solid #ffffff26; }
.dataset-heading h2 { margin: 0; font-size: clamp(36px, 3.5vw, 64px); line-height: 1.12; letter-spacing: -.025em; font-weight: 700; }
.dataset-heading h2 em { color: var(--accent); }
.dataset-heading p { margin: 15px 0 0; color: var(--paper); font-size: clamp(18px, 1.6vw, 27px); line-height: 1.4; }
.dataset-layout { display: grid; grid-template-columns: minmax(250px, .85fr) minmax(0, 2fr); gap: clamp(30px, 4.4vw, 84px); align-items: center; margin-top: 30px; }
.dataset-sidebar { min-width: 0; }
.dataset-chart-wrap { width: min(100%, 310px); margin: 0 auto 24px; }
.dataset-chart { display: block; width: 100%; height: auto; overflow: visible; }
.chart-slice { cursor: pointer; outline: none; }
.chart-slice path { transition: opacity .24s ease, transform .24s ease, stroke .24s ease; transform-origin: 180px 180px; stroke: #1d1f22; stroke-width: 2.5px; }
.chart-slice[aria-pressed="false"] path { opacity: .42; }
.chart-slice[aria-pressed="true"] path { opacity: 1; stroke: #fffdf8; stroke-width: 2px; }
.chart-slice:hover path, .chart-slice:focus-visible path { opacity: 1; stroke: var(--accent); stroke-width: 3px; }
.category-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.category-choice { display: flex; align-items: center; gap: 10px; padding: 12px 10px; border: 1px solid transparent; background: transparent; border-radius: 7px; color: #bfc0c1; font: 700 clamp(18px, 1.5vw, 25px)/1.2 "IntReal Cambria", Cambria, Georgia, serif; cursor: pointer; transition: color .2s, border-color .2s, background .2s; text-align: left; }
.category-choice::before { content: ''; width: 13px; height: 13px; flex-shrink: 0; border-radius: 2px; background: var(--category-color); }
.category-choice[aria-pressed="true"] { color: #fffdf8; border-color: #f2a35e70; background: #f2a35e08; }
.category-choice:hover { color: #fffdf8; background: #ffffff07; }
.chart-hint { margin: 18px 0 0; text-align: center; color: #929599; font: 13px/1.4 Arial, Helvetica, sans-serif; }
.dataset-gallery { min-width: 0; }
.gallery-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 15px; margin-bottom: 22px; }
.gallery-category h3 { display: flex; align-items: center; gap: 13px; margin: 0; font-size: clamp(28px, 2.7vw, 46px); line-height: 1.05; }
.gallery-category h3::before { content: ''; display: inline-block; width: 8px; height: .78em; background: var(--selected-color, #108b96); border-radius: 1px; }
.gallery-category p { margin: 11px 0 0; color: #b9bbbe; font: 14px/1.4 Arial, Helvetica, sans-serif; }
.category-share { flex-shrink: 0; margin: 0; color: var(--accent); font-size: clamp(34px, 3.4vw, 58px); font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.035em; }
.category-share span { margin-left: 1px; font-size: .68em; }
.cover-viewport { overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; padding: 5px 3px 3px; margin: -5px -3px -3px; -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 94%, transparent 100%); mask-image: linear-gradient(90deg, #000 0%, #000 94%, transparent 100%); }
.cover-viewport::-webkit-scrollbar { display: none; }
.cover-track, .cover-group { display: flex; width: max-content; }
.cover-group { gap: 18px; padding-right: 18px; flex-shrink: 0; }
.cover-card { display: block; width: clamp(174px, 16vw, 240px); flex-shrink: 0; padding: 0; border: 0; background: transparent; color: #fffdf8; cursor: zoom-in; text-align: left; font-family: inherit; border-radius: 3px; }
.cover-image-wrap { display: block; position: relative; width: 100%; aspect-ratio: 480 / 679; background: #303236; overflow: hidden; border: 1px solid #ffffff26; border-radius: 3px; box-shadow: 0 10px 24px #0002; }
.cover-image-wrap img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.cover-open-indicator { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #111; background: #fffdf8; font: 18px/1 Arial, Helvetica, sans-serif; opacity: 0; transform: translateY(5px); transition: opacity .2s, transform .2s; }
.cover-card:hover .cover-image-wrap, .cover-card:focus-visible .cover-image-wrap { border-color: var(--accent); }
.cover-card:hover img, .cover-card:focus-visible img { transform: scale(1.035); }
.cover-card:hover .cover-open-indicator, .cover-card:focus-visible .cover-open-indicator { opacity: 1; transform: none; }
.cover-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; min-height: 2.6em; margin-top: 12px; font-size: 18px; font-weight: 700; line-height: 1.3; }
.cover-source { display: block; margin-top: 6px; font: 12px/1.3 Arial, Helvetica, sans-serif; color: #a7aaae; }
.gallery-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; }
.gallery-footer > p { margin: 0; color: #a8aaae; font: 13px/1.5 Arial, Helvetica, sans-serif; }
.sample-dialog-controls { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.gallery-control { width: 35px; height: 35px; padding: 0; border: 1px solid #ffffff40; border-radius: 50%; background: transparent; color: #fffdf8; font: 20px/1 Arial, Helvetica, sans-serif; cursor: pointer; display: grid; place-items: center; transition: border-color .2s, color .2s, background .2s; }
.gallery-control:hover { border-color: var(--accent); color: var(--accent); background: #f2a35e0b; }
.gallery-loading { padding: 130px 20px; margin: 0; color: #a8aaae; }
.explorer-fallback { color: #c3c3c3; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

body.modal-open { overflow: hidden; }
.sample-dialog { width: min(1080px, calc(100vw - 48px)); max-width: none; max-height: calc(100dvh - 44px); margin: auto; padding: 0; border: 1px solid #ffffff35; border-radius: 12px; background: #1d1f22; color: #fffdf8; overflow: hidden; box-shadow: 0 24px 100px #0008; }
.sample-dialog[open] { display: flex; flex-direction: column; animation: sample-reveal .24s ease both; }
.sample-dialog::backdrop { background: #000c; backdrop-filter: blur(7px); }
.sample-dialog-header { padding: 18px 22px; border-bottom: 1px solid #ffffff25; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-shrink: 0; }
.sample-dialog-caption { min-width: 0; }
.sample-dialog-caption p { margin: 0 0 5px; color: var(--accent); font: 12px/1.4 Arial, Helvetica, sans-serif; }
.sample-dialog-caption h2 { margin: 0; font-size: 25px; line-height: 1.2; }
.sample-close { margin-left: 8px; font-size: 27px; background: #ffffff0a; }
.sample-reader { overflow-y: auto; overscroll-behavior: contain; padding: 24px; }
.sample-page { position: relative; width: min(100%, 900px); margin: 0 auto; background: white; aspect-ratio: 1240 / 1754; }
.sample-page img { display: block; width: 100%; height: auto; }
.sample-page-preview { filter: blur(.5px); }
.sample-page-full { position: absolute; inset: 0; opacity: 0; transition: opacity .2s; }
.sample-page.is-loaded .sample-page-full { opacity: 1; }
.sample-image-error { max-width: 900px; margin: 16px auto 0; font: 14px/1.5 Arial, Helvetica, sans-serif; color: var(--accent); }
@keyframes sample-reveal { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }

@media (min-width: 1800px) {
  .dataset-layout { margin-top: 52px; }
  .dataset-chart-wrap { width: 350px; margin-bottom: 30px; }
  .dataset-section { display: flex; align-items: center; }
  .dataset-inner { width: 100%; }
}
@media (max-height: 800px) and (min-width: 1001px) {
  .dataset-section { padding-top: 36px; padding-bottom: 30px; }
  .dataset-heading { padding-bottom: 20px; }
  .dataset-layout { margin-top: 24px; }
  .dataset-chart-wrap { width: 270px; margin-bottom: 20px; }
  .cover-card { width: clamp(174px, 14.7vw, 210px); }
  .gallery-heading { margin-bottom: 18px; }
  .gallery-footer { margin-top: 18px; }
}
@media (max-width: 1000px) {
  .dataset-section { padding-left: 6vw; padding-right: 6vw; }
  .dataset-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 30px; }
  .category-choice { gap: 8px; padding: 10px 6px; font-size: 17px; }
  .category-choice::before { width: 10px; height: 10px; }
  .cover-card { width: 174px; }
  .gallery-category p { font-size: 12px; }
}
@media (max-width: 700px) {
  .dataset-section { padding: 42px 24px 36px; }
  .dataset-heading { padding-bottom: 22px; }
  .dataset-heading h2 { font-size: clamp(31px, 6.1vw, 39px); }
  .dataset-heading p { margin-top: 12px; font-size: 18px; }
  .dataset-layout { grid-template-columns: 1fr; gap: 28px; margin-top: 26px; }
  .dataset-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 22px; align-items: center; }
  .dataset-chart-wrap { width: min(100%, 210px); margin-bottom: 0; }
  .category-choices { grid-template-columns: 1fr; gap: 3px; }
  .category-choice { padding: 9px; font-size: 20px; gap: 10px; }
  .category-choice::before { width: 12px; height: 12px; }
  .chart-hint { grid-column: 1 / -1; margin-top: 12px; }
  .gallery-heading { margin-bottom: 20px; }
  .gallery-category h3 { font-size: 32px; }
  .category-share { font-size: 39px; }
  .cover-card { width: 180px; }
  .cover-title { font-size: 17px; }
  .gallery-footer { gap: 12px; }
  .gallery-footer > p { font-size: 12px; }
  .gallery-control { width: 33px; height: 33px; }
  .sample-dialog { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); border-radius: 8px; }
  .sample-dialog-header { padding: 14px; gap: 12px; }
  .sample-dialog-caption h2 { font-size: 19px; }
  .sample-dialog-caption p { font-size: 11px; }
  .sample-dialog-controls { gap: 5px; }
  .sample-close { margin-left: 1px; }
  .sample-reader { padding: 10px; }
}
@media (max-width: 370px) {
  .dataset-section { padding-left: 20px; padding-right: 20px; }
  .dataset-sidebar { column-gap: 12px; }
  .category-choice { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .chart-slice path, .category-choice, .cover-image-wrap img, .cover-open-indicator, .sample-page-full { transition: none; }
  .sample-dialog[open] { animation: none; }
}

/* Evaluation suite */
.evaluation-section { position: relative; z-index: 2; min-height: 100vh; min-height: 100svh; padding: clamp(48px, 6.5vh, 78px) clamp(28px, 6.2vw, 120px) 54px; background: #191b1e; border-top: 1px solid #ffffff18; }
.evaluation-inner { max-width: 1584px; width: 100%; margin: 0 auto; }
.evaluation-layout { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(0, 1fr); align-items: stretch; gap: clamp(40px, 4.4vw, 80px); margin-top: 34px; }
.evaluation-methods { min-width: 0; display: flex; flex-direction: column; justify-content: space-between; }
.evaluation-method h3, .evaluation-metrics > h3 { margin: 0; font-size: clamp(26px, 2vw, 35px); line-height: 1.15; }
.evaluation-method h3 { color: var(--accent); }
.method-description { margin: 8px 0 0; color: #e2e0dd; font-size: clamp(17px, 1.3vw, 22px); line-height: 1.4; }
.method-figure { margin: 14px 0 0; }
.holistic-flow { display: grid; grid-template-columns: 112px 28px minmax(0, 1fr); gap: 10px; align-items: center; }
.flow-label { display: block; color: var(--accent); font: 10px/1.25 Arial, Helvetica, sans-serif; letter-spacing: .055em; text-transform: uppercase; }
.flow-prompt { display: flex; flex-direction: column; gap: 8px; padding: 10px; border: 1px solid #f2a35e70; background: #ffffff03; border-radius: 3px; }
.flow-prompt p { margin: 0; font-size: 15px; line-height: 1.35; }
.flow-arrow { align-self: center; color: var(--accent); text-align: center; }
.flow-arrow > span { display: block; margin-bottom: 5px; font: 10px/1.2 Arial, Helvetica, sans-serif; }
.flow-arrow svg { display: block; width: 100%; height: auto; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.holistic-flow > .flow-arrow { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.holistic-flow > .flow-arrow > span { margin: 0; }
.holistic-flow > .flow-arrow svg { width: 100%; }
.generated-sequence { display: grid; grid-template-columns: minmax(0, 1fr) 76px minmax(0, 1fr) 76px; gap: 6px; min-width: 0; }
.flow-tile { min-width: 0; min-height: 118px; height: auto; border: 1px solid #f2a35e65; border-radius: 3px; background: #ffffff04; }
.text-tile { padding: 10px 9px; }
.text-tile p { margin: 8px 0 0; font-size: clamp(15px, 1.05vw, 19px); line-height: 1.4; }
.image-tile { display: flex; flex-direction: column; padding: 5px; gap: 6px; }
.image-tile img { width: 100%; height: 0; flex: 1; min-height: 0; object-fit: contain; border-radius: 1px; }
.method-figure figcaption { margin-top: 12px; color: #a5a7ab; font: 12px/1.4 Arial, Helvetica, sans-serif; }
.holistic-figure figcaption { padding-left: 0; }
.fine-method { margin-top: 20px; padding-top: 18px; border-top: 1px solid #ffffff1e; }
.fine-flow { display: grid; grid-template-columns: minmax(0, 1fr) 34px clamp(108px, 8.3vw, 150px); align-items: center; gap: 12px; }
.real-context { min-width: 0; }
.context-label { display: flex; align-items: center; gap: 7px; margin-bottom: 9px; color: var(--accent); font: 11px/1.4 Arial, Helvetica, sans-serif; }
.context-label svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.context-content { display: grid; grid-template-columns: minmax(0, 1fr) 100px; gap: 6px; padding: 6px; border: 1px solid #f2a35e65; background: #f2a35e04; border-radius: 3px; }
.context-text { padding: 6px; border: 1px solid #ffffff20; }
.context-text p { margin: 6px 0 0; font-size: clamp(15px, 1.05vw, 19px); line-height: 1.4; }
.context-image { min-width: 0; overflow: hidden; }
.context-image img { display: block; width: 100%; height: 100%; max-height: 82px; object-fit: contain; }
.context-next { grid-column: 1 / -1; }
.context-next p { margin-top: 6px; }
.next-image { align-self: end; min-width: 0; }
.next-image > .flow-label { margin-bottom: 9px; }
.next-image img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border: 1px solid #f2a35e85; padding: 4px; border-radius: 3px; }
.evaluation-metrics { min-width: 0; display: flex; flex-direction: column; padding-left: clamp(24px, 2.7vw, 50px); border-left: 1px solid #ffffff20; }
.evaluation-metrics > h3 { font-weight: 700; margin-bottom: 18px; }
.metrics-table { width: 100%; flex: 1; border-collapse: collapse; text-align: left; }
.metrics-table th, .metrics-table td { padding: 12px 0; text-align: left; line-height: 1.3; }
.metrics-table thead th { padding: 0 0 12px; color: #aeb0b4; font: 12px/1.4 Arial, Helvetica, sans-serif; font-weight: 400; }
.metrics-table thead th:last-child { padding-left: 14px; }
.metrics-table tbody tr:not(.metric-setting) { border-bottom: 1px solid #ffffff16; }
.metrics-table tbody tr:not(.metric-setting) th { font-size: clamp(18px, 1.45vw, 24px); font-weight: 400; }
.metrics-table td { padding-left: 14px; color: var(--accent); font: 14px/1.4 Arial, Helvetica, sans-serif; white-space: nowrap; }
.metrics-table .metric-setting th { padding: 13px 0 6px; color: #c6c6c8; font: 11px/1.4 Arial, Helvetica, sans-serif; letter-spacing: .075em; text-transform: uppercase; }
.metrics-table tbody + tbody .metric-setting th { padding-top: 21px; }
.metric-footnote { margin: 16px 0 0; color: #a5a7ab; font: 11px/1.5 Arial, Helvetica, sans-serif; }
.metric-footnote sup { margin-right: 3px; }
.evaluation-section.is-visible .flow-tile { animation: evaluation-reveal .5s ease both; animation-delay: calc(.15s + var(--step) * .23s); }
.evaluation-section.is-visible .next-image img { animation: evaluation-reveal .65s ease .9s both; }
@keyframes evaluation-reveal { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (min-width: 1800px) {
  .evaluation-section { display: flex; align-items: center; }
  .evaluation-layout { margin-top: 48px; }
  .holistic-flow { grid-template-columns: 130px 34px minmax(0, 1fr); gap: 12px; }
  .flow-prompt { padding: 12px; }
  .flow-prompt p { font-size: 18px; }
  .generated-sequence { grid-template-columns: minmax(0, 1fr) 92px minmax(0, 1fr) 92px; }
  .flow-label { font-size: 12px; }
  .flow-arrow > span { font-size: 12px; }
  .context-label { font-size: 14px; }
  .fine-flow { grid-template-columns: minmax(0, 1fr) 40px 158px; gap: 16px; }
  .metrics-table th, .metrics-table td { padding-top: 15px; padding-bottom: 15px; }
  .metrics-table td { font-size: 18px; }
  .metrics-table .metric-setting th, .metrics-table thead th, .metric-footnote, .method-figure figcaption { font-size: 14px; }
}
@media (max-height: 800px) and (min-width: 1151px) {
  .evaluation-section { padding-top: 36px; padding-bottom: 30px; }
  .evaluation-layout { margin-top: 22px; }
  .evaluation-heading { padding-bottom: 18px; }
  .evaluation-heading h2 { font-size: 40px; }
  .evaluation-heading p { font-size: 19px; margin-top: 12px; }
  .evaluation-metrics > h3 { margin-bottom: 14px; }
  .metrics-table th, .metrics-table td { padding-top: 10px; padding-bottom: 10px; }
  .metrics-table .metric-setting th { padding-top: 11px; padding-bottom: 5px; }
  .method-figure { margin-top: 12px; }
  .flow-prompt { padding: 10px; gap: 8px; }
  .flow-prompt p { font-size: 15px; }
  .fine-method { margin-top: 18px; padding-top: 18px; }
  .context-label { margin-bottom: 7px; font-size: 10px; }
  .context-content { grid-template-columns: minmax(0, 1fr) 96px; }
  .context-text { padding: 6px; }
  .context-text p { margin-top: 6px; font-size: 15px; line-height: 1.4; }
}
@media (max-width: 1150px) {
  .evaluation-section { padding: 48px 6vw; }
  .evaluation-layout { grid-template-columns: 1fr; gap: 36px; }
  .evaluation-methods { max-width: 700px; width: 100%; margin: 0 auto; }
  .evaluation-metrics { display: block; width: 100%; max-width: 700px; margin: 0 auto; border-left: 0; border-top: 1px solid #ffffff25; padding: 30px 0 0; }
  .holistic-flow { gap: 14px; }
  .generated-sequence { grid-template-columns: minmax(0, 1fr) 90px minmax(0, 1fr) 90px; }
  .text-tile p { font-size: 17px; }
  .fine-flow { grid-template-columns: minmax(0, 1fr) 40px minmax(120px, .46fr); gap: 14px; }
  .context-text p { font-size: 17px; }
  .metrics-table tbody tr:not(.metric-setting) th { font-size: 23px; }
  .metrics-table td { font-size: 17px; }
}
@media (max-width: 700px) {
  .evaluation-section { padding: 42px 24px 36px; }
  .evaluation-heading h2 { font-size: clamp(30px, 6.8vw, 39px); }
  .evaluation-layout { margin-top: 28px; gap: 30px; }
  .evaluation-method h3, .evaluation-metrics > h3 { font-size: 28px; }
  .method-description { font-size: 17px; }
  .method-figure { margin-top: 18px; }
  .holistic-flow { grid-template-columns: 1fr; gap: 10px; }
  .flow-prompt { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 13px; }
  .flow-prompt p { font-size: 16px; }
  .holistic-flow > .flow-arrow { flex-direction: row; height: 20px; }
  .holistic-flow > .flow-arrow svg { width: 22px; transform: rotate(90deg); }
  .flow-arrow > span { font-size: 9px; }
  .generated-sequence { grid-template-columns: minmax(0, 1fr) 108px; gap: 7px; }
  .flow-tile { min-height: 130px; }
  .flow-label { font-size: 9px; }
  .text-tile { padding: 11px 10px; }
  .text-tile p { margin-top: 9px; font-size: 16px; }
  .holistic-figure figcaption { padding-left: 0; }
  .fine-method { margin-top: 25px; padding-top: 24px; }
  .fine-flow { grid-template-columns: 1fr; gap: 12px; }
  .fine-flow > .flow-arrow { display: flex; justify-content: center; align-items: center; gap: 7px; height: 20px; }
  .fine-flow > .flow-arrow > span { margin: 0; }
  .fine-flow > .flow-arrow svg { width: 22px; transform: rotate(90deg); }
  .context-label { gap: 5px; font-size: 10px; }
  .context-content { grid-template-columns: minmax(0, 1fr) 108px; gap: 7px; padding: 7px; }
  .context-text { padding: 7px 5px; }
  .context-text p { margin-top: 7px; font-size: 15px; }
  .context-image img { width: 100%; height: auto; max-height: 120px; object-fit: contain; }
  .context-next p { margin-top: 5px; }
  .next-image > .flow-label { line-height: 1.4; }
  .next-image { width: 130px; justify-self: center; }
  .evaluation-metrics { padding-top: 25px; }
  .metrics-table tbody tr:not(.metric-setting) th { font-size: 18px; }
  .metrics-table td { padding-left: 12px; font-size: 13px; }
  .metrics-table thead th { font-size: 11px; }
  .metrics-table thead th:last-child { padding-left: 12px; }
  .metrics-table .metric-setting th { padding-top: 16px; }
}
@media (max-width: 370px) {
  .evaluation-section { padding-left: 20px; padding-right: 20px; }
  .generated-sequence { grid-template-columns: minmax(0, 1fr) 90px; }
  .context-content { grid-template-columns: minmax(0, 1fr) 90px; }
  .context-label { font-size: 9px; }
  .metrics-table tbody tr:not(.metric-setting) th { font-size: 16px; }
  .metrics-table td { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .evaluation-section.is-visible .flow-tile, .evaluation-section.is-visible .next-image img { animation: none; }
}

/* Interactive experimental findings */
.experiments-section { position: relative; z-index: 2; min-height: 100vh; min-height: 100svh; padding: clamp(48px, 6.5vh, 78px) clamp(28px, 6.2vw, 120px) 54px; background: #1d1f22; border-top: 1px solid #ffffff18; }
.experiments-inner { max-width: 1584px; margin: 0 auto; width: 100%; }
.experiments-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: clamp(28px, 2.8vw, 46px); margin-top: 30px; }
.radar-figure { min-width: 0; margin: 0; container: radar / inline-size; }
.results-radar { display: block; width: 100%; height: auto; max-height: 465px; overflow: visible; }
.radar-axis { stroke: #b9bec5; stroke-opacity: .27; stroke-width: 1; }
.radar-boundary { fill: none; stroke: #b9bec5; stroke-opacity: .42; stroke-width: 1; }
.radar-axis-label { fill: #d7d8da; font: 22px "IntReal Cambria", Cambria, Georgia, serif; transition: fill .3s ease; }
.radar-axis-label.is-highlighted { fill: var(--accent); }
.radar-axis-short { display: none; }
.radar-model-base { fill: none; stroke-width: 2.5; stroke-opacity: .35; stroke-linejoin: round; stroke-linecap: round; }
.experiments-layout[data-finding="overview"] .radar-model-base { stroke-opacity: 1; }
.radar-model-focus { opacity: 0; transition: opacity .38s ease; pointer-events: none; }
.radar-model-focus.is-active { opacity: 1; }
.radar-model-halo { fill: none; stroke: #fffdf8; stroke-width: 7; stroke-opacity: .16; stroke-linejoin: round; stroke-linecap: round; }
.radar-model-line { fill: none; stroke-width: 4.2; stroke-linejoin: round; stroke-linecap: round; }
.radar-model-fill { stroke: none; fill-opacity: .045; }
.radar-oss-group { opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.radar-oss-line { fill: none; stroke: var(--accent); stroke-width: 4.4; stroke-dasharray: 10 5; stroke-linecap: round; stroke-linejoin: round; }
.radar-oss-halo { fill: none; stroke: var(--accent); stroke-opacity: .13; stroke-width: 11; stroke-linejoin: round; }
.radar-legend { display: grid; grid-template-columns: repeat(2, max-content); justify-content: center; gap: 8px 24px; width: max-content; max-width: 100%; margin: 0 auto; padding: 0; }
.radar-legend-item { display: flex; min-width: 0; align-items: center; gap: 9px; color: #aeb1b5; font: 12px/1.4 Arial, Helvetica, sans-serif; transition: color .3s ease; white-space: nowrap; }
.radar-legend-item.is-active { color: #fffdf8; }
.experiments-layout[data-finding="overview"] .radar-legend-item { color: #d7d8da; }
.radar-legend-item svg { flex-shrink: 0; overflow: visible; }
.radar-legend-item.is-active line { stroke-width: 4; }
.radar-envelope-key { visibility: hidden; display: flex; gap: 9px; align-items: center; justify-content: center; margin: 13px auto 0; min-height: 18px; color: var(--accent); font: 12px/1.4 Arial, Helvetica, sans-serif; }
.radar-envelope-key.is-visible { visibility: visible; }
.radar-envelope-key > span { width: 28px; border-top: 2px dashed var(--accent); }
.findings-stack { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.finding-card { border: 1px solid #ffffff27; background: #ffffff02; border-radius: 10px; transition: border-color .28s ease, background .28s ease; overflow: hidden; }
.finding-card.is-active { border-color: #f2a35e96; background: #f2a35e05; }
.finding-card > h3 { margin: 0; }
.finding-trigger { display: grid; width: 100%; grid-template-columns: 26px minmax(0, 1fr) 18px; align-items: center; gap: 12px; padding: 19px 18px; border: 0; background: transparent; color: #f8f6f2; text-align: left; font: 700 clamp(20px, 1.6vw, 27px)/1.25 "IntReal Cambria", Cambria, Georgia, serif; cursor: pointer; }
.finding-number { align-self: start; padding-top: 4px; color: #aeb1b5; font: 12px/1.5 Arial, Helvetica, sans-serif; }
.finding-card.is-active .finding-number, .finding-card.is-active .finding-toggle { color: var(--accent); }
.finding-toggle { display: block; font: 24px/1 Arial, Helvetica, sans-serif; color: #aeb1b5; transition: transform .25s ease; }
.finding-card.is-active .finding-toggle { transform: rotate(45deg); }
.finding-trigger:focus-visible { outline: 2px solid var(--accent); outline-offset: -5px; border-radius: 8px; }
.finding-panel { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .34s ease, opacity .25s ease; }
.finding-card.is-active .finding-panel { grid-template-rows: 1fr; opacity: 1; }
.finding-panel-inner { min-height: 0; overflow: hidden; }
.finding-copy { min-height: 227px; padding: 0 20px 20px; }
.finding-copy > p { margin: 0; color: #bfc1c5; font: 14px/1.6 Arial, Helvetica, sans-serif; }
.model-strength { margin-top: 22px; border-left: 2px solid var(--model-color, var(--accent)); padding-left: 15px; }
.model-strength .strength-model { margin: 0 0 10px; color: var(--model-color, #fffdf8); font: 700 23px/1.3 "IntReal Cambria", Cambria, Georgia, serif; }
.model-strength .strength-metric { margin: 0; color: #b9bdc2; font: 12px/1.5 Arial, Helvetica, sans-serif; }
.model-strength .strength-score { margin: 4px 0 0; color: #fffdf8; font-size: 38px; line-height: 1.15; font-weight: 700; font-variant-numeric: tabular-nums; }
.finding-table { width: 100%; border-collapse: collapse; text-align: left; margin-top: 18px; font: 14px/1.4 Arial, Helvetica, sans-serif; font-variant-numeric: tabular-nums; }
.finding-table th, .finding-table td { padding: 8px 0; border-bottom: 1px solid #ffffff15; text-align: right; font-weight: 400; }
.finding-table th:first-child { text-align: left; }
.finding-table thead th { padding-top: 0; color: #999ea5; font-size: 11px; white-space: nowrap; }
.gap-table tbody td:nth-child(2) { color: var(--accent); font-weight: 600; }
.finding-copy .finding-note { margin-top: 15px; font-size: 11px; line-height: 1.5; color: #969ba2; }
.finding-copy .training-family { margin-top: 15px; color: var(--accent); font-size: 12px; font-weight: 600; }
.training-table { margin-top: 10px; font-size: 12px; }
.training-table th, .training-table td { padding: 6px 0; }
.training-table tbody th { color: #c2c5c9; }
.training-table .mean-row th, .training-table .mean-row td { padding-top: 9px; padding-bottom: 9px; color: #f0eeeb; font-weight: 600; }
.training-table .is-stage-active { color: var(--accent) !important; font-weight: 600; }
.experiments-error { color: var(--accent); font: 14px/1.5 Arial, Helvetica, sans-serif; }
@media (min-width: 1800px) {
  .experiments-section { display: flex; align-items: center; }
  .experiments-layout { margin-top: 42px; }
  .results-radar { max-height: 520px; }
  .radar-legend-item, .radar-envelope-key { font-size: 14px; }
  .finding-trigger { padding: 23px; }
  .finding-copy { padding: 0 25px 25px; min-height: 258px; }
  .finding-copy > p { font-size: 16px; }
  .finding-table { font-size: 16px; }
  .training-table { font-size: 14px; }
  .finding-table thead th, .finding-copy .finding-note { font-size: 12px; }
}
@media (max-height: 800px) and (min-width: 1101px) {
  .experiments-section { padding-top: 36px; padding-bottom: 30px; }
  .experiments-heading { padding-bottom: 20px; }
  .experiments-heading h2 { font-size: 40px; }
  .experiments-heading p { font-size: 19px; margin-top: 12px; }
  .experiments-layout { margin-top: 22px; }
  .results-radar { max-height: 370px; }
  .radar-legend { gap: 6px 12px; }
  .finding-trigger { padding: 16px; font-size: 20px; }
  .finding-copy { min-height: 208px; padding: 0 17px 17px; }
  .finding-copy > p { font-size: 13px; }
  .model-strength { margin-top: 17px; }
}
@media (max-width: 1100px) {
  .experiments-section { padding: 48px 6vw; }
  .experiments-layout { grid-template-columns: 1fr; gap: 36px; }
  .radar-figure, .findings-stack { width: 100%; max-width: 700px; margin-left: auto; margin-right: auto; }
  .results-radar { max-height: 465px; }
  .finding-trigger { font-size: 25px; }
  .finding-copy { min-height: 210px; }
}
@media (max-width: 700px) {
  .experiments-section { padding: 42px 24px 36px; }
  .experiments-heading h2 { font-size: clamp(30px, 6.8vw, 39px); }
  .experiments-layout { margin-top: 26px; gap: 28px; }
  .radar-axis-full { display: none; }
  .radar-axis-short { display: block; font-size: 29px; }
  .radar-legend { gap: 8px 16px; }
  .radar-legend-item { font-size: 10px; gap: 6px; }
  .radar-legend-item svg { width: 22px; }
  .radar-envelope-key { font-size: 10px; }
  .finding-trigger { grid-template-columns: 22px minmax(0, 1fr) 16px; gap: 8px; padding: 16px 14px; font-size: 21px; }
  .finding-number { font-size: 11px; }
  .finding-copy { min-height: 213px; padding: 0 15px 17px; }
  .finding-copy > p { font-size: 13px; }
  .finding-table { font-size: 13px; }
  .finding-table thead th { font-size: 10px; }
  .training-table { font-size: 11px; }
  .training-table thead th { font-size: 9px; }
  .findings-stack { gap: 10px; }
}
@media (max-width: 370px) {
  .experiments-section { padding-left: 20px; padding-right: 20px; }
  .radar-legend-item { font-size: 9px; gap: 5px; }
  .radar-legend-item svg { width: 18px; }
  .finding-trigger { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .radar-axis-label, .radar-model-focus, .radar-oss-group, .radar-legend-item, .finding-card, .finding-panel, .finding-toggle { transition: none; }
}
@container radar (min-width: 560px) {
  .radar-legend { grid-template-columns: repeat(4, max-content); column-gap: 16px; }
  .radar-legend-item { font-size: 11px; gap: 6px; }
}
@container radar (min-width: 640px) {
  .radar-legend { column-gap: 20px; }
  .radar-legend-item { font-size: 12px; gap: 7px; }
}

/* Evidence for metric reliability */
.reliability-section { position: relative; z-index: 2; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: clamp(48px, 6.5vh, 78px) clamp(28px, 6.2vw, 120px) 64px; background: #191b1e; border-top: 1px solid #ffffff18; }
.reliability-inner { width: 100%; max-width: 1584px; margin: 0 auto; }
.reliability-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 36px; }
.reliability-card { min-width: 0; padding: clamp(18px, 1.65vw, 27px); border: 1px solid #ffffff24; border-radius: 12px; background: #ffffff02; }
.reliability-card-heading { display: flex; align-items: baseline; gap: 12px; }
.reliability-number { color: var(--accent); font: 12px/1.5 Arial, Helvetica, sans-serif; }
.reliability-card h3 { margin: 0; font-size: clamp(22px, 1.8vw, 30px); line-height: 1.2; }
.reliability-stat { margin: 26px 0 8px; color: var(--accent); font-weight: 700; font-size: clamp(40px, 3.6vw, 62px); line-height: 1.1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.reliability-stat-prefix { font-size: .56em; font-weight: 400; }
.reliability-stat-unit { font-size: .72em; }
.reliability-scope { margin: 0; min-height: 40px; font: 13px/1.5 Arial, Helvetica, sans-serif; color: #bfc1c5; }
.reliability-figure { position: relative; display: flex; width: 100%; aspect-ratio: 1.28; align-items: center; justify-content: center; padding: 10px; margin: 20px 0 23px; border: 0; border-radius: 6px; background: #fff; cursor: zoom-in; overflow: hidden; }
.reliability-figure img { display: block; width: 100%; height: 100%; object-fit: contain; }
.figure-enlarge { position: absolute; bottom: 8px; right: 8px; width: 27px; height: 27px; border-radius: 50%; background: #1d1f22eb; color: #fffdf8; font: 19px/27px Arial, Helvetica, sans-serif; opacity: .75; transition: opacity .2s ease; }
.reliability-figure:hover .figure-enlarge, .reliability-figure:focus-visible .figure-enlarge { opacity: 1; }
.reliability-figure:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.reliability-takeaway { margin: 0 0 10px; font-size: clamp(19px, 1.55vw, 25px); font-weight: 700; line-height: 1.35; }
.reliability-detail { margin: 0; color: #aeb1b5; font: 13px/1.6 Arial, Helvetica, sans-serif; }
.reliability-dialog { width: min(1250px, 94vw); max-width: 94vw; max-height: 92vh; max-height: 92svh; padding: 0; border: 1px solid #ffffff30; border-radius: 10px; background: #1d1f22; color: var(--paper); }
.reliability-dialog::backdrop { background: #000c; }
.reliability-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 18px 24px; }
.reliability-dialog-header h2 { margin: 0; font-size: 26px; }
.reliability-dialog-close { width: 36px; height: 36px; flex-shrink: 0; border: 1px solid #ffffff35; border-radius: 50%; background: transparent; color: var(--paper); font: 25px/1 Arial, Helvetica, sans-serif; cursor: pointer; }
.reliability-dialog-close:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.reliability-dialog-image { padding: 16px; background: #fff; }
.reliability-dialog-image img { display: block; width: 100%; height: auto; max-height: calc(92svh - 112px); object-fit: contain; }

/* Resource and contact footer */
.project-footer { position: relative; z-index: 2; padding: 56px clamp(28px, 6.2vw, 120px) 40px; border-top: 1px solid #ffffff20; background: #111315; }
.footer-inner { max-width: 1584px; margin: 0 auto; }
.footer-intro { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.footer-intro h2 { margin: 0; color: var(--accent); font-size: 44px; font-style: italic; }
.footer-intro p { margin: 0; color: #c8c9cb; font-size: 21px; line-height: 1.5; }
.footer-resources { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin: 30px 0 36px; }
.footer-resources a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 14px; border: 1px solid #fffdf8; border-radius: 999px; background: #fffdf8; color: #151515; font: 600 13px/1.2 Arial, Helvetica, sans-serif; text-decoration: none; white-space: nowrap; transition: background .2s ease, border-color .2s ease; }
.footer-resources img { flex-shrink: 0; width: 18px; height: 18px; }
.footer-resources a:hover { background: #f8dfc9; border-color: var(--accent); }
.footer-contact { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-top: 25px; border-top: 1px solid #ffffff20; font: 13px/1.6 Arial, Helvetica, sans-serif; }
.footer-contact p { margin: 0; color: #aeb1b5; }
.footer-contact-details { display: flex; align-items: center; justify-content: space-between; gap: clamp(20px, 3vw, 48px); }
.footer-emails { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.footer-emails a { white-space: nowrap; }
.footer-logo { display: block; flex: 0 0 auto; width: 190px; height: auto; }
.footer-emails a { color: #e2e3e4; text-decoration-color: #ffffff40; text-underline-offset: 5px; }
.footer-emails a:hover { color: var(--accent); }
.footer-resources a:focus-visible, .footer-emails a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
@media (max-width: 1100px) {
  .reliability-section { padding: 48px 6vw; }
  .reliability-grid { gap: 15px; }
  .reliability-card { padding: 18px 15px; }
  .reliability-card-heading { gap: 7px; }
  .reliability-card h3 { font-size: 22px; }
  .reliability-scope, .reliability-detail { font-size: 12px; }
  .reliability-stat { font-size: 40px; }
  .reliability-takeaway { font-size: 20px; }
  .footer-intro { display: block; }
  .footer-intro p { margin-top: 10px; }
  .footer-resources { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-contact { display: block; }
  .footer-contact-details { margin-top: 18px; }
}
@media (max-width: 760px) {
  .reliability-section { padding: 42px 24px; }
  .reliability-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 28px; }
  .reliability-card { width: 100%; max-width: 510px; margin: 0 auto; padding: 24px; }
  .reliability-card h3 { font-size: 27px; }
  .reliability-stat { margin-top: 20px; font-size: 52px; }
  .reliability-scope { min-height: 0; font-size: 13px; }
  .reliability-figure { aspect-ratio: 1.35; margin-top: 22px; }
  .reliability-takeaway { font-size: 23px; }
  .reliability-detail { font-size: 13px; }
  .reliability-dialog-header { padding: 15px; }
  .reliability-dialog-header h2 { font-size: 21px; }
  .reliability-dialog-image { padding: 9px; }
  .project-footer { padding: 40px 24px 32px; }
  .footer-intro p { font-size: 19px; }
  .footer-resources { gap: 12px; }
  .footer-resources a { padding: 11px 10px; font-size: 12px; gap: 7px; }
  .footer-emails { flex-direction: column; gap: 12px; }
  .footer-contact-details { gap: 16px; }
  .footer-logo { width: clamp(84px, 26vw, 140px); }
}
@media (min-width: 761px) and (max-width: 1000px) {
  .reliability-grid { grid-template-columns: 1fr; gap: 24px; }
  .reliability-card { max-width: 560px; width: 100%; margin: 0 auto; padding: 28px; }
  .reliability-card h3 { font-size: 29px; }
  .reliability-stat { font-size: 56px; }
  .reliability-scope { min-height: 0; font-size: 14px; }
  .reliability-takeaway { font-size: 25px; }
  .reliability-detail { font-size: 14px; }
}
@media (max-width: 370px) {
  .reliability-section, .project-footer { padding-left: 20px; padding-right: 20px; }
  .reliability-card { padding: 20px 18px; }
  .reliability-card h3 { font-size: 24px; }
  .footer-resources { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .figure-enlarge, .footer-resources a { transition: none; }
}
