:root {
  --bg: #f3f2ec;
  --surface: #fffdfa;
  --ink: #182022;
  --muted: #4d5a5f;
  --line: #d7d0c3;
  --brand: #0f6a63;
  --brand-strong: #0a4f4a;
  --accent: #bf5a2a;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(1200px 480px at 90% -10%, #e8d9c0 0%, transparent 60%),
    radial-gradient(900px 420px at -10% -20%, #d5ece7 0%, transparent 55%),
    var(--bg);
  color: var(--ink);
  font-family: "Avenir Next", "Trebuchet MS", "Lucida Grande", sans-serif;
  line-height: 1.55;
}

a {
  color: var(--brand-strong);
}

a:hover,
a:focus-visible {
  color: var(--brand);
}

.container {
  width: min(1040px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(8px);
  background: color-mix(in srgb, var(--bg) 85%, white 15%);
  border-bottom: 1px solid var(--line);
  z-index: 10;
}

main > section[id],
main h2[id] {
  scroll-margin-top: 116px;
}

.nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-right {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--line) 76%, #ffffff 24%);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 88%, #ffffff 12%);
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(24, 32, 34, 0.08);
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  color: var(--brand-strong);
  border-color: color-mix(in srgb, var(--brand) 34%, var(--line) 66%);
}

.nav-toggle:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--brand) 30%, transparent 70%);
  outline-offset: 3px;
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.nav-toggle-icon {
  position: relative;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-icon::before {
  transform: translateY(-6px);
}

.nav-toggle-icon::after {
  transform: translateY(6px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
  opacity: 0;
  transform: translateY(0);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
  transform: translateY(0) rotate(-90deg);
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--brand-strong);
}

.logo:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: -2px;
  border-radius: 4px;
}

.logo-image {
  display: block;
  width: 196px;
  height: auto;
}

.logo-image,
.burov-wordmark {
  /* Neutralize the draft's near-white paper before blending with the surface. */
  filter: brightness(1.025);
  mix-blend-mode: multiply;
}

@media (min-width: 1081px) {
  /* Align the wordmark inside the image with the navigation's text baseline. */
  .logo {
    padding-bottom: 10px;
  }

  .nav-right {
    align-items: baseline;
    padding-top: 8px;
  }
}

.nav nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.nav nav a {
  position: relative;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  padding-bottom: 5px;
}

.nav nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.55);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.nav nav a:hover,
.nav nav a:focus-visible,
.nav nav a[aria-current="page"],
.nav nav a[aria-current="location"] {
  color: var(--brand-strong);
}

.nav nav a:hover::after,
.nav nav a:focus-visible::after,
.nav nav a[aria-current="page"]::after,
.nav nav a[aria-current="location"]::after {
  opacity: 0.72;
  transform: scaleX(1);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lang-switch a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.03em;
  color: var(--muted);
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  line-height: 1;
}

.lang-switch a:hover,
.lang-switch a:focus-visible {
  color: var(--brand-strong);
  border-color: color-mix(in srgb, var(--brand) 30%, var(--line) 70%);
}

.lang-switch a.is-active {
  color: #ffffff;
  background: var(--brand);
  border-color: var(--brand);
}

.hero {
  padding: 84px 0 54px;
}

.hero-grid {
  max-width: 780px;
}

.hero-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.profile-photo {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 2px solid color-mix(in srgb, var(--line) 70%, #ffffff 30%);
  object-fit: cover;
  background: #ffffff;
}

.profile-name {
  margin: 0;
  font-weight: 500;
  font-size: 1.04rem;
  line-height: 1.2;
}

.profile-role {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.2;
}

.kicker {
  margin: 0;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

h1,
h2,
h3 {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  letter-spacing: -0.01em;
  margin-top: 0;
}

h1 {
  margin: 10px 0 14px;
  font-size: clamp(1.9rem, 4.8vw, 3.25rem);
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
  margin-bottom: 16px;
}

.lead {
  color: var(--muted);
  font-size: clamp(1.04rem, 2.3vw, 1.2rem);
  max-width: 68ch;
}

.highlight-line {
  margin: 26px 0 0;
  font-weight: 600;
  font-size: clamp(1rem, 1.9vw, 1.12rem);
  color: color-mix(in srgb, var(--brand-strong) 82%, var(--ink) 18%);
}

#fokus.section,
#focus.section {
  padding-top: 32px;
}

.actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-block;
  padding: 11px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--brand);
  color: #f7fffd;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--brand-strong);
  color: #ffffff;
}

.btn-secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.section {
  padding: 56px 0;
}

