/* Research site · dark steel · General Sans and the existing Plex ASCII glyphs. */
/* Critique: the actuator carries the complexity; the writing and navigation remain direct. */
:root {
  color-scheme: dark;
  --paper: #080A0B;
  --ink: #C7CDD0;
  --bright: #E0E5E7;
  --muted: #8D969C;
  --accent: #F07855;
  --line: rgba(199,205,208,.2);
  --link: #A7B9F0;
  --surface: #101416;
  --site-font: "General Sans", Arial, sans-serif;
  --site-mono: "IBM Plex Mono", monospace;
}
body { background: var(--paper); color: var(--ink); }
.skip { transform: none; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; padding: 0; }
.skip:focus { clip-path: none; width: auto; height: auto; padding: 14px 20px; }
main:focus { outline: none; }
::selection { color: var(--paper); background: var(--ink); }
.header nav a { min-height: 44px; display: inline-flex; align-items: center; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.skip { color: var(--paper); background: var(--bright); }
.header, .hero.hero-study, .contents { border-color: var(--line); }
.header { color: var(--ink); justify-content: flex-end; }
.header a:hover { color: var(--bright); }
.hero-study .hero-title { color: var(--bright); }
.hero-study .hero-motor { top: 135px; width: min(1160px,100%); height: 440px; }
.hero-study .hero-tools { display: none; }
.hero-study .hero-information { grid-template-columns: minmax(0, 1fr) auto; align-items: center; top: 600px; }
.hero-study .subtitle { color: var(--ink); }
.hero-study .authors { grid-column: 2; grid-row: 1; justify-self: end; align-self: center; margin: 0; color: var(--muted); }
.contents { padding-top: 40px; padding-bottom: 56px; }
.section-heading p { color: var(--muted); }
.contents-image { background: var(--surface); }
.contents-tile h3 { color: var(--ink); }
.contents-grid { counter-reset: chapter; column-gap: 24px; row-gap: 38px; }
.contents-tile { counter-increment: chapter; }
.contents-tile h3 { display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 10px; margin-top: 15px; font-size: 16px; line-height: 23px; letter-spacing: -.15px; }
.contents-tile h3::before { content: counter(chapter, decimal-leading-zero); color: var(--muted); font-size: 11px; line-height: 23px; font-variant-numeric: tabular-nums; letter-spacing: 0; }
.contents-tile:hover h3::before, .contents-tile:focus-visible h3::before { color: var(--accent); }
.section-heading { margin-bottom: 28px; }
.section-heading p { line-height: 20px; }
.section-heading [hidden] { display: none !important; }
.contents-tile:hover h3, .contents-tile:focus-visible h3 { color: var(--bright); }
.contents-image > img { opacity: .62; }
.contents-tile:hover .contents-image::after, .contents-tile:focus-visible .contents-image::after { box-shadow: inset 0 0 0 1px var(--accent); }
#trajectories { padding-top: 0; }
#trajectories .robotics-graph { border-top: 0; padding-top: 56px; }
.site-footer { margin-top: 72px; border-top: 1px solid var(--line); padding: 28px 0 36px; display: flex; justify-content: space-between; gap: 24px; color: var(--muted); font-size: 13px; }
.site-footer a:hover { color: var(--bright); text-decoration: underline; text-underline-offset: 4px; }
.site-footer nav { gap: 28px; font-size: inherit; }
.site-footer nav a:first-child { display: block; }
@media (max-width: 1000px) {
  .hero-study .hero-information { grid-template-columns: minmax(0, 1fr) auto; gap: 28px; }
  .hero-study .authors { flex-direction: row; gap: 28px; }
  .hero-study .hero-motor { top: 158px; height: 400px; }
  .hero.hero-study { height: 690px; min-height: 690px; }
}
@media (max-width: 720px) {
  .header nav a:first-child { display: inline-flex; }
  .contents-grid { row-gap: 34px; }
  .contents-tile h3 { font-size: 18px; line-height: 25px; }
  .contents-tile h3::before { line-height: 25px; }
  .section-heading { flex-direction: row; align-items: baseline; gap: 20px; }
  .section-heading p { font-size: 12px; text-align: right; }
}
@media (max-width: 520px) {
  .hero.hero-study { height: 655px; min-height: 655px; overflow: visible; }
  .hero-study .hero-art { left: -20px; right: -20px; overflow: clip; }
  .hero-study .hero-motor { top: 142px; width: 100%; height: 330px; }
  .hero-study .hero-information { top: 488px; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; }
  .hero-study .subtitle { grid-column: 1; grid-row: 1; font-size: 18px; line-height: 25px; }
  .hero-study .authors { grid-column: 2; grid-row: 1; flex-direction: column; font-size: 12px; gap: 12px; align-self: center; }
  .hero-study .authors span { font-size: 11px; }
  .site-footer { flex-direction: column; gap: 18px; }
  #trajectories .robotics-graph { padding-top: 40px; }
}
