/* Self-hosted web fonts. Regenerate with: python3 build.py --fetch-fonts */
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(fonts/newsreader-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(fonts/newsreader-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/public-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/public-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}


/* Sebastian's Robot Zoo - generated by build.py, edit templates/style.css */

:root {
  --navy: #14314F;
  --accent: #2E6DA4;
  --accent-soft: #EAF2FA;
  --border: #D9E2EA;
  --muted: #55606B;
  --faint: #8A97A3;
  --ink: #1B2430;
  --paper: #FFFFFF;
  --paper-alt: #F7F9FB;
  --on-navy: #EAF2FA;
  --on-navy-muted: #B9C7D4;
  --todo: #B4690E;
  --todo-bg: #FDF3E3;

  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
          'Helvetica Neue', Arial, sans-serif;

  --wrap: 1080px;
  --wrap-narrow: 760px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); }
a:hover, a:focus { color: var(--navy); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--navy);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px 28px;
  flex-wrap: wrap;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  margin-right: auto;
}
.brand:hover, .brand:focus { color: var(--on-navy); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--on-navy);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover,
.site-nav a:focus { color: #fff; border-bottom-color: var(--on-navy-muted); }
.site-nav a[aria-current="page"] { color: #fff; border-bottom-color: #fff; }

.site-nav .icon-link { display: flex; }
.site-nav .icon-link svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- hero ---------- */

.hero {
  background: var(--accent-soft);
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 72px;
  padding-bottom: 64px;
}

.hero-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 26px;
  border: 4px solid #fff;
  box-shadow: 0 4px 18px rgba(20, 49, 79, 0.16);
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(32px, 6vw, 48px);
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 14px;
}

.hero-tagline {
  font-size: 18px;
  color: var(--muted);
  max-width: 560px;
  margin: 0;
}

.hero-meta {
  margin: 20px 0 0;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

/* ---------- section framing ---------- */

.zoo { padding: 64px 0 24px; }

.section-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 28px;
  color: var(--navy);
  text-align: center;
  margin: 0 0 44px;
}

.page-head {
  background: var(--accent-soft);
  border-bottom: 1px solid var(--border);
  padding: 56px 0;
}

.page-head h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(28px, 5vw, 38px);
  color: var(--navy);
  margin: 0 0 12px;
}

.page-intro {
  margin: 0;
  color: var(--muted);
  max-width: var(--wrap-narrow);
  font-size: 16px;
}

/* ---------- timeline ---------- */

.timeline { max-width: 900px; margin: 0 auto; }

.entry {
  display: grid;
  grid-template-columns: 56px 2px 1fr;
  column-gap: 24px;
}

.entry-year {
  text-align: right;
  font-weight: 700;
  font-size: 14px;
  color: var(--accent);
  padding-top: 4px;
}

.entry-rail {
  background: var(--border);
  position: relative;
}

.entry:last-child .entry-rail {
  background: linear-gradient(var(--border) 0 120px, transparent 120px);
}

.entry-rail::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--paper);
}

.entry-body {
  display: flex;
  gap: 28px;
  padding-bottom: 56px;
  align-items: flex-start;
}

.entry-media { flex: 0 0 300px; }

.stage {
  display: block;
  line-height: 0;
  border-radius: 4px;
  overflow: hidden;
  background: var(--paper-alt);
  border: 1px solid var(--border);
}

.stage img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.thumbs {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.thumb {
  display: block;
  line-height: 0;
  padding: 2px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--paper);
}
.thumb img { width: 58px; height: 44px; object-fit: cover; border-radius: 2px; }
.thumb:hover, .thumb:focus { border-color: var(--accent); }
.thumb.is-active { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }

.entry-text { flex: 1; min-width: 0; }

/* The organisation sits above the robot name as an eyebrow label. */
.entry-org {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 600;
  margin-bottom: 2px;
}

.entry-text h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 10px;
}

