/* Startsev site: design direction C, Институциональный (Prata + Onest) */
@font-face {
  font-family: "Prata";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/prata-cyrillic-400-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Prata";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/prata-latin-400-normal.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: "Onest";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("fonts/onest-cyrillic-300-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("fonts/onest-latin-300-normal.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: "Onest";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/onest-cyrillic-400-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/onest-latin-400-normal.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: "Onest";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/onest-cyrillic-500-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/onest-latin-500-normal.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: "Onest";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/onest-cyrillic-600-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/onest-latin-600-normal.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: "Literata";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/literata-cyrillic-400-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Literata";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/literata-latin-400-normal.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: "Literata";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/literata-cyrillic-400-italic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Literata";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/literata-latin-400-italic.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;
}

:root {
  --brand: #7C007A;
  --signature: #7C007A;
  --signature-dark: #5E005C;
  --plum: #2A0C2D;
  --purple-deep: #2A0C2D;
  --leaf: #3B6A1F;
  --leaf-light: #A9CF72;
  --leaf-wash: #EEF3E4;
  --on-plum: #DDE3D9;
  --grey: #DDE3D9;
  --line: #DDE3D9;
  --ink: #1E2124;
  --muted: #575B5E;
  --paper: #FFFFFF;
  --display: "Prata", "PT Serif", Georgia, "Times New Roman", serif;
  --sans: "Onest", "PT Sans", "Segoe UI", Arial, sans-serif;
  --reading: "Literata", "PT Serif", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
p { margin: 0 0 1rem; hyphens: manual; text-wrap: pretty; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; text-wrap: balance; }
a { color: var(--brand); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 2px; }
.site-head :focus-visible, .hero :focus-visible { outline-color: var(--leaf-light); }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; z-index: 10; background: #fff; padding: .5rem .75rem; }
.orn { display: none; }

.wrap { width: 100%; max-width: 76rem; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2.5rem); }

/* header on plum, with a magenta signature edge */
.site-head { background: var(--plum); border-top: 4px solid var(--brand); }
.site-head__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; min-height: 4rem; }
.brandmark { font: 400 1.25rem/1 var(--display); color: #7C007A; text-decoration: none; }
.site-nav { display: flex; gap: 1.75rem; }
.site-nav a { color: var(--on-plum); text-decoration: none; font-size: .9375rem; padding: .35rem 0; border-bottom: 2px solid transparent; }
.site-nav a:hover { color: #fff; }
.site-nav a[aria-current="page"] { color: var(--leaf-light); border-bottom-color: var(--leaf-light); }
.site-head__menus { display: flex; align-items: center; gap: 1.5rem 2.25rem; flex-wrap: wrap; }
.lang-switch { display: flex; gap: .9rem; padding-left: 1.5rem; border-left: 1px solid rgba(255, 255, 255, .18); }
.lang-switch a { color: var(--on-plum); text-decoration: none; font-size: .8125rem; font-weight: 600; letter-spacing: .04em; padding: .35rem 0; border-bottom: 2px solid transparent; }
.lang-switch a:hover { color: #fff; }
.lang-switch a[aria-current] { color: var(--leaf-light); border-bottom-color: var(--leaf-light); }

/* hero: full name in one display face, one colour; surname leads by size only */
.hero { background: var(--plum); color: #fff; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 16rem; gap: clamp(2rem, 5vw, 4rem); padding-top: clamp(3rem, 7vw, 6rem); padding-bottom: clamp(3.5rem, 7vw, 6rem); align-items: end; }
.name { font-family: var(--display); line-height: .95; }
.name__surname { display: block; font-size: clamp(2.75rem, 6.5vw, 4.5rem); color: #fff; }
.name__given { display: block; margin-top: .6rem; font-size: clamp(1.5rem, 3.2vw, 2.25rem); color: #fff; }
.hero__doc { margin: 1.75rem 0 1rem; font-weight: 500; color: var(--leaf-light); }
.hero__titles { color: var(--on-plum); max-width: 44rem; }
.hero__lead { font-size: 1.1875rem; line-height: 1.6; color: #fff; max-width: 44rem; margin-top: 1.25rem; }
.hero--small .wrap { padding-top: clamp(2.5rem, 6vw, 4rem); padding-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.page-title { font: 400 clamp(2.75rem, 6.5vw, 4.5rem)/1 var(--display); color: #fff; margin-bottom: 1.5rem; }
.stamp { font-size: .875rem; color: var(--on-plum); margin: 0; }

/* placeholders */
.ph__frame {
  display: grid; place-items: center; aspect-ratio: 16 / 9; width: 100%;
  background: repeating-linear-gradient(0deg, transparent 0 12px, var(--ph-stripe) 12px 13px), var(--leaf-wash);
  color: var(--leaf); font-size: .875rem;
}
.portrait { margin: 0; }
.portrait img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.portrait .ph__frame { aspect-ratio: 4 / 5; background: rgba(255, 255, 255, .04); border: 1px solid var(--portrait-line); color: var(--leaf-light); }
.ph { margin: 1.75rem 0 2.25rem; max-width: 34rem; }
.ph figcaption { margin-top: .6rem; font-size: .875rem; color: var(--muted); }
.ph--photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.credit { display: block; margin-top: .15rem; font-size: .75rem; }

/* facts ledger + contents row */
.layout { padding-bottom: 4rem; }
.rail { display: flex; flex-direction: column; }
.facts { order: -1; }
.rail__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.facts dl { margin: clamp(3.5rem, 7vw, 5.5rem) 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2.5rem clamp(1.5rem, 3vw, 3rem); }
.fact dt { font: 400 clamp(1.75rem, 3vw, 2.375rem)/1.1 var(--display); color: var(--brand); white-space: nowrap; }
.fact dd { margin: .75rem 0 0; font-size: .8125rem; line-height: 1.45; color: var(--muted); }
.toc ol { list-style: none; margin: clamp(3.5rem, 7vw, 5rem) 0 clamp(1.5rem, 3vw, 2.5rem); padding: 0; display: flex; flex-wrap: wrap; gap: .9rem 2rem; }
.toc a { color: var(--ink); text-decoration: none; font-size: .9375rem; font-weight: 500; }
.toc a:hover { color: var(--brand); }

/* chapters: heading in the left column, record on the right */
.chapter { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 0 clamp(2rem, 5vw, 4rem); padding: clamp(3.5rem, 6vw, 5rem) 0; border-top: 1px solid var(--line); scroll-margin-top: 1rem; }
.chapter h2 { grid-column: 1; grid-row: 1 / span 20; align-self: start; position: sticky; top: 1.5rem; font: 400 clamp(1.625rem, 2.6vw, 2.125rem)/1.2 var(--display); color: var(--ink); }
.chapter > :not(h2) { grid-column: 2; }
.entry + .entry { margin-top: 1.25rem; }
.when { margin: 0 0 .4rem; font: 600 1.125rem/1.3 var(--sans); font-variant-numeric: tabular-nums; color: var(--leaf); }
.entry--plain .when { display: none; }
.body > p { max-width: 42rem; }

/* awards: two columns of equal weight */
.awards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 2rem; }
.awards li { padding-top: .9rem; border-top: 2px solid var(--brand); }
.award__name { display: block; font-weight: 600; line-height: 1.45; }
.award__detail { display: block; margin-top: .35rem; font-size: .9375rem; color: var(--muted); }

/* site structure / sitemap page: modern balanced card visualization */
.sitemap-hub {
  margin-top: 2rem;
  margin-bottom: 2.75rem;
  padding: 1.75rem 2rem;
  background: var(--leaf-wash);
  border: 1px solid rgba(59, 106, 31, 0.18);
  border-left: 4px solid var(--leaf);
  border-radius: 4px;
}
.sitemap-hub__title {
  font: 600 0.9375rem/1.3 var(--sans);
  color: var(--leaf);
  margin: 0 0 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.sitemap-hub__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.sitemap-hub__card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  padding: 1.1rem 1.25rem;
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.sitemap-hub__card:hover {
  transform: translateY(-2px);
  border-color: var(--brand);
  box-shadow: 0 8px 20px rgba(42, 12, 45, 0.08);
}
.sitemap-hub__card-title {
  font: 600 1.05rem/1.35 var(--sans);
  color: var(--brand);
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sitemap-hub__card-desc {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 0.75rem;
}
.sitemap-hub__action {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand);
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.15s ease;
}
.sitemap-hub__card:hover .sitemap-hub__action {
  color: var(--leaf);
}

/* Sitemap Architecture (Balanced Section Bands) */
.sitemap-flow {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  padding-bottom: 5rem;
}
.sitemap-section {
  border-top: 1px solid var(--line);
  padding-top: 2.25rem;
}
.sitemap-section:first-child {
  border-top: none;
  padding-top: 0;
}
.sitemap-section__head {
  margin-bottom: 1.5rem;
}
.sitemap-section__title {
  font: 400 clamp(1.4rem, 2.4vw, 1.85rem)/1.25 var(--display);
  color: var(--ink);
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.sitemap-section__title::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand);
}

/* Responsive Grids per Section */
.sitemap-grid {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
}
.sitemap-grid--2cols {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.sitemap-grid--3cols {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.sitemap-grid--4cols {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Sitemap Cards */
.sitemap-card {
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.6rem 1.5rem;
  box-sizing: border-box;
}

/* 1. Available Cards (Clickable) */
.sitemap-card--available {
  background: #FFFFFF;
  border: 1px solid rgba(42, 12, 45, 0.14);
  border-top: 4px solid var(--leaf);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(42, 12, 45, 0.03);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.sitemap-card--available:hover {
  transform: translateY(-3px);
  border-color: var(--leaf);
  box-shadow: 0 12px 28px rgba(42, 12, 45, 0.1);
}
.sitemap-card--available .sitemap-card__title {
  color: var(--brand);
}
.sitemap-card--available:hover .sitemap-card__title {
  color: var(--leaf);
}
.sitemap-card__arrow {
  color: var(--leaf);
  font-size: 1.15rem;
  transition: transform 0.18s ease;
}
.sitemap-card--available:hover .sitemap-card__arrow {
  transform: translateX(4px);
}
.sitemap-card--available .sitemap-card__desc {
  color: var(--ink);
}
.sitemap-card__action {
  margin-top: 1.35rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand);
}
.sitemap-card--available:hover .sitemap-card__action {
  color: var(--leaf);
}
.sitemap-card__action-arrow {
  transition: transform 0.18s ease;
}
.sitemap-card--available:hover .sitemap-card__action-arrow {
  transform: translateX(4px);
}

/* 2. Pending Cards (In Preparation / Upcoming) */
.sitemap-card--pending {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-top: 4px solid var(--grey);
  color: inherit;
  cursor: default;
}
.sitemap-card--pending .sitemap-card__title {
  color: var(--ink);
}
.sitemap-card--pending .sitemap-card__desc {
  color: var(--muted);
}

/* Card Spanning for 5th item in 2-column grid */
@media (min-width: 900px) {
  .sitemap-card--span2 {
    grid-column: 1 / -1;
  }
  .sitemap-card--span2 .sitemap-card__subtopics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
  .sitemap-card--span2 .sitemap-subitem + .sitemap-subitem {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
  }
}

/* Card Typography */
.sitemap-card__title {
  font: 600 1.1rem/1.35 var(--sans);
  margin: 0 0 0.65rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}
.sitemap-card__desc {
  font-size: 0.875rem;
  line-height: 1.55;
  margin: 0;
}

/* Subtopics */
.sitemap-card__subtopics {
  margin-top: 1.15rem;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.sitemap-subitem {
  position: relative;
  padding-left: 1.15rem;
}
.sitemap-subitem::before {
  content: "•";
  position: absolute;
  left: 0;
  top: -0.1rem;
  color: var(--leaf);
  font-size: 1.1rem;
}
.sitemap-subitem__title {
  font: 600 0.875rem/1.35 var(--sans);
  color: var(--ink);
  margin: 0 0 0.2rem;
}
.sitemap-subitem__desc {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
}

/* publications and articles page */
.year-nav { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .65rem; margin: 2.5rem 0 3.25rem; padding: 1.15rem 1.35rem; background: #FFFFFF; border: 1px solid var(--line); border-radius: 4px; }
.year-nav__label { font-size: .875rem; font-weight: 600; color: var(--muted); margin-right: .35rem; }
.year-nav a { display: inline-block; padding: .25rem .6rem; font-size: .8125rem; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--leaf); background: var(--leaf-wash); text-decoration: none; border-radius: 2px; transition: background .15s ease, color .15s ease; }
.year-nav a:hover { background: var(--leaf); color: #fff; }
.toc__count { font-size: .8125rem; color: var(--muted); font-weight: 400; margin-left: .2rem; }
.articles-flow { max-width: 52rem; padding-bottom: 5rem; }
.pub-year-group { scroll-margin-top: 2rem; }
.pub-year-group + .pub-year-group { margin-top: 4.5rem; padding-top: 0; border-top: none; }
.pub-year-heading { font: 600 clamp(1.5rem, 2.5vw, 1.875rem)/1.2 var(--sans); font-variant-numeric: tabular-nums; color: var(--leaf); margin: 0 0 1.5rem; }
.entry--year { scroll-margin-top: 1.5rem; }
.entry--year + .entry--year { margin-top: 4rem; padding-top: 0; border-top: none; }
.pub-list { list-style: none; margin: 0; padding: 0; }
.pub-list > .pub + .pub { margin-top: 2.25rem; padding-top: 0; border-top: none; }
.pub { max-width: 50rem; }
.pub--monograph { padding: 1.5rem 0; background: transparent; border-left: none; }
.pub--monograph + .pub--monograph { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.pub__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .85rem; margin-bottom: .45rem; font-size: .75rem; line-height: 1.3; }
.pub__badge { display: inline-block; padding: .15rem .5rem; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--leaf); background: var(--leaf-wash); }
.pub--monograph .pub__badge { background: var(--leaf-wash); color: var(--leaf); }
.pub__title { font: 600 1.0625rem/1.45 var(--sans); color: var(--ink); margin: 0 0 .35rem; }
.pub--monograph .pub__title { font: 400 1.375rem/1.3 var(--display); margin-bottom: .45rem; }
.pub--monograph .pub__title a { color: var(--brand); text-decoration: none; }
.pub--monograph .pub__title a:hover { text-decoration: underline; }
.pub__read-btn { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.1rem; padding: .45rem 1.1rem; background: var(--leaf-wash); color: var(--leaf); font-weight: 600; font-size: .875rem; text-decoration: none; border-radius: 2px; border: 1px solid rgba(59, 106, 31, .25); transition: background .15s ease, color .15s ease, border-color .15s ease; }
.pub__read-btn:hover { background: var(--leaf); color: #fff; border-color: var(--leaf); }
.pub__orig { margin: 0 0 .4rem; font-size: .875rem; color: var(--muted); font-style: italic; }
.pub__authors { margin: 0 0 .25rem; font-size: .9375rem; color: var(--ink); }
.pub__authors strong { font-weight: 600; }
.pub__venue { margin: 0; font-size: .9375rem; color: var(--muted); }
.pub__annotation { margin: .85rem 0 0; font-size: .9375rem; line-height: 1.6; color: var(--ink); }
.pub__cite { margin: .85rem 0 0; padding-top: .75rem; border-top: 1px solid rgba(30, 33, 36, .12); font-size: .8125rem; line-height: 1.5; color: var(--muted); }
.pub__cite-label { font-weight: 600; color: var(--ink); margin-right: .35rem; }
/* monograph cover: thumbnail in the list, larger in the page hero */
.pub--cover { display: flow-root; }
.pub__cover { float: left; width: 72px; height: auto; margin: .2rem 1.25rem .5rem 0; filter: drop-shadow(0 .25rem .5rem rgba(30, 33, 36, .25)); }
.pub--cover > :not(.pub__cover) { margin-left: calc(72px + 1.25rem); }
.hero__mono { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: clamp(1.5rem, 4vw, 3rem); align-items: end; }
.hero__cover { display: block; width: 220px; height: auto; filter: drop-shadow(0 .5rem 1rem rgba(0, 0, 0, .35)); }
/* printed table of contents of a monograph */
.book-toc { list-style: none; margin: 0; padding: 0; }
.book-toc li { display: flex; align-items: baseline; gap: 1rem; padding: .3rem 0; border-bottom: 1px solid var(--line, var(--grey)); font-size: .9375rem; line-height: 1.45; }
.book-toc__t { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.book-toc__p { flex: 0 0 auto; font-variant-numeric: tabular-nums; color: var(--muted); }
.book-toc__l1 { font-weight: 600; }
.book-toc .book-toc__l2 { padding-left: 1rem; }
.book-toc .book-toc__l3 { padding-left: 2rem; font-size: .875rem; }
.book-toc .book-toc__l4 { padding-left: 3rem; font-size: .875rem; }
.book-toc .book-toc__l5 { padding-left: 4rem; font-size: .875rem; }
.pub-note { margin-top: 1.5rem; padding: 1rem 1.25rem; background: var(--leaf-wash); border-left: 2px solid var(--leaf); font-size: .875rem; color: var(--muted); max-width: 44rem; }

/* publications hub cards */
.pub-hub-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem; margin: 3rem 0 4.5rem; }
.pub-hub-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--brand); padding: 1.85rem 1.75rem; border-radius: 3px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 4px 16px rgba(42, 12, 45, .04); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; text-decoration: none; color: inherit; }
.pub-hub-card:hover { transform: translateY(-3px); border-top-color: var(--leaf); box-shadow: 0 10px 24px rgba(42, 12, 45, .09); }
.pub-hub-card__badge { display: inline-block; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--leaf); margin-bottom: .75rem; }
.pub-hub-card__title { font: 400 1.35rem/1.25 var(--display); color: var(--ink); margin: 0 0 .85rem; }
.pub-hub-card:hover .pub-hub-card__title { color: var(--brand); }
.pub-hub-card__action { display: inline-flex; align-items: center; font-weight: 600; font-size: .9375rem; color: var(--brand); margin-top: auto; padding-top: 1.15rem; border-top: 1px solid var(--line); text-decoration: none; }
.pub-hub-card__action:hover { color: var(--leaf); text-decoration: underline; }

/* patent section items */
.patent-item { padding: 1.75rem 0; }
.patent-item + .patent-item { border-top: 1px solid var(--line); }
.patent-item__num { font: 600 1.125rem/1.3 var(--sans); color: var(--leaf); margin: 0 0 .4rem; }
.patent-item__title { font: 400 1.3rem/1.35 var(--display); color: var(--ink); margin: 0 0 .5rem; }
.patent-item__authors { font-size: .9375rem; color: var(--ink); margin: 0 0 .35rem; }
.patent-item__imprint { font-size: .875rem; color: var(--muted); margin: 0 0 .75rem; font-style: italic; }
.patent-item__desc { font-size: .9375rem; line-height: 1.6; color: var(--ink); margin: 0; }

/* footer */
.site-foot { background: var(--plum); color: var(--on-plum); }
.site-foot__inner { padding-top: 2.5rem; padding-bottom: 2.75rem; font-size: .9375rem; }
.site-foot__name { font: 400 1.25rem var(--display); color: #fff; margin-bottom: .35rem; }
.site-foot p:last-child { margin: 0; }

/* individual publication detail page */
.hero__back { display: inline-block; margin-bottom: .85rem; color: var(--leaf-light); text-decoration: none; font-size: .875rem; font-weight: 500; }
.hero__back:hover { color: #fff; text-decoration: underline; }
.page-title--article { font-size: clamp(1.85rem, 4vw, 2.85rem); line-height: 1.18; max-width: 52rem; margin-bottom: 1rem; }
.hero__orig-title { font-size: 1rem; color: var(--on-plum); font-style: italic; max-width: 48rem; margin: -.35rem 0 1rem; }
.facts--card dl { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem 2rem; padding: 1.5rem 1.75rem; background: var(--leaf-wash); border-left: 3px solid var(--brand); }
.facts--card .fact dt { font: 600 .75rem/1.3 var(--sans); text-transform: uppercase; letter-spacing: .04em; color: var(--leaf); white-space: normal; }
.facts--card .fact dd { margin: .35rem 0 0; font-size: .9375rem; line-height: 1.45; color: var(--ink); font-weight: 500; }
.label-origin { font-size: .875rem; font-style: italic; color: var(--muted); margin-bottom: .65rem; }
.cite-box { padding: 1.1rem 1.35rem; background: var(--leaf-wash); border-left: 3px solid var(--brand); font-size: .9375rem; line-height: 1.6; max-width: 44rem; }
.page-mark { display: inline-block; padding: .05rem .4rem; margin: 0 .15rem; font-size: .75rem; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--leaf); background: var(--leaf-wash); border-radius: 2px; vertical-align: baseline; }
.article-meta-note { font-size: .9375rem; font-style: italic; color: var(--muted); margin-bottom: 1.25rem; padding-bottom: .85rem; border-bottom: 1px solid var(--line); max-width: 42rem; }
.article-heading-block { margin: 1.25rem 0 1rem; max-width: 42rem; }
.article-list { margin: .5rem 0 1.25rem; padding-left: 1.35rem; max-width: 42rem; }
.article-list li { margin-bottom: .45rem; line-height: 1.6; }
.ph--diagram { max-width: 42rem; margin: 1.75rem 0 2.25rem; padding: 1rem 1.25rem; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--leaf); }
.ph--diagram img { display: block; width: 100%; height: auto; max-height: 36rem; object-fit: contain; background: #fff; }
.ph--diagram figcaption { margin-top: .75rem; font-size: .875rem; color: var(--ink); font-style: italic; }
.diagram-schema { margin-top: .75rem; padding-top: .65rem; border-top: 1px dashed var(--line); font-size: .8125rem; color: var(--muted); }
.diagram-schema summary { cursor: pointer; font-weight: 600; color: var(--leaf); user-select: none; }
.diagram-schema ul { margin: .5rem 0 0; padding-left: 1.2rem; }
.diagram-schema li { margin-bottom: .25rem; color: var(--ink); }
.math-display { margin: 1.25rem 0; padding: .85rem 1.25rem; background: var(--leaf-wash); border-left: 2px solid var(--leaf); font-family: "Cambria Math", "STIX Two Math", Georgia, serif; font-size: 1.0625rem; line-height: 1.6; max-width: 42rem; overflow-x: auto; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.math-display__eq { flex: 1; }
.math-display__num { font-family: var(--sans); font-size: .875rem; color: var(--muted); font-weight: 500; white-space: nowrap; }
.math-inline { font-family: "Cambria Math", "STIX Two Math", Georgia, serif; white-space: nowrap; }
.math-u { text-decoration: underline; text-underline-offset: 2px; }
.math-ov { border-top: 1px solid currentColor; padding-top: 1px; }
.notes-block { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); max-width: 42rem; font-size: .875rem; color: var(--muted); }
.notes-block h3 { font: 600 .9375rem/1.4 var(--sans); color: var(--ink); margin-bottom: .75rem; }
.notes-block p { margin-bottom: .55rem; line-height: 1.55; word-break: break-word; }
.pub__links { margin-top: .55rem; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: .875rem; font-weight: 500; }
.pub__links a { color: var(--brand); text-decoration: none; display: inline-flex; align-items: center; gap: .25rem; }
.pub__links a:hover { text-decoration: underline; }
.pub-note--lead { margin: 0 0 2.25rem; }
.article-text .art-h1 { font: 400 clamp(1.3rem, 2.2vw, 1.6rem)/1.3 var(--display); color: var(--ink); max-width: 42rem; margin: 3rem 0 1.25rem; scroll-margin-top: 1rem; }
.article-text > .art-h1:first-child, .article-text > p + .art-h1:nth-child(2) { margin-top: .5rem; }
.article-text .art-h2 { font: 600 1.125rem/1.4 var(--sans); color: var(--ink); max-width: 42rem; margin: 2.25rem 0 .85rem; }
.article-text .art-h3 { font: 600 1rem/1.4 var(--sans); color: var(--leaf); max-width: 42rem; margin: 1.75rem 0 .65rem; }
.article-list--plain { list-style: none; padding-left: 0; }
.body hr { border: 0; border-top: 1px solid var(--line); margin: 1.5rem 0; max-width: 42rem; }
.article-notes p, .article-notes li { font-size: .875rem; line-height: 1.55; color: var(--muted); word-break: break-word; }
.article-notes p { margin-bottom: .55rem; }
.article-text a, .article-notes a, .cite-box { overflow-wrap: anywhere; }

@media (max-width: 1080px) {
  .sitemap-grid--4cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .pub-hub-grid { grid-template-columns: 1fr; gap: 1.5rem; margin: 2rem 0 3.5rem; }
  .facts dl, .facts--card dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sitemap-grid--3cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sitemap-hub__cards { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .sitemap-grid--2cols,
  .sitemap-grid--3cols,
  .sitemap-grid--4cols { grid-template-columns: 1fr; }
  .sitemap-card--span2 .sitemap-card__subtopics { grid-template-columns: 1fr; }
  .hero__grid { grid-template-columns: 1fr; }
  .portrait { max-width: 12rem; order: -1; }
  .chapter { grid-template-columns: 1fr; }
  .chapter h2 { grid-row: auto; position: static; margin-bottom: 1.25rem; }
  .chapter > :not(h2) { grid-column: 1; }
  .awards { grid-template-columns: 1fr; }
  .pub--monograph { padding: 1.25rem 0; }
  .hero__mono { grid-template-columns: 1fr; }
  .hero__cover { width: 140px; order: -1; }
  .pub--cover > :not(.pub__cover) { margin-left: 0; }
  .book-toc .book-toc__l3, .book-toc .book-toc__l4, .book-toc .book-toc__l5 { padding-left: 1.5rem; }
}



/* brand-guidelines-visual.html implementation rules */
::selection, *::selection { background: var(--signature); color: #fff; }
html, body, p, li, h1, h2, h3, h4, a { hyphens: manual; }

/* Links hover: color change only, no thickness increase, no new underlines (5.0) */
a { color: var(--signature); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--leaf); text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--signature); outline-offset: 3px; border-radius: 2px; }
.site-head :focus-visible, .hero :focus-visible { outline-color: var(--leaf-light); }

/* Hero top section (5.2) */
.hero { background: var(--purple-deep); color: #fff; }
.name__surname { font-size: clamp(2.5rem, 6vw, 4.5rem); color: #fff; }
.name__given { font-size: clamp(1.4rem, 3vw, 2.25rem); color: #fff; }
.hero__titles { color: var(--leaf-light) !important; font-size: .9375rem; line-height: 1.45; max-width: 44rem; margin: 1.5rem 0 1.1rem !important; }
.hero__lead { font-size: 1.1875rem; line-height: 1.6; color: #fff; max-width: 44rem; margin-top: 1.25rem; }
.portrait img { border: none !important; box-shadow: none !important; }

/* Facts / key figures (5.3) */
.fact dt { font: 400 clamp(1.5rem, 2.6vw, 2.375rem)/1.1 var(--display) !important; color: var(--signature) !important; white-space: nowrap; }
.fact dd { margin: .6rem 0 0 !important; font-size: .8125rem !important; line-height: 1.45 !important; color: var(--muted) !important; }

/* Contents row / TOC (5.4) */
.toc a { color: var(--leaf) !important; text-decoration: none !important; font-size: .9375rem !important; font-weight: 500 !important; }
.toc a:hover { color: var(--signature) !important; text-decoration: none !important; }

/* Chapter headings & dates (5.5, 4.2, 9.1) */
.chapter { border-top: 1px solid var(--grey); }
.chapter h2 { font: 400 clamp(1.3rem, 2.6vw, 1.875rem)/1.2 var(--display) !important; color: var(--signature) !important; margin: 0; }
.chapter h2 .orn { display: none !important; }
.chapter h2::before { display: none !important; }
.when { margin: 0 0 .5rem !important; font: 300 1.125rem/1.3 var(--sans) !important; letter-spacing: .03em !important; font-variant-numeric: tabular-nums !important; color: var(--leaf) !important; }
.entry + .entry { margin-top: 2.25rem !important; }

/* Awards (5.6, 9.3) */
.awards li { padding-top: .9rem !important; border-top: 2px solid var(--signature) !important; }
.award__name { display: block !important; font-weight: 600 !important; line-height: 1.45 !important; color: var(--signature) !important; }
.award__detail { display: block !important; margin-top: .35rem !important; font-size: .9375rem !important; color: var(--muted) !important; }

/* Year navigation (5.7) */
.year-nav { display: flex !important; flex-wrap: wrap !important; align-items: center !important; gap: .5rem 1rem !important; margin: 2.5rem 0 3.25rem !important; padding: 0 !important; background: transparent !important; border: none !important; border-radius: 0 !important; }
.year-nav__label { font-size: .875rem !important; font-weight: 600 !important; color: var(--muted) !important; margin-right: 0 !important; }
.year-nav a { display: inline !important; padding: 0 !important; font-size: .9375rem !important; font-weight: 400 !important; font-variant-numeric: tabular-nums !important; letter-spacing: .02em !important; color: var(--leaf) !important; background: transparent !important; text-decoration: none !important; border-radius: 0 !important; }
.year-nav a:hover { background: transparent !important; color: var(--signature) !important; text-decoration: none !important; }

/* Publication list & items (5.8, 3.3, 2.4) */
.pub-year-heading { font: 300 1.125rem/1.3 var(--sans) !important; letter-spacing: .03em !important; font-variant-numeric: tabular-nums !important; color: var(--leaf) !important; margin: 0 0 1rem !important; }
.pub-list > .pub + .pub { margin-top: 1.5rem !important; padding-top: 1.5rem !important; border-top: 1px solid var(--grey) !important; }
.pub__title { font: 600 1.0625rem/1.45 var(--sans) !important; color: var(--ink) !important; margin: 0 0 .35rem !important; }
.pub__title a { color: var(--signature) !important; text-decoration: none !important; }
.pub__title a:hover { color: var(--leaf) !important; text-decoration: none !important; }
.pub__authors { margin: 0 0 .25rem !important; font-size: .9375rem !important; }
.pub__venue { margin: 0 !important; font-size: .9375rem !important; color: var(--muted) !important; }
.pub__orig { margin: 0 0 .4rem !important; font-size: .875rem !important; color: var(--muted) !important; font-style: italic !important; }
.pub__badge { display: none !important; }
.pub__read-btn { display: none !important; }
.portal-card__badge, .pub-hub-card__badge { display: none !important; }

/* Monograph in lists (5.9) */
.pub--monograph { max-width: 50rem !important; padding: 1.5rem 1.75rem !important; background: #fff !important; border: 1px solid var(--grey) !important; border-top: 3px solid var(--signature) !important; display: flow-root !important; }
.pub--monograph .pub__title { font: 400 1.375rem/1.3 var(--display) !important; }
.pub--monograph .pub__title a { color: var(--signature) !important; text-decoration: none !important; }
.pub--monograph .pub__title a:hover { color: var(--leaf) !important; }
.pub__cover { float: left !important; width: 72px !important; height: auto !important; margin: .2rem 1.25rem .5rem 0 !important; filter: drop-shadow(0 .25rem .5rem rgba(30,33,36,.25)) !important; }

/* Card action lines & buttons (4.5, 5.11) */
.s-action, .portal-card__action, .pub-hub-card__action, .sitemap-card__action {
  display: flex !important; justify-content: space-between !important; align-items: baseline !important; gap: 1rem !important;
  margin-top: auto !important; padding-top: 1rem !important; border-top: 1px solid var(--grey) !important;
  font-weight: 600 !important; font-size: .9375rem !important; color: var(--signature) !important; text-decoration: none !important;
}
.s-action:hover, .portal-card__action:hover, .pub-hub-card__action:hover, .sitemap-card__action:hover {
  color: var(--leaf) !important; text-decoration: none !important;
}
.portal-btn, .s-btn {
  display: inline-flex !important; justify-content: space-between !important; align-items: baseline !important; gap: 1.5rem !important;
  padding: .9rem 1.5rem !important; background: var(--signature) !important; color: #fff !important;
  font-weight: 600 !important; font-size: 1rem !important; text-decoration: none !important; border-radius: 3px !important; border: none !important;
}
.portal-btn:hover, .s-btn:hover { background: var(--signature-dark) !important; color: #fff !important; }
.portal-card, .pub-hub-card, .sitemap-card {
  border-radius: 3px !important; box-shadow: 0 4px 16px rgba(42,12,45,.04) !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease !important;
}
.portal-card:hover, .pub-hub-card:hover, .sitemap-card--available:hover {
  transform: translateY(-3px) !important; box-shadow: 0 10px 24px rgba(42,12,45,.09) !important;
}
.portal-card { border: 1px solid var(--grey) !important; border-top: 4px solid var(--signature) !important; }
.pub-hub-card { border: 1px solid var(--grey) !important; border-top: 4px solid var(--signature) !important; }
.pub-hub-card:hover { border-top-color: var(--leaf) !important; }
.portal-card--en { border-top-color: var(--signature) !important; }

/* Sitemap page (9.1, 9.5) */
.sitemap-section__title {
  font: 400 clamp(1.4rem, 2.4vw, 1.85rem)/1.25 var(--display) !important;
  color: var(--signature) !important; margin: 0 !important;
}
.sitemap-section__title::before { display: none !important; }
.sitemap-card--available {
  background: #fff !important; border: 1px solid var(--grey) !important; border-top: 4px solid var(--leaf) !important;
}
.sitemap-card--available .sitemap-card__title { color: var(--signature) !important; }
.sitemap-card--available:hover .sitemap-card__title { color: var(--leaf) !important; }
.sitemap-card--available .sitemap-card__arrow { color: var(--signature) !important; }
.sitemap-card--available:hover .sitemap-card__arrow { color: var(--leaf) !important; }
.sitemap-card--pending {
  background: #fff !important; border: 1px solid var(--grey) !important; border-top: 4px solid var(--grey) !important;
}
.sitemap-card--pending .sitemap-card__desc { color: var(--muted) !important; }

/* Publication detail pages (3.2, 5.12, 5.13, 6.1, 9.6, 9.7) */
.page-title--article { font-size: clamp(1.4rem, 2.5vw, 1.875rem) !important; line-height: 1.2 !important; max-width: 52rem !important; margin-bottom: 1rem !important; }
.facts--card {
  margin-top: clamp(3rem, 6vw, 4.5rem) !important;
  margin-bottom: clamp(2rem, 4vw, 3rem) !important;
}
.facts--card dl, .s-bib {
  display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 1.25rem 1.75rem !important;
  margin: 0 !important; padding: 1.5rem 1.75rem !important; background: var(--leaf-wash) !important;
  border-left: 3px solid var(--signature) !important; border-top: none !important;
}
.facts--card .fact dt, .s-bib dt {
  font: 600 .8125rem/1.3 var(--sans) !important; text-transform: uppercase !important; letter-spacing: .04em !important; color: var(--leaf) !important;
}
.facts--card .fact dd, .s-bib dd {
  margin: .35rem 0 0 !important; font-size: .9375rem !important; line-height: 1.45 !important; font-weight: 500 !important; color: var(--ink) !important;
}
/* Article reading layout: block layout inside .wrap, text spans to match bibliographic card borders */
.layout--article,
.proposal-c:has(.page-title--article) .layout {
  display: block !important;
}
.layout--article .chapters,
.proposal-c:has(.page-title--article) .chapters,
.chapters--article {
  display: block !important;
  width: 100% !important;
}
.layout--article .chapter,
.proposal-c:has(.page-title--article) .chapter,
.chapter--article-body {
  display: block !important;
  grid-template-columns: none !important;
  width: 100% !important;
  border-top: none !important;
  padding-top: 1.5rem !important;
}
.layout--article .chapter--article-body > h2,
.proposal-c:has(.page-title--article) .chapter--article-body > h2 {
  display: none !important;
}
.layout--article .chapter:not(.chapter--article-body) > h2 {
  display: block !important;
  font: 400 clamp(1.4rem, 2.2vw, 1.75rem)/1.3 var(--display) !important;
  color: var(--signature) !important;
  margin: 2.5rem 0 1rem !important;
  position: static !important;
}
.layout--article .chapter > :not(h2),
.proposal-c:has(.page-title--article) .chapter > :not(h2) {
  grid-column: auto !important;
  width: 100% !important;
}
.layout--article .article-text,
.proposal-c:has(.page-title--article) .article-text,
.layout--article .article-notes,
.proposal-c:has(.page-title--article) .article-notes,
.layout--article .cite-box,
.proposal-c:has(.page-title--article) .cite-box,
.layout--article .body,
.layout--article .body > p,
.chapters--article .body > p,
.article-text,
.article-text p {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: left !important;
}
.article-text, .article-text p, .body p { font: 400 1.125rem/1.75 var(--reading) !important; color: var(--ink) !important; }
.article-text .art-h1 { font: 400 clamp(1.3rem, 2.2vw, 1.6rem)/1.3 var(--display) !important; color: var(--signature) !important; margin: 2rem 0 1rem !important; max-width: 100% !important; }
.article-text .art-h2 { font: 400 1.25rem/1.4 var(--display) !important; color: var(--signature) !important; margin: 1.75rem 0 .75rem !important; max-width: 100% !important; }
.article-text .art-h3 { font: 600 1rem/1.4 var(--sans) !important; color: var(--leaf) !important; margin: 1.5rem 0 .5rem !important; max-width: 100% !important; }
.cite-box, .s-cite {
  padding: 1.1rem 1.35rem !important; background: #fff !important; border: 1px solid var(--grey) !important;
  border-left: 3px solid var(--leaf) !important; font: 400 1rem/1.65 var(--reading) !important;
  max-width: 100% !important; width: 100% !important; color: var(--ink) !important;
}
.math-display {
  margin: 1.25rem 0 !important; padding: .6rem 3rem !important; position: relative !important; text-align: center !important;
  background: transparent !important; border: none !important; border-left: none !important;
  font-family: "Cambria Math", "STIX Two Math", Georgia, serif !important; font-size: 1.125rem !important;
  max-width: 100% !important;
}
.math-display__num {
  position: absolute !important; right: 0 !important; top: 50% !important; transform: translateY(-50%) !important;
  font-family: var(--sans) !important; font-size: .875rem !important; color: var(--muted) !important; font-weight: 400 !important;
}
.ph--diagram {
  max-width: 100% !important; margin: 1.75rem 0 2.25rem !important;
  padding: 0 !important; background: transparent !important; border: none !important; border-left: none !important;
}
.ph--diagram img {
  display: block !important; width: 100% !important; height: auto !important; max-height: 36rem !important; object-fit: contain !important;
  background: transparent !important; border: none !important;
}
.ph figcaption, .ph--diagram figcaption {
  margin-top: .6rem !important; font-size: .875rem !important; color: var(--muted) !important; font-style: normal !important;
}
.s-num { color: var(--signature) !important; font-weight: 600 !important; margin-right: .35rem !important; }
.s-fn { font: 600 .7em/0 var(--sans) !important; vertical-align: super !important; margin-left: .1em !important; color: var(--signature) !important; text-decoration: none !important; }
.s-fn:hover { color: var(--leaf) !important; }
.s-back { text-decoration: none !important; margin-left: .3rem !important; color: var(--signature) !important; }
.s-back:hover { color: var(--leaf) !important; }
.notes-block, .article-notes {
  margin-top: 1.75rem !important; padding-top: 1.1rem !important; border-top: 1px solid var(--grey) !important;
  font-size: .875rem !important; color: var(--muted) !important; max-width: 100% !important; width: 100% !important;
}
.notes-block p, .article-notes p { font-family: var(--sans) !important; font-size: .875rem !important; color: var(--muted) !important; max-width: 100% !important; }

/* Tables (10.3, 10.3a) */
.s-table { width: 100% !important; border-collapse: collapse !important; font-size: .9375rem !important; line-height: 1.45 !important; }
.s-table th, .t-final thead th { background: var(--signature) !important; color: #fff !important; border-bottom: 0 !important; padding: .7rem .9rem !important; text-align: left !important; vertical-align: bottom !important; font-weight: 600 !important; }
.s-table th small, .t-final thead th small { display: block !important; font-weight: 400 !important; font-size: .8125rem !important; color: #fff !important; }
.s-table td, .t-final td { padding: .55rem .9rem !important; border-bottom: 1px solid var(--grey) !important; vertical-align: top !important; }
.s-table .num, .t-final .num { text-align: right !important; font-variant-numeric: tabular-nums !important; white-space: nowrap !important; }
.s-table tr.grp td, .t-final tr.grp td { padding-top: 1.1rem !important; font-weight: 600 !important; color: var(--leaf) !important; border-bottom: 1px solid var(--leaf) !important; }
.s-table tr.total td, .t-final tr.total td { font-weight: 600 !important; background: var(--leaf-wash) !important; border-top: 2px solid var(--leaf) !important; border-bottom: 0 !important; }

/* Lists (10.4) */
.s-ul, ul.article-list { margin: .5rem 0 1.25rem; padding: 0; list-style: none; font-size: .9375rem; }
.s-ul li, ul.article-list li { position: relative; padding-left: 1.5rem; margin-bottom: .5rem; }
.s-ul li::before, ul.article-list li::before { content: ""; position: absolute; left: 0; top: .8em; width: .7rem; border-top: 1.5px solid var(--leaf); }
.s-ol, ol.article-list { margin: .5rem 0 1.25rem; padding: 0; list-style: none; font-size: .9375rem; counter-reset: n; }
.s-ol li, ol.article-list li { position: relative; padding-left: 1.5rem; margin-bottom: .5rem; }
.s-ol li::before, ol.article-list li::before { counter-increment: n; content: counter(n) "."; position: absolute; left: 0; color: var(--leaf); font-variant-numeric: tabular-nums; }

/* Title of an activity page: the size of an article title (3.2), without the article reading layout. */
.page-title--inner { font-size: clamp(1.4rem, 2.5vw, 1.875rem) !important; line-height: 1.2 !important; max-width: 52rem !important; margin-bottom: 1rem !important; }
/* Activity pages (section 2, photo archive): table caption and source (10.3), phone blocks (10.3a),
   pull quote (8.1, 8.4, 9.4), photos in the chapter column (6.1, 6.2). Components as in brand-guidelines-visual.html. */
.s-table-wrap { margin: 1.5rem 0 2.25rem; max-width: 100%; }
.s-table caption { caption-side: top; text-align: left; margin-bottom: .75rem; font-size: .9375rem; line-height: 1.45; color: var(--ink); }
.s-source { margin-top: .6rem !important; font-size: .875rem !important; color: var(--muted) !important; }
.chapter .ph--photo { margin: 1.75rem 0 2.25rem; max-width: 34rem; }
.chapter .ph--photo img { display: block; width: 100%; height: auto; }
.s-quote { margin: 2.25rem 0; max-width: 42rem; }
.s-quote blockquote { margin: 0; position: relative; padding-left: 2.25rem; }
.s-quote blockquote::before { content: "\201C"; position: absolute; left: 0; top: -.35rem; font: 400 3rem/1 var(--display); color: var(--signature); }
.s-quote blockquote p { margin: 0; font: 400 clamp(1.1875rem, 2vw, 1.375rem)/1.5 var(--display); color: var(--signature); max-width: none; }
.s-quote figcaption { margin-top: .9rem; padding-left: 2.25rem; font-size: .9375rem; color: var(--muted); }
@media (max-width: 600px) {
  .s-table, .s-table tbody, .s-table tr, .s-table td { display: block !important; width: 100% !important; }
  .s-table caption { display: block; }
  .s-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .s-table tbody { border-top: 2px solid var(--signature); }
  .s-table tr { padding: .9rem 0; border-bottom: 1px solid var(--grey); }
  .s-table td { border: 0 !important; padding: .2rem 0 !important; text-align: left !important; white-space: normal !important; }
  .s-table td:first-child { color: var(--leaf) !important; font-weight: 600 !important; }
  .s-table td:not(:first-child)::before { content: attr(data-label); display: block; font-size: .8125rem; font-weight: 400; color: var(--muted); }
}
/* Activity pages: body text in Onest 1.0625rem (3.1, 3.2); Literata stays for the full texts of publications. */
.layout--activity .body p, .layout--activity .s-source { font-family: var(--sans) !important; }
.layout--activity .body p { font-size: 1.0625rem !important; line-height: 1.65 !important; }
.layout--activity .s-table td:first-child { white-space: nowrap; }
.layout--activity .s-quote blockquote p { font: 400 clamp(1.1875rem, 2vw, 1.375rem)/1.5 var(--display) !important; color: var(--signature) !important; }

/* Navigation bar, section panels, phone menu, breadcrumb, footer, back-to-top and pages in preparation.
   Source of truth for brand-guidelines-visual.html items 5.1, 5.15, 5.17-5.20 and 10.1, with the markup made by nav.py.
   build.py appends this file to style-c.css when it writes assets/site.css. Do not restyle: change it only when the guidelines change.
   Built to the guidelines: palette only (2.1), hover changes colour only (5.0), no tints or badges (2.3, 2.4), no hyphenation (3.7),
   13px floor (3.4), 44px touch targets on phones (7.1), no script except back-to-top (1.4). */

:root {
  --signature: #7C007A;
  --signature-dark: #5E005C;
  --purple-deep: #2A0C2D;
  --grey: #DDE3D9;
  --head-h: 4.25rem;   /* 4px edge + 4rem bar */
}

p, li, h1, h2, h3, h4, a { hyphens: manual; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ------------------------------------------------------------------ navigation bar (5.1) */
.site-head { position: relative; z-index: 50; background: var(--purple-deep); border-top: 4px solid var(--signature); }
.nav2 { display: flex; align-items: center; gap: 2rem; min-height: 4rem; }
.site-head .brandmark { color: var(--signature); margin-right: auto; white-space: nowrap; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }   /* purple on deep purple: the one decided exception (5.1) */

.nav2__check { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nav2__burger { display: none; }

.nav2__list { display: flex; gap: 1.9rem; list-style: none; margin: 0; padding: 0; }
.nav2__trigger {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: .45rem;
  color: var(--grey); font-size: .9375rem; padding: .35rem 0; user-select: none;
}
.nav2__trigger::-webkit-details-marker { display: none; }
.nav2__label { padding-bottom: .1rem; border-bottom: 2px solid transparent; }
.nav2__trigger::after {
  content: ""; width: .42rem; height: .42rem; flex: none;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-.14rem) rotate(45deg); transition: transform .15s ease;
}
.nav2__trigger:hover { color: #fff; }
details[open] > .nav2__trigger { color: #fff; }
details[open] > .nav2__trigger::after { transform: translateY(.1rem) rotate(-135deg); }
/* the section you are in: light green with a line, as the page you are on (5.1) */
.nav2__item.is-current > details > .nav2__trigger,
.nav2__item.is-current > details[open] > .nav2__trigger { color: var(--leaf-light); }
.nav2__item.is-current .nav2__label { border-bottom-color: var(--leaf-light); }

/* direct link in nav bar (e.g. sitemap) */
a.nav2__link { text-decoration: none; }
a.nav2__link::after { display: none !important; }
.nav2__item.is-current > a.nav2__link { color: var(--leaf-light); }
.nav2__item.is-current a.nav2__link .nav2__label { border-bottom-color: var(--leaf-light); }

.site-head .lang-switch { margin-left: 0; }
.site-head .lang-switch a { color: var(--grey); }
.site-head .lang-switch a:hover { color: #fff; }
.site-head .lang-switch a[aria-current] { color: var(--leaf-light); }

/* ------------------------------------------------------------------ section panel */
.panel {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 1;
  background: #fff; color: var(--ink);
  border-bottom: 3px solid var(--leaf);
  box-shadow: 0 18px 32px rgba(42, 12, 45, .12);
  max-height: calc(100vh - var(--head-h) - 1rem); overflow-y: auto;   /* never taller than the screen */
}
.panel .wrap { padding-top: 1.75rem; padding-bottom: 2.25rem; }
.panel :focus-visible { outline-color: var(--signature); }   /* purple ring on white (5.16) */

.panel__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  padding-bottom: 1rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--grey);
}
.panel__title { font: 400 1.5rem/1.25 var(--display); color: var(--signature); margin: 0; }   /* Prata heading on white: purple (9.1) */
.panel__hub { font-size: .9375rem; font-weight: 600; color: var(--signature); text-decoration: none; white-space: nowrap; }
.panel__hub:hover { color: var(--leaf); }

/* variant 1: groups with their pages (the big section) */
.panel__body--groups { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.75rem 1.5rem; }
/* subgrid: every group title takes the height of the tallest in its row, so the page lists start level */
.pgroup { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; }
.pgroup__title {
  display: block; font: 600 .9375rem/1.35 var(--sans); color: var(--signature); text-decoration: none;
  padding-bottom: .65rem; margin-bottom: .55rem; border-bottom: 1px solid var(--grey);
}
.pgroup__title:hover { color: var(--leaf); }
.pgroup ul { list-style: none; margin: 0; padding: 0; }
.pgroup li a { display: block; padding: .24rem 0; font-size: .9375rem; line-height: 1.4; color: var(--signature); text-decoration: none; }
.pgroup li a:hover { color: var(--leaf); }

/* variant 2: flat list with a short description (the small sections) */
.plist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .25rem 2rem; }
.plist a { display: block; padding: .8rem 0; text-decoration: none; color: inherit; }
.plist__t { display: block; font: 600 .9375rem/1.35 var(--sans); color: var(--signature); }
.plist a:hover .plist__t { color: var(--leaf); }
.plist__d {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  margin-top: .3rem; font-size: .875rem; line-height: 1.5; color: var(--muted);
}

/* the page you are on, inside a panel: green with a line, and it stays green (5.0) */
.panel [aria-current="page"], .panel [aria-current="page"]:hover { color: var(--leaf); }
.panel a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .2em; }
.panel .plist a[aria-current="page"] { text-decoration: none; }
.panel .plist a[aria-current="page"] .plist__t { color: var(--leaf); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .2em; }

/* ------------------------------------------------------------------ breadcrumb (10.1) */
.crumbs { margin: 0 0 1.15rem; font-size: .875rem; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem .5rem; }
.crumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--grey); }
.crumbs a { color: var(--leaf-light); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: var(--grey); }

/* ------------------------------------------------------------------ footer (11.2, 5.19) */
.foot2 { background: var(--purple-deep); color: var(--grey); font-size: .9375rem; }
.foot2 :focus-visible { outline-color: var(--leaf-light); }   /* light green ring on deep purple (5.16) */
.foot2__grid {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 4.5fr);
  gap: 2.5rem clamp(1.5rem, 3vw, 2.75rem); padding-top: 3.25rem; padding-bottom: 3rem;
}
/* the section columns share the width equally; with all four sections the second (the long list of directions) is half as wide again */
.foot2__cols { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 2.5rem clamp(1.5rem, 3vw, 2.75rem); }
.foot2__cols--3 { grid-auto-flow: row; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 1fr); }
.foot2__cols--4 { grid-auto-flow: row; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); }
.foot2__name { font: 400 1.25rem/1.25 var(--display); color: #fff; margin: 0 0 .8rem; }
.foot2__titles { line-height: 1.5; margin: 0 0 1.25rem; max-width: 22rem; }
.foot2__sitemap { margin: 0 0 1.25rem; font-size: .9375rem; }
.foot2__sitemap a { color: var(--grey); text-decoration: none; }
.foot2__sitemap a:hover { color: #fff; }
.foot2__lang { display: flex; gap: 1rem; font-size: .9375rem; font-weight: 600; }
.foot2__lang a { color: var(--grey); text-decoration: none; padding: .25rem 0; border-bottom: 2px solid transparent; }
.foot2__lang a:hover { color: #fff; }
.foot2__lang a[aria-current] { color: var(--leaf-light); border-bottom-color: var(--leaf-light); }

.foot2__h { font: 600 .8125rem/1.35 var(--sans); text-transform: uppercase; letter-spacing: .07em; margin: 0 0 .85rem; min-height: 2.7em; }   /* two lines, so the lists start level */
.foot2__h a { color: var(--leaf-light); text-decoration: none; }
.foot2__h a:hover { color: #fff; }
.foot2__col ul { list-style: none; margin: 0; padding: 0; }
.foot2__col li a { display: block; padding: .3rem 0; line-height: 1.4; color: var(--grey); text-decoration: none; }
.foot2__col li a:hover { color: #fff; }

.foot2__bar { display: none !important; }

/* ------------------------------------------------------------------ back-to-top (5.15): the guidelines' own button */
.totop { position: fixed; right: max(1.5rem, env(safe-area-inset-right)); bottom: 1.5rem; z-index: 20; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--signature); color: #fff; text-decoration: none; opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease; }
.totop.is-on { opacity: 1; visibility: visible; }
.totop:hover { background: var(--signature-dark); }
.totop:focus-visible { outline: 2px solid var(--signature); outline-offset: 4px; }
.totop svg { width: 20px; height: 20px; }
@media (prefers-reduced-motion: reduce) { .totop { transition: none; } }

/* ------------------------------------------------------------------ pages in preparation */
.prep-lead { max-width: 44rem; }
.prep-body { padding-top: 3rem; }
.prep-body .sitemap-flow { padding-bottom: 4.5rem; }
.prep-note { max-width: 42rem; color: var(--muted); margin: 0 0 3rem; }

/* ------------------------------------------------------------------ narrower screens */
@media (max-width: 1180px) {
  .foot2__h { min-height: 0; }
  .foot2__grid { grid-template-columns: 1fr; }
  .foot2__titles { max-width: 40rem; }
}

@media (max-width: 1080px) {
  .nav2 { gap: .85rem; min-height: 3.75rem; }
  .site-head .brandmark { font-size: 1.125rem; }
  .site-head .lang-switch { order: 2; border-left: 0; padding-left: 0; gap: 0; }
  .site-head .lang-switch a { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0; }   /* 7.1 */

  .nav2__burger {
    display: inline-flex; align-items: center; gap: .6rem; order: 3; cursor: pointer; min-height: 44px;
    color: #fff; font-size: .9375rem; font-weight: 600; padding: 0 .85rem;
    border: 1px solid var(--grey); border-radius: 3px;
  }
  .nav2__burger::before {
    content: ""; width: 1rem; height: 2px; background: currentColor;
    box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor;
  }
  .nav2__check:focus-visible + .nav2__burger { outline: 2px solid var(--leaf-light); outline-offset: 3px; }

  .nav2__nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 1;
    background: var(--purple-deep); border-top: 1px solid rgba(255, 255, 255, .18); border-bottom: 3px solid var(--leaf);
    max-height: calc(100vh - var(--head-h)); max-height: calc(100dvh - var(--head-h)); overflow-y: auto;
    padding: .25rem clamp(1rem, 4vw, 2.5rem) 1.75rem;
  }
  .nav2__check:checked ~ .nav2__nav { display: block; }

  .nav2__list { flex-direction: column; gap: 0; }
  .nav2__item { border-bottom: 1px solid rgba(255, 255, 255, .18); }
  .nav2__trigger { justify-content: space-between; min-height: 56px; padding: .5rem 0; font-size: 1.0625rem; }
  .nav2__label { border-bottom-width: 2px; }

  .panel { position: static; background: transparent; color: var(--grey); border: 0; box-shadow: none; max-height: none; overflow: visible; }
  .panel .wrap { padding: 0 0 1rem; }
  .panel :focus-visible { outline-color: var(--leaf-light); }
  .panel__head { border: 0; padding: 0; margin: 0; }
  .panel__title { display: none; }
  .panel__hub { color: var(--grey); display: flex; align-items: center; min-height: 44px; }
  .panel__hub:hover { color: #fff; }

  .panel__body--groups { display: block; }
  .pgroup { display: block; }
  .pgroup ul { display: none; }                       /* second level only on small screens */
  .pgroup__title { color: var(--grey); border: 0; margin: 0; padding: 0; min-height: 44px; display: flex; align-items: center; font-weight: 500; font-size: 1rem; }
  .pgroup__title:hover { color: #fff; }

  .plist { grid-template-columns: 1fr; gap: 0; }
  .plist a { padding: .55rem 0; min-height: 44px; }
  .plist__t { color: var(--grey); font-weight: 500; font-size: 1rem; }
  .plist a:hover .plist__t { color: #fff; }
  .plist__d { color: var(--grey); -webkit-line-clamp: 2; }

  /* you are here, on deep purple: light green with a line */
  .panel [aria-current="page"], .panel [aria-current="page"]:hover, .panel .plist a[aria-current="page"] .plist__t { color: var(--leaf-light); }

  .foot2__cols { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .foot2__grid { gap: 2rem; padding-top: 2.5rem; }
  .foot2__cols { grid-template-columns: 1fr; gap: 1.75rem; }
  .foot2__col li a, .foot2__h a, .foot2__bar a, .foot2__lang a { display: flex; align-items: center; min-height: 44px; padding-top: 0; padding-bottom: 0; }   /* 7.1 */
  .foot2__h { min-height: 0; margin-bottom: .25rem; }
  .crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
  .totop { width: 44px; height: 44px; right: max(1rem, env(safe-area-inset-right)); }
}

/* theme: plum */
:root {
  --plum: #2A0C2D;
  --on-plum: #D8D9D5;
  --leaf: #3B6A1F;
  --leaf-light: #A9CF72;
  --leaf-wash: #EEF3E4;
  --ph-stripe: rgba(59, 106, 31, .07);
  --portrait-line: rgba(169, 207, 114, .45);
}