.section-alt {
  background: color-mix(in srgb, var(--surface) 68%, #f1e9dc 32%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.focus-subheading {
  margin-top: 36px;
}

.project-highlight {
  margin-top: 18px;
  background: color-mix(in srgb, var(--surface) 75%, #efe4d3 25%);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
}

.project-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.project-logo {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--line) 70%, #ffffff 30%);
  background: #ffffff;
  box-shadow: 0 6px 16px rgba(24, 32, 34, 0.12);
}

.project-highlight h3 {
  margin: 0;
}

.project-description {
  margin: 0 0 12px;
  color: var(--muted);
  max-width: 76ch;
}

.project-list {
  margin-top: 0;
}

.topic-list {
  display: grid;
  gap: 14px;
}

.topic-list-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  background: color-mix(in srgb, var(--surface) 82%, #f1e9dc 18%);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}

.topic-list-number {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand);
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.topic-list-body h3 {
  margin: 0 0 8px;
  font-size: clamp(1.18rem, 2.2vw, 1.45rem);
}

.topic-list-body p {
  margin: 0;
  color: var(--muted);
}

.wall-rules {
  margin-top: 12px;
  padding: 10px 12px;
  border-left: 4px solid var(--accent);
  border-radius: 0 10px 10px 0;
  background: color-mix(in srgb, var(--surface) 70%, #f1e3cf 30%);
}

.wall-rules-heading {
  margin: 0 0 8px !important;
  color: var(--accent) !important;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.78rem;
  font-weight: 700;
}

.wall-rules ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
}

.wall-rules li {
  color: color-mix(in srgb, var(--brand-strong) 70%, var(--ink) 30%);
  font-weight: 700;
}

.topic-list-link {
  justify-self: end;
  padding: 11px 16px;
  border-radius: 999px;
  background: var(--brand);
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
}

.topic-list-link:hover,
.topic-list-link:focus-visible {
  background: var(--brand-strong);
  color: #ffffff;
}

.list {
  margin: 0;
  padding-left: 20px;
}

.list li + li {
  margin-top: 8px;
}

.faq-intro {
  margin: 0 0 14px;
  color: var(--muted);
}

.about-intro {
  margin: 0;
  color: var(--muted);
  max-width: 76ch;
}

.work-intro {
  margin: 0;
  color: var(--muted);
  max-width: 80ch;
}

.work-cards {
  margin-top: 18px;
}

.work-principles {
  margin-top: 16px;
  background: color-mix(in srgb, var(--surface) 75%, #efe4d3 25%);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
}

.work-principles h3 {
  margin: 0 0 10px;
}

.about-values {
  margin-top: 18px;
}

.about-details {
  margin-top: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
}

.about-details summary {
  cursor: pointer;
  font-weight: 700;
  line-height: 1.35;
}

.about-details p {
  margin: 10px 0 0;
  color: var(--muted);
}

.profile-contact-heading {
  margin: 20px 0 10px;
}

.profile-contact-heading:first-of-type {
  margin-top: 0;
}

.profile-contact-heading--contact {
  margin-top: 34px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  line-height: 1.35;
}

.faq-list details p {
  margin: 10px 0 0;
  color: var(--muted);
}

.article-hero {
  padding-bottom: 40px;
}

.article-shell {
  max-width: 840px;
}

.not-found-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.not-found-page main {
  flex: 1;
}

.hero-note {
  margin: 24px 0 0;
  padding: 18px 20px;
  background: color-mix(in srgb, var(--surface) 72%, #efe2cc 28%);
  border: 1px solid var(--line);
  border-radius: 16px;
  font-weight: 700;
  color: color-mix(in srgb, var(--brand-strong) 70%, var(--ink) 30%);
}

.section-heading {
  margin-bottom: 18px;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.section-intro {
  margin: 0 0 18px;
  color: var(--muted);
  max-width: 72ch;
}

.split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.prompt-workflow-summary {
  margin-top: 18px;
}

.luminara-explanation {
  margin-top: 18px;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
}

.panel p {
  margin: 0;
  color: var(--muted);
}

.panel p + p {
  margin-top: 14px;
}

.panel-emphasis {
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--surface) 78%, #ffffff 22%), color-mix(in srgb, var(--surface) 70%, #e8f1ef 30%));
}

.panel-note {
  font-weight: 600;
  color: color-mix(in srgb, var(--brand-strong) 68%, var(--ink) 32%);
}

.assistant-examples {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.assistant-example {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.assistant-example-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  margin-bottom: 18px;
}

.assistant-example-wordmark {
  display: block;
  width: 224px;
  max-width: 100%;
  height: auto;
}

.assistant-example-mark {
  display: block;
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  border-radius: 50%;
}

.assistant-example-name {
  color: var(--brand-strong);
  font-size: 1.45rem;
  font-weight: 700;
}

.assistant-example .panel-note {
  margin-top: auto;
  padding-top: 18px;
}

@media (max-width: 820px) {
  .assistant-examples {
    grid-template-columns: 1fr;
  }
}

.checklist {
  margin-top: 14px;
}

.quote-band {
  margin: 18px 0 0;
  padding: 18px 20px;
  border-left: 4px solid var(--accent);
  background: color-mix(in srgb, var(--surface) 82%, #f4ebde 18%);
  border-radius: 0 16px 16px 0;
}

.quote-band p {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  font-size: 1.18rem;
  line-height: 1.35;
}

.cta-panel {
  background:
    radial-gradient(560px 220px at 100% 0%, rgba(191, 90, 42, 0.12) 0%, transparent 70%),
    color-mix(in srgb, var(--surface) 74%, #e3efe9 26%);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
}

.cta-panel h2 {
  margin-bottom: 10px;
}

.cta-panel p:last-of-type {
  margin-bottom: 0;
  color: var(--muted);
}

.legal h1 {
  margin-bottom: 10px;
}

.legal h2 {
  margin-top: 26px;
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.back-link {
  margin-top: 30px;
}

.breadcrumb-bar {
  padding: 16px 0;
}

.breadcrumb-bar + .hero {
  padding-top: 36px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumb a {
  font-weight: 700;
  text-decoration: none;
}

.breadcrumb [aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
}

.breadcrumb__separator {
  color: color-mix(in srgb, var(--muted) 68%, transparent 32%);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.article-sidebar {
  position: sticky;
  top: 92px;
}

.section-nav {
  background: color-mix(in srgb, var(--surface) 82%, #f1e9dc 18%);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
}

.section-nav-title {
  margin: 0 0 10px;
  font-weight: 800;
  color: var(--brand-strong);
}

.section-nav ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.section-nav a {
  text-decoration: none;
  font-weight: 650;
}

.section-nav a[aria-current="page"] {
  color: var(--accent);
}

.article-content {
  max-width: 78ch;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(20px, 4vw, 34px);
}

.article-content > :first-child {
  margin-top: 0;
}

.article-content h2 {
  margin-top: 34px;
}

.article-content h3 {
  margin-top: 26px;
}

.article-content blockquote {
  margin: 24px 0;
  padding: 14px 18px;
  border-left: 4px solid var(--accent);
  background: color-mix(in srgb, var(--surface) 70%, #f1e3cf 30%);
  border-radius: 0 14px 14px 0;
  font-weight: 700;
}

.article-content pre {
  overflow-x: auto;
  padding: 16px;
  border-radius: 14px;
  background: #182022;
  color: #f7fffd;
}

.article-content code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.92em;
}

.article-content :not(pre) > code {
  padding: 0.1em 0.32em;
  border-radius: 6px;
  background: color-mix(in srgb, var(--line) 42%, #ffffff 58%);
}

.article-pager {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.article-pager a {
  display: block;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  background: color-mix(in srgb, var(--surface) 70%, #eef4f2 30%);
}

.article-pager a:last-child {
  text-align: right;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 32px;
}

.footer-inner {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
}

.footer-inner nav {
  display: flex;
  gap: 16px;
}

.footer-inner nav a {
  text-decoration: none;
  font-weight: 600;
}

.back-to-top {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 20;
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  color: var(--brand-strong);
  background: color-mix(in srgb, var(--surface) 78%, #ffffff 22%);
  border: 1px solid color-mix(in srgb, var(--brand) 22%, var(--line) 78%);
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(24, 32, 34, 0.16);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  color: #ffffff;
  background: var(--brand);
  border-color: var(--brand);
}

.back-to-top:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--brand) 30%, transparent 70%);
  outline-offset: 3px;
}

.back-to-top-icon {
  width: 22px;
  height: 22px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.luminara {
  position: relative;
  z-index: 5;
  border-bottom: 1px solid var(--line);
}

.luminara-handle {
  display: flex;
  min-height: 34px;
}

.luminara-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: -1px 0 0;
  padding: 7px 15px 8px;
  color: var(--brand-strong);
  background: color-mix(in srgb, var(--surface) 82%, #dceeea 18%);
  border: 1px solid var(--brand);
  border-top: 0;
  border-radius: 0 0 12px 12px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(24, 32, 34, 0.1);
}

.luminara-toggle:hover,
.luminara-toggle:focus-visible {
  color: #ffffff;
  background: var(--brand);
}

.luminara-toggle:focus-visible,
.luminara-restart:focus-visible,
.luminara-send:focus-visible,
.luminara-message--error button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--brand) 35%, transparent 65%);
  outline-offset: 3px;
}

.luminara-toggle-mark {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--accent);
  font-size: 0.78rem;
}

.luminara-panel {
  background:
    radial-gradient(760px 240px at 8% 0%, rgba(213, 236, 231, 0.9), transparent 68%),
    color-mix(in srgb, var(--surface) 74%, #e8f0ee 26%);
}

.luminara-panel-inner {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  gap: 22px;
  padding: 24px 0 28px;
}

.luminara-intro {
  display: grid;
  align-content: start;
  gap: 12px;
}

.luminara-avatar {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  color: #ffffff;
  background:
    radial-gradient(circle at 34% 28%, #ffe0a7 0 8%, transparent 9%),
    linear-gradient(145deg, var(--accent), var(--brand));
  box-shadow: 0 10px 22px rgba(24, 32, 34, 0.16);
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
  font-size: 2rem;
  font-weight: 700;
}

.luminara-intro strong {
  display: block;
  color: var(--brand-strong);
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
  font-size: 1.35rem;
}

.luminara-intro p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.luminara-restart {
  justify-self: start;
  padding: 7px 10px;
  color: var(--brand-strong);
  background: transparent;
  border: 1px solid var(--brand);
  border-radius: 999px;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 750;
  cursor: pointer;
}

.luminara-restart:hover,
.luminara-restart:focus-visible {
  color: #ffffff;
  background: var(--brand);
}

.luminara-chat-shell {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(24, 32, 34, 0.1);
}

.luminara-messages {
  display: grid;
  align-content: start;
  gap: 10px;
  max-height: 320px;
  min-height: 112px;
  overflow: auto;
  padding: 15px;
}

.luminara-message {
  max-width: min(88%, 680px);
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  overflow-wrap: anywhere;
}

.luminara-message p {
  margin: 0;
  font-size: 0.94rem;
}

.luminara-message--assistant {
  justify-self: start;
  background: color-mix(in srgb, var(--surface) 74%, #e8f1ef 26%);
}

.luminara-message--user {
  justify-self: end;
  color: #ffffff;
  background: var(--brand);
  border-color: var(--brand);
}

.luminara-message--user a {
  color: #ffffff;
}

.luminara-message--pending {
  color: var(--muted);
}

.luminara-message--error {
  color: #6d2d13;
  background: #fff0e9;
  border-color: #e9b398;
}

.luminara-message--error button {
  margin-top: 8px;
  padding: 0;
  color: var(--brand-strong);
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 750;
  text-decoration: underline;
  cursor: pointer;
}

.luminara-sources {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid color-mix(in srgb, var(--line) 80%, transparent 20%);
}

.luminara-sources summary {
  color: var(--brand-strong);
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

.luminara-sources ul {
  display: grid;
  gap: 8px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.luminara-sources li {
  display: grid;
  gap: 2px;
}

.luminara-sources a {
  font-size: 0.86rem;
  font-weight: 800;
}

.luminara-sources span {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.35;
}

.luminara-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 12px 15px;
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 88%, #ffffff 12%);
}

.luminara-consent {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.luminara-consent input {
  flex: 0 0 auto;
  margin: 3px 0 0;
}

.luminara-consent a {
  font-weight: 700;
}

.luminara-form textarea {
  width: 100%;
  min-height: 42px;
  resize: vertical;
  padding: 9px 10px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  line-height: 1.35;
}

.luminara-form textarea:focus {
  border-color: var(--brand);
  outline: 3px solid color-mix(in srgb, var(--brand) 20%, transparent 80%);
}

.luminara-send {
  align-self: end;
  padding: 10px 14px;
  color: #ffffff;
  background: var(--brand);
  border: 1px solid var(--brand);
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.luminara-send:hover,
.luminara-send:focus-visible {
  background: var(--brand-strong);
  border-color: var(--brand-strong);
}

.luminara-send:disabled {
  cursor: wait;
  opacity: 0.65;
}

.luminara-status {
  min-height: 1.25em;
  margin: 0;
  padding: 0 15px 10px;
  color: var(--accent);
  font-size: 0.85rem;
}

/* Public Luminara panel: deliberately shared with LigaWerk's public assistant. */
.assistant-prototype-dock {
  --assistant-prototype-header-bottom: 68px;
  --assistant-prototype-panel-bg: color-mix(in srgb, var(--bg) 78%, #d5ece7 22%);
  --assistant-prototype-panel-line: color-mix(in srgb, var(--brand) 28%, var(--line) 72%);
  --assistant-prototype-user-bg: color-mix(in srgb, var(--brand) 13%, var(--surface) 87%);
  --assistant-prototype-user-border: color-mix(in srgb, var(--brand) 38%, var(--line) 62%);
  --assistant-prototype-user-text: var(--brand-strong);
  position: relative;
  z-index: 4;
}

.assistant-prototype-dock__handle-slot {
  min-height: 32px;
}

.assistant-prototype-dock__handle {
  box-sizing: border-box;
  position: relative;
  display: flex;
  justify-content: flex-end;
  min-height: 32px;
  width: 100%;
  margin: 0;
  padding-inline: max(4%, calc((100% - 1040px) / 2));
  background: transparent;
  border-top: 1px solid var(--brand);
}

.assistant-prototype-dock.is-dock-pinned .assistant-prototype-dock__handle {
  position: fixed;
  top: var(--assistant-prototype-header-bottom);
  right: 0;
  left: 0;
  z-index: 9;
}

.site-header.is-menu-open + .assistant-prototype-dock .assistant-prototype-dock__handle {
  visibility: hidden;
  pointer-events: none;
}

.assistant-prototype-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 136px;
  height: 30px;
  margin-top: -1px;
  padding: 0 14px;
  color: var(--brand-strong);
  background: color-mix(in srgb, var(--surface) 78%, #d5ece7 22%);
  border: 1px solid var(--brand);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 8px 18px rgba(24, 32, 34, 0.1);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.assistant-prototype-toggle::after {
  position: absolute;
  inset: -4px;
  border: 1px solid color-mix(in srgb, var(--brand) 50%, transparent 50%);
  border-radius: 0 0 10px 10px;
  content: "";
  opacity: 0;
  transform: scale(0.86);
}

.assistant-prototype-toggle:hover,
.assistant-prototype-toggle:focus-visible {
  color: #ffffff;
  background: var(--brand);
  border-color: var(--brand);
}

.assistant-prototype-toggle:focus-visible,
.assistant-prototype-panel__restart:focus-visible,
.assistant-prototype-retry:focus-visible,
.assistant-prototype-composer__submit:focus-visible,
.assistant-prototype-composer__input:focus-visible,
.assistant-prototype-consent input:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.assistant-prototype-toggle.is-waving::after {
  animation: assistant-prototype-pulse 720ms ease-out 1;
}

.assistant-prototype-panel[hidden],
.assistant-prototype-panel__restart[hidden] {
  display: none;
}

.assistant-prototype-panel {
  max-height: 860px;
  overflow: hidden;
  color: var(--ink);
  background:
    radial-gradient(760px 240px at 92% 0%, rgba(213, 236, 231, 0.78), transparent 68%),
    var(--assistant-prototype-panel-bg);
  opacity: 1;
  transform: translateY(0);
  transition: max-height 260ms ease, opacity 180ms ease, transform 220ms ease;
}

.assistant-prototype-panel.is-collapsed {
  max-height: 0;
  opacity: 0;
  transform: translateY(-14px);
}

.assistant-prototype-panel__inner {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  align-items: stretch;
  gap: 24px;
  width: min(1040px, calc(100% - 8%));
  margin: 0 auto;
  padding: 24px 0 26px;
}

.assistant-prototype-persona {
  display: grid;
  align-content: start;
  align-self: stretch;
  grid-template-rows: auto minmax(0, auto);
  gap: 12px;
  min-width: 0;
}

.assistant-prototype-persona__image {
  display: block;
  width: 100%;
  max-width: 260px;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.assistant-prototype-persona__copy {
  display: grid;
  gap: 4px;
  margin: 0;
}

.assistant-prototype-persona__name {
  display: block;
  margin: 0;
  color: var(--brand-strong);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.assistant-prototype-persona__note {
  display: block;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.assistant-prototype-panel__restart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 38px;
  gap: 8px;
  padding: 0 12px;
  color: var(--brand-strong);
  background: color-mix(in srgb, var(--surface) 80%, #d5ece7 20%);
  border: 1px solid var(--brand);
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}

.assistant-prototype-panel__restart:hover,
.assistant-prototype-panel__restart:focus-visible {
  color: var(--brand-strong);
  background: color-mix(in srgb, var(--surface) 68%, #d5ece7 32%);
  border-color: var(--brand-strong);
}

.assistant-prototype-chat-shell {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-width: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(24, 32, 34, 0.1);
}

.assistant-prototype-chat {
  display: grid;
  align-content: start;
  grid-auto-rows: max-content;
  gap: 10px;
  max-height: 280px;
  overflow: auto;
  padding: 16px;
}

.assistant-prototype-message {
  max-width: 88%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.assistant-prototype-message p {
  margin: 0;
  color: inherit;
  font-size: 14px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.assistant-prototype-message a,
.assistant-prototype-source-card a,
.assistant-prototype-related a {
  color: var(--brand-strong);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.assistant-prototype-message--assistant {
  justify-self: start;
  color: var(--ink);
  background: color-mix(in srgb, var(--surface) 86%, #d5ece7 14%);
}

.assistant-prototype-message--user {
  justify-self: end;
  color: var(--assistant-prototype-user-text);
  background: var(--assistant-prototype-user-bg);
  border-color: var(--assistant-prototype-user-border);
}

.assistant-prototype-message--pending {
  color: var(--muted);
}

.assistant-prototype-message--streaming {
  color: var(--ink);
}

.assistant-prototype-message--error {
  color: var(--ink);
  background: #fff0e9;
  border-color: #e9b398;
}

.assistant-prototype-message--error p + p {
  margin-top: 6px;
}

.assistant-prototype-message--privacy {
  max-width: 100%;
  background: color-mix(in srgb, var(--surface) 76%, #d5ece7 24%);
  border-color: var(--assistant-prototype-panel-line);
}

.assistant-prototype-message--privacy p + p {
  margin-top: 8px;
}

.assistant-prototype-message--privacy-accepted {
  color: var(--brand-strong);
  background: color-mix(in srgb, var(--surface) 80%, #d5ece7 20%);
}

.assistant-prototype-typing {
  display: inline-flex;
  align-items: center;
  min-height: 1em;
  gap: 2px;
}

.assistant-prototype-typing__dot {
  display: inline-block;
  line-height: 1;
  opacity: 0.38;
  transform: translateY(0);
  animation: assistant-prototype-typing 900ms ease-in-out infinite;
}

.assistant-prototype-typing__dot:nth-child(2) { animation-delay: 120ms; }
.assistant-prototype-typing__dot:nth-child(3) { animation-delay: 240ms; }

.assistant-prototype-retry {
  display: inline-flex;
  margin-top: 8px;
  padding: 0;
  color: var(--brand-strong);
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.assistant-prototype-related {
  display: grid;
  gap: 6px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.assistant-prototype-related__label {
  color: var(--muted);
  font-size: 12px !important;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.assistant-prototype-related__list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.assistant-prototype-related__list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 8px;
  background: color-mix(in srgb, var(--surface) 72%, #d5ece7 28%);
  border: 1px solid var(--assistant-prototype-panel-line);
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.35;
  text-decoration: none;
}

.assistant-prototype-related__list a::after {
  flex: 0 0 auto;
  content: "→";
}

.assistant-prototype-related__list a:hover,
.assistant-prototype-related__list a:focus-visible {
  color: #ffffff;
  background: var(--brand);
  border-color: var(--brand);
}

.assistant-prototype-sources {
  display: block;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.assistant-prototype-sources summary {
  color: var(--brand-strong);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.assistant-prototype-source-list {
  display: grid;
  gap: 8px;
  margin: 9px 0 0;
  padding: 0;
  list-style: none;
}

.assistant-prototype-source-card {
  display: grid;
  gap: 4px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.assistant-prototype-source-card strong,
.assistant-prototype-source-card span {
  display: block;
  font-size: 13px;
  line-height: 1.35;
}

.assistant-prototype-source-card span { color: var(--muted); }

.assistant-prototype-composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 10px;
  padding: 14px 16px 16px;
  border-top: 1px solid var(--line);
}

.assistant-prototype-composer__field {
  display: grid;
  grid-template-rows: auto 42px;
  gap: 6px;
  min-width: 0;
}

.assistant-prototype-composer__label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.assistant-prototype-composer__input {
  min-width: 0;
  min-height: 42px;
  height: 42px;
  padding: 0 10px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
}

.assistant-prototype-composer__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: end;
  width: 42px;
  min-height: 42px;
  height: 42px;
  padding: 0;
  color: #ffffff;
  background: var(--brand);
  border: 1px solid var(--brand);
  border-radius: 50%;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  white-space: nowrap;
}

.assistant-prototype-composer__submit:disabled {
  color: var(--muted);
  background: color-mix(in srgb, var(--surface) 64%, var(--line) 36%);
  border-color: var(--line);
  cursor: not-allowed;
  opacity: 0.7;
}

.assistant-prototype-composer__submit:hover,
.assistant-prototype-composer__submit:focus-visible {
  background: var(--brand-strong);
  border-color: var(--brand-strong);
}

.assistant-prototype-composer__submit:disabled:hover {
  color: var(--muted);
  background: color-mix(in srgb, var(--surface) 64%, var(--line) 36%);
  border-color: var(--line);
}

.assistant-prototype-composer__submit-icon {
  display: block;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.35;
}

.assistant-prototype-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.assistant-prototype-consent input {
  flex: 0 0 auto;
  margin: 3px 0 0;
}

.assistant-prototype-consent a { font-weight: 700; }

@keyframes assistant-prototype-pulse {
  0% { opacity: 0; transform: scale(0.86); }
  35% { opacity: 1; }
  100% { opacity: 0; transform: scale(1.18); }
}

@keyframes assistant-prototype-typing {
  0%, 80%, 100% { opacity: 0.38; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-2px); }
}

@media (max-width: 1080px) {
  .site-header.is-collapsible .nav {
    position: relative;
  }

  .site-header.is-collapsible .nav-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .site-header.is-collapsible .nav-right {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: grid;
    align-items: stretch;
    justify-content: stretch;
    gap: 14px;
    padding: 14px;
    background: color-mix(in srgb, var(--surface) 94%, #ffffff 6%);
    border: 1px solid color-mix(in srgb, var(--line) 82%, #ffffff 18%);
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(24, 32, 34, 0.16);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    visibility: hidden;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  }

  .site-header.is-menu-open .nav-right {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .site-header.is-collapsible .nav nav {
    display: grid;
    gap: 4px;
    font-size: 1rem;
  }

  .site-header.is-collapsible .nav nav a {
    border-radius: 8px;
    padding: 10px 12px 10px 14px;
  }

  .site-header.is-collapsible .nav nav a::after {
    top: 10px;
    right: auto;
    bottom: 10px;
    left: 0;
    width: 3px;
    height: auto;
    transform: scaleY(0.45);
  }

  .site-header.is-collapsible .nav nav a:hover,
  .site-header.is-collapsible .nav nav a:focus-visible,
  .site-header.is-collapsible .nav nav a[aria-current="page"],
  .site-header.is-collapsible .nav nav a[aria-current="location"] {
    background: color-mix(in srgb, var(--brand) 8%, transparent 92%);
  }

  .site-header.is-collapsible .nav nav a:hover::after,
  .site-header.is-collapsible .nav nav a:focus-visible::after,
  .site-header.is-collapsible .nav nav a[aria-current="page"]::after,
  .site-header.is-collapsible .nav nav a[aria-current="location"]::after {
    transform: scaleY(1);
  }

  .site-header.is-collapsible .lang-switch {
    justify-content: flex-start;
    border-top: 1px solid var(--line);
    padding-top: 12px;
  }
}

@media (max-width: 820px) {
  .luminara-panel-inner {
    grid-template-columns: 1fr;
  }

  .luminara-intro {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
  }

  .luminara-avatar {
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
  }
}

@media (max-width: 680px) {
  .hero {
    padding-top: 56px;
  }

  .hero-identity {
    margin-bottom: 12px;
  }

  .profile-photo {
    width: 50px;
    height: 50px;
  }

  .profile-name {
    font-size: 1rem;
  }

  .nav {
    min-height: 60px;
  }

  .nav nav {
    gap: 12px;
    font-size: 0.94rem;
  }

  .nav-right {
    gap: 10px;
  }

  .lang-switch {
    gap: 4px;
  }

  .lang-switch a {
    font-size: 0.8rem;
    padding: 4px 7px;
  }

  .logo-image {
    width: 176px;
  }

  .split-grid {
    grid-template-columns: 1fr;
  }

  .topic-list-item {
    grid-template-columns: 1fr;
  }

  .topic-list-number {
    width: 42px;
    height: 42px;
  }

  .topic-list-link {
    justify-self: start;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
  }

  .article-pager {
    grid-template-columns: 1fr;
  }

  .article-pager a:last-child {
    text-align: left;
  }

  .panel,
  .cta-panel,
  .hero-note,
  .quote-band {
    padding: 18px;
  }

  .back-to-top {
    width: 42px;
    height: 42px;
  }

  .luminara-form {
    grid-template-columns: 1fr;
  }

  .luminara-send {
    justify-self: end;
  }

  .luminara-message {
    max-width: 95%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .luminara-toggle,
  .luminara-restart,
  .luminara-send {
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-toggle-icon,
  .nav-toggle-icon::before,
  .nav-toggle-icon::after,
  .site-header.is-collapsible .nav-right {
    transition: none;
  }
}

@media (max-width: 760px) {
  .assistant-prototype-panel__inner {
    grid-template-columns: 116px minmax(0, 1fr);
    gap: 12px;
    padding: 16px 0 18px;
  }

  .assistant-prototype-persona {
    grid-column: 1 / -1;
    grid-template-columns: 116px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: start;
  }

  .assistant-prototype-persona__image { grid-row: 1 / span 2; max-width: 116px; }
  .assistant-prototype-persona__copy,
  .assistant-prototype-panel__restart { grid-column: 2; }
  .assistant-prototype-chat-shell { grid-column: 1 / -1; }
  .assistant-prototype-chat,
  .assistant-prototype-composer { padding-right: 14px; padding-left: 14px; }
  .assistant-prototype-chat { max-height: 220px; }
  .assistant-prototype-persona__name,
  .assistant-prototype-persona__note { font-size: 12px; line-height: 1.25; }
}

@media (max-width: 480px) {
  .assistant-prototype-composer { grid-template-columns: 1fr; }
  .assistant-prototype-composer__submit { justify-self: end; }
}

@media (prefers-reduced-motion: reduce) {
  .assistant-prototype-toggle,
  .assistant-prototype-toggle::after,
  .assistant-prototype-panel,
  .assistant-prototype-panel__restart,
  .assistant-prototype-retry,
  .assistant-prototype-typing__dot,
  .assistant-prototype-composer__submit {
    animation: none !important;
    transition: none !important;
  }
}

/* Direct-link CV: shared site chrome on screen, a clean A4 document in print. */
.vita-page {
  padding: clamp(36px, 6vw, 72px) 0;
}

.vita-page > .vita-document {
  width: min(980px, 92%);
  margin: 0 auto;
}

.vita-document {
  padding: clamp(24px, 4vw, 46px);
  background: color-mix(in srgb, var(--surface) 92%, #ffffff 8%);
  border: 1px solid color-mix(in srgb, var(--line) 78%, #ffffff 22%);
  border-radius: 20px;
  box-shadow: 0 20px 52px rgba(24, 32, 34, 0.1);
}

.vita-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.vita-toolbar__note,
.vita-kicker,
.vita-entry__period {
  margin: 0;
  color: var(--brand-strong);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
}

.vita-print-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 9px 13px;
  color: var(--brand-strong);
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--brand) 46%, var(--line) 54%);
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 750;
}

.vita-print-action:hover,
.vita-print-action:focus-visible {
  color: #ffffff;
  background: var(--brand);
  border-color: var(--brand);
}

.vita-print-action:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--brand) 30%, transparent 70%);
  outline-offset: 3px;
}

.vita-print-action svg {
  width: 18px;
  height: 18px;
}

.vita-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(182px, 0.48fr);
  align-items: center;
  gap: 20px;
  margin-bottom: 36px;
}

.vita-photo {
  width: 106px;
  height: 106px;
  border: 2px solid color-mix(in srgb, var(--line) 72%, #ffffff 28%);
  border-radius: 50%;
  object-fit: cover;
  background: #ffffff;
}

.vita-header h1 {
  margin: 4px 0 8px;
  font-size: clamp(2.05rem, 5vw, 3.25rem);
}

.vita-headline {
  max-width: 41ch;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.42;
}

.vita-contact {
  display: grid;
  gap: 4px;
  margin: 0;
  padding-left: 20px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
  font-style: normal;
  line-height: 1.38;
}

.vita-contact a {
  color: var(--ink);
  font-weight: 650;
  overflow-wrap: anywhere;
}

.vita-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(238px, 0.76fr);
  gap: clamp(28px, 5vw, 56px);
}

.vita-layout__main,
.vita-layout__side {
  display: grid;
  align-content: start;
  gap: 30px;
}

.vita-section {
  min-width: 0;
}

.vita-section h2 {
  margin-bottom: 12px;
  color: var(--brand-strong);
  font-size: 1.38rem;
}

.vita-section p {
  margin: 0 0 10px;
  color: var(--muted);
}

.vita-section p:last-child {
  margin-bottom: 0;
}

.vita-timeline,
.vita-list,
.vita-profile-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.vita-timeline {
  display: grid;
  gap: 22px;
}

.vita-entry {
  display: grid;
  grid-template-columns: minmax(98px, 0.32fr) minmax(0, 1fr);
  gap: 16px;
  padding-top: 3px;
}

.vita-entry__period {
  padding-top: 3px;
  line-height: 1.35;
}

.vita-entry h3,
.vita-specialism h3 {
  margin: 0 0 7px;
  color: var(--ink);
  font-size: 1.02rem;
}

.vita-entry__organization {
  margin: -2px 0 8px !important;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
}

.vita-list {
  display: grid;
  gap: 7px;
  color: var(--muted);
}

.vita-list li {
  position: relative;
  padding-left: 15px;
}

.vita-list li::before {
  position: absolute;
  top: 0.67em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.vita-specialism {
  padding: 14px 0;
  border-top: 1px solid color-mix(in srgb, var(--line) 80%, transparent 20%);
}

.vita-specialism:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.vita-compact-timeline {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vita-compact-timeline li {
  display: grid;
  grid-template-columns: minmax(82px, 0.36fr) minmax(0, 1fr);
  gap: 12px;
}

.vita-compact-timeline h3 {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 0.98rem;
}

.vita-inline-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 14px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.vita-inline-list li::before {
  margin-right: 7px;
  color: var(--accent);
  content: "•";
}

.vita-inline-list li:first-child::before {
  display: none;
}

.vita-section--languages {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.vita-project-list {
  display: grid;
  gap: 18px;
}

.vita-project {
  padding: 16px 0 0;
  border-top: 1px solid color-mix(in srgb, var(--line) 80%, transparent 20%);
}

.vita-project:first-child {
  padding-top: 0;
  border-top: 0;
}

.vita-project h3 {
  margin: 0 0 7px;
  color: var(--ink);
  font-size: 1.06rem;
}

.vita-project__links {
  margin-top: 9px !important;
}

.vita-project__links a {
  overflow-wrap: anywhere;
  font-size: 0.88rem;
  font-weight: 700;
}

.vita-section--project-references {
  margin-top: clamp(30px, 5vw, 52px);
  padding-top: clamp(26px, 4vw, 38px);
  border-top: 1px solid var(--line);
}

.vita-domain-list {
  columns: 2 16rem;
  column-gap: clamp(22px, 5vw, 56px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.vita-domain-list li {
  break-inside: avoid;
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.vita-domain-list__featured {
  color: var(--brand-strong);
  font-size: 1.12em;
  font-weight: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

.vita-section--methods {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.vita-section--profiles {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.vita-profile-links {
  display: grid;
  gap: 8px;
}

.vita-profile-links a {
  font-size: 0.9rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.vita-profile-links a span {
  color: var(--muted);
  font-weight: 650;
}

@media (max-width: 720px) {
  .vita-header {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .vita-contact {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 16px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .vita-layout {
    grid-template-columns: 1fr;
  }

  .vita-layout__main,
  .vita-layout__side {
    gap: 26px;
  }
}

@media (max-width: 460px) {
  .vita-page > .vita-document {
    width: min(100% - 24px, 980px);
  }

  .vita-document {
    padding: 20px;
    border-radius: 14px;
  }

  .vita-toolbar {
    margin-bottom: 22px;
  }

  .vita-photo {
    width: 74px;
    height: 74px;
  }

  .vita-contact {
    grid-template-columns: 1fr;
  }

  .vita-entry {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .vita-compact-timeline li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@page {
  size: A4;
  margin: 13mm 13mm 15mm;
}

@media print {
  html,
  body {
    background: #ffffff;
  }

  body {
    color: #182022;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 9.4pt;
    line-height: 1.36;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .site-header,
  .assistant-prototype-dock,
  .site-footer,
  .back-to-top,
  .breadcrumb-bar,
  .vita-print-action {
    display: none !important;
  }

  main.vita-page {
    padding: 0;
  }

  .vita-page > .vita-document {
    width: auto;
    margin: 0;
  }

  .vita-document {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .vita-toolbar {
    display: block;
    margin-bottom: 13pt;
    padding-bottom: 8pt;
  }

  .vita-toolbar__note,
  .vita-kicker,
  .vita-entry__period {
    color: #0a4f4a;
    font-size: 8pt;
  }

  .vita-header {
    grid-template-columns: auto minmax(0, 1fr) minmax(150px, 0.47fr);
    gap: 13pt;
    margin-bottom: 18pt;
  }

  .vita-photo {
    width: 58pt;
    height: 58pt;
  }

  .vita-header h1 {
    margin: 3pt 0 5pt;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25pt;
  }

  .vita-headline {
    font-size: 9.6pt;
  }

  .vita-contact {
    gap: 2pt;
    padding-left: 12pt;
    font-size: 8.3pt;
  }

  .vita-contact a {
    color: inherit;
    text-decoration: none;
  }

  .vita-layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(185px, 0.75fr);
    gap: 25pt;
  }

  .vita-layout__main,
  .vita-layout__side {
    gap: 16pt;
  }

  .vita-section,
  .vita-entry,
  .vita-specialism,
  .vita-project,
  .vita-compact-timeline li {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .vita-section h2 {
    margin-bottom: 6pt;
    color: #0a4f4a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 13.5pt;
  }

  .vita-section p {
    margin-bottom: 6pt;
  }

  .vita-timeline {
    gap: 12pt;
  }

  .vita-entry {
    grid-template-columns: 77pt minmax(0, 1fr);
    gap: 10pt;
  }

  .vita-entry h3,
  .vita-specialism h3,
  .vita-project h3,
  .vita-compact-timeline h3 {
    margin-bottom: 4pt;
    font-size: 9.5pt;
  }

  .vita-list {
    gap: 3pt;
  }

  .vita-list li {
    padding-left: 10pt;
  }

  .vita-list li::before {
    width: 3pt;
    height: 3pt;
  }

  .vita-specialism {
    padding: 8pt 0;
  }

  .vita-entry__organization {
    margin-bottom: 4pt !important;
    font-size: 8.5pt;
  }

  .vita-compact-timeline {
    gap: 8pt;
  }

  .vita-compact-timeline li {
    grid-template-columns: 66pt minmax(0, 1fr);
    gap: 8pt;
  }

  .vita-section--languages {
    padding-top: 10pt;
  }

  .vita-inline-list {
    gap: 4pt 8pt;
  }

  .vita-project-list {
    gap: 10pt;
  }

  .vita-project {
    padding-top: 8pt;
  }

  .vita-project__links a,
  .vita-profile-links a {
    color: inherit;
    text-decoration: none;
    font-size: 7.8pt;
  }

  .vita-section--project-references {
    break-inside: auto;
    page-break-inside: auto;
    margin-top: 16pt;
    padding-top: 12pt;
  }

  .vita-section--project-references h2 {
    break-after: avoid;
    page-break-after: avoid;
  }

  .vita-domain-list {
    columns: 2 180pt;
    column-gap: 18pt;
  }

  .vita-domain-list li {
    margin-bottom: 3pt;
    font-size: 8pt;
    line-height: 1.35;
  }

  .vita-domain-list__featured {
    color: inherit;
    font-size: 1.08em;
    text-decoration: none;
  }

  .vita-section--methods,
  .vita-section--profiles {
    padding-top: 12pt;
  }

}