.entry-text p { margin: 0 0 10px; font-size: 14.5px; color: var(--muted); }
.entry-text .anecdote {
  border-left: 3px solid var(--accent-soft);
  padding-left: 12px;
  font-style: italic;
}
.entry-text .tech { font-size: 13px; color: var(--ink); }
.entry-text .tech strong { color: var(--navy); }

.tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 0;
  padding: 0;
}
.tags li {
  font-size: 11.5px;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 3px 9px;
  border-radius: 10px;
}

.todo {
  color: var(--todo);
  background: var(--todo-bg);
  border-left: 3px solid var(--todo);
  padding: 4px 10px;
  font-size: 13px;
  font-style: normal;
}

/* ---------- publications ---------- */

.publications-teaser {
  background: var(--paper-alt);
  border-top: 1px solid var(--border);
  padding: 60px 0;
  text-align: center;
}
.publications-teaser .teaser-text {
  max-width: 560px;
  margin: 0 auto 24px;
  color: var(--muted);
}

.button {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: 4px;
}
.button:hover, .button:focus { background: var(--accent); color: #fff; }

.publications { padding: 56px 0 72px; }

.citation-list {
  margin: 0;
  padding-left: 26px;
  max-width: var(--wrap-narrow);
}

.citation-list li {
  margin-bottom: 20px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink);
}

.citation-list .self { font-weight: 700; color: var(--navy); }
.citation-list .venue { font-style: italic; }

.pub-links {
  display: inline-flex;
  gap: 10px;
  margin-left: 4px;
  white-space: nowrap;
}
.pub-links a {
  font-size: 12px;
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 1px 7px;
}
.pub-links a:hover, .pub-links a:focus {
  border-color: var(--accent);
  background: var(--accent-soft);
}

/* ---------- legal page ---------- */

.legal { padding: 48px 0 72px; }

.prose { max-width: var(--wrap-narrow); }
.prose h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  color: var(--navy);
  margin: 36px 0 10px;
}
.prose h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin: 26px 0 6px;
}
/* Sub-heading inside a numbered section, e.g. "Ihre Rechte" under Datenschutz. */
.prose h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin: 20px 0 4px;
}
.prose p { margin: 0 0 14px; font-size: 14.5px; color: var(--ink); }
.prose address { font-style: normal; font-size: 14.5px; margin: 0 0 14px; }
.prose .source { font-size: 12.5px; color: var(--faint); margin-top: 28px; }

/* ---------- footer ---------- */

.site-footer {
  background: var(--navy);
  color: var(--on-navy-muted);
  padding: 28px 0;
  margin-top: 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
  font-size: 13px;
}

.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-nav a { color: var(--on-navy); text-decoration: none; }
.footer-nav a:hover, .footer-nav a:focus { color: #fff; text-decoration: underline; }

/* ---------- lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(11, 24, 39, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 4px;
}
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: 1px solid var(--on-navy-muted);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
}
.lightbox-close:hover { border-color: #fff; }
.lightbox-caption {
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  text-align: center;
  color: var(--on-navy-muted);
  font-size: 13px;
}

/* ---------- responsive ---------- */

@media (max-width: 760px) {
  .entry {
    grid-template-columns: 44px 2px 1fr;
    column-gap: 16px;
  }
  .entry-body { flex-direction: column; gap: 18px; }
  .entry-media { flex: 1 1 auto; width: 100%; max-width: 420px; }
  .hero-inner { padding-top: 52px; padding-bottom: 48px; }
  .zoo { padding-top: 48px; }
  .header-inner { padding-top: 12px; padding-bottom: 12px; }
  .brand { font-size: 13px; }
  .site-nav { gap: 16px; }
  .site-nav a { font-size: 13px; }
  .footer-inner { justify-content: flex-start; }
}

@media (max-width: 420px) {
  .wrap { padding: 0 16px; }
  .entry { grid-template-columns: 38px 2px 1fr; column-gap: 12px; }
  .entry-year { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

@media print {
  .site-header, .site-footer, .thumbs, .publications-teaser { display: none; }
  body { font-size: 11pt; }
  .entry { break-inside: avoid; }
}
