﻿.headline-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(20rem, 0.75fr);
  gap: clamp(2rem, 5vw, 5rem);
}

.headline-mini-carousel [data-slide] {
  min-height: 8.8rem;
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
  padding-bottom: 0.75rem;
}

.hero-news-image {
  width: 100%;
  height: 100%;
  min-height: 7.75rem;
  object-fit: cover;
  border: 1px solid rgba(255, 254, 249, 0.14);
  background: var(--brand-deep);
}

.hero-news-copy {
  align-self: center;
  min-width: 0;
}

.hero-news-copy strong {
  overflow-wrap: anywhere;
}

.js .headline-mini-carousel [data-slide].is-active {
  animation: carousel-reveal var(--motion-carousel) var(--ease) both;
}

.js .headline-mini-carousel [data-slide]:not(.is-active) {
  display: none;
}

@keyframes carousel-reveal {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mini-carousel-controls {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.75rem;
  margin-top: 0.5rem;
  border-top: 1px solid rgba(255, 254, 249, 0.18);
}

.mini-carousel-controls button {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 254, 249, 0.35);
  color: var(--brand-white);
  background: transparent;
}

.mini-carousel-controls button:hover,
.mini-carousel-controls button:focus-visible {
  color: var(--brand-deep);
  background: var(--brand-primary);
  border-color: var(--brand-primary);
}

.mini-carousel-controls span {
  color: rgba(255, 254, 249, 0.66);
  font-family: var(--font-number);
  font-size: 0.78rem;
  text-align: center;
}

.headline-feature {
  min-height: 25rem;
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
  background: var(--brand-secondary);
  color: var(--brand-white);
}

.headline-feature-visual,
.brand-visual {
  position: relative;
  min-height: 18rem;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    repeating-linear-gradient(to bottom, transparent 0 40px, rgba(216, 181, 120, 0.22) 41px 42px),
    var(--brand-deep);
}

.headline-feature-visual img,
.brand-visual img {
  width: min(76%, 250px);
  height: auto;
  object-fit: contain;
  transition: transform var(--motion-medium) var(--ease);
}

.headline-feature-visual img[src*="/images/"] {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.headline-feature:hover .headline-feature-visual img,
.headline-feature:focus-within .headline-feature-visual img {
  transform: scale(1.025);
}

.headline-feature-body {
  align-self: center;
  padding: clamp(2rem, 4vw, 4rem);
}

.headline-feature time,
.news-row time,
.article-meta time,
.timeline-year,
.event-date {
  font-family: var(--font-number);
  font-variant-numeric: tabular-nums;
}

.headline-feature time {
  display: block;
  margin-bottom: 1rem;
  color: var(--brand-primary);
}

.headline-feature h3 {
  margin-bottom: 1rem;
  font-size: clamp(1.65rem, 3vw, 2.6rem);
}

.headline-feature p {
  color: rgba(255, 254, 249, 0.72);
}

.headline-index {
  border-top: 3px solid var(--brand-primary);
}

.headline-index article {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1.25rem;
  padding-block: 1.45rem;
  border-bottom: 1px solid rgba(33, 33, 33, 0.16);
}

.headline-index time {
  color: var(--brand-accent);
  font-family: var(--font-number);
}

.headline-index h3 {
  margin-bottom: 0.45rem;
  font-family: var(--font-body-zh);
  font-size: 1.05rem;
}

.headline-index p {
  margin-bottom: 0;
  color: var(--brand-muted);
  font-size: 0.9rem;
}

.programme-board {
  display: grid;
  grid-template-columns: minmax(15rem, 0.72fr) minmax(0, 1.28fr);
  background: var(--brand-white);
  border-top: 4px solid var(--brand-primary);
  box-shadow: var(--shadow-soft);
}

.programme-date {
  min-height: 21rem;
  display: grid;
  align-content: space-between;
  padding: clamp(2rem, 4vw, 3.5rem);
  color: var(--brand-white);
  background: var(--brand-secondary);
}

.programme-date span {
  color: var(--brand-primary);
  font-size: 0.82rem;
}

.programme-date strong {
  font-family: var(--font-number);
  font-size: clamp(4.5rem, 10vw, 8rem);
  font-weight: 400;
  line-height: 0.9;
}

.programme-list {
  padding: clamp(1rem, 3vw, 2.25rem);
}

.programme-list article,
.programme-empty {
  min-height: 6rem;
  display: grid;
  grid-template-columns: minmax(7rem, 0.25fr) 1fr auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem;
  border-bottom: 1px solid rgba(33, 33, 33, 0.15);
}

.programme-list article h3,
.programme-empty h3 {
  margin-bottom: 0.2rem;
  font-size: 1.2rem;
}

.programme-list article p,
.programme-empty p {
  margin-bottom: 0;
  color: var(--brand-muted);
  font-size: 0.9rem;
}

.programme-empty {
  min-height: 15rem;
  grid-template-columns: 5rem 1fr;
}

.empty-mark {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
}

.editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.editorial-lead {
  position: sticky;
  top: 2rem;
}

.editorial-lead h2 {
  color: var(--brand-secondary);
  font-size: clamp(2.4rem, 4vw, 4.2rem);
}

.editorial-lead p {
  color: var(--brand-muted);
}

.index-rail {
  border-top: 3px solid var(--brand-secondary);
}

.index-rail a,
.index-rail .index-item {
  min-height: 7rem;
  display: grid;
  grid-template-columns: 4.5rem 1fr auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(33, 33, 33, 0.16);
  transition: color var(--motion-fast), padding var(--motion-fast) var(--ease);
}

.index-rail a:hover,
.index-rail a:focus-visible {
  padding-inline: 0.75rem;
  color: var(--brand-accent);
}

.index-rail strong {
  display: block;
  font-family: var(--font-display-zh);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.index-rail p {
  margin: 0.25rem 0 0;
  color: var(--brand-muted);
  font-size: 0.9rem;
}

.index-arrow {
  color: var(--brand-primary);
  font-size: 1.25rem;
}

.people-archive {
  display: grid;
  grid-template-columns: minmax(18rem, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: stretch;
}

.people-archive > *,
.people-copy {
  min-width: 0;
}

.people-copy h2,
.people-copy p {
  overflow-wrap: anywhere;
}

.people-visual {
  position: relative;
  min-height: 32rem;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    repeating-linear-gradient(to bottom, transparent 0 54px, rgba(216, 181, 120, 0.24) 55px 56px),
    var(--brand-secondary);
}

.people-visual img {
  width: min(70%, 280px);
}

.people-copy {
  align-self: center;
}

.people-copy h2 {
  color: var(--brand-secondary);
  font-size: clamp(2.5rem, 5vw, 4.8rem);
}

.people-copy p {
  max-width: 40rem;
  color: var(--brand-muted);
}

.category-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 2rem;
  padding: 0;
  margin: 2rem 0;
  list-style: none;
  border-top: 1px solid rgba(33, 33, 33, 0.18);
}

.category-list li {
  padding-block: 0.9rem;
  border-bottom: 1px solid rgba(33, 33, 33, 0.18);
}

.timeline {
  position: relative;
  display: grid;
  gap: 0;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 9.6rem;
  width: 1px;
  background: var(--brand-border);
}

.timeline article {
  position: relative;
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr);
  gap: 3rem;
  padding-block: 2rem;
}

.timeline article::before {
  content: "";
  position: absolute;
  top: 2.6rem;
  left: 9.27rem;
  width: 0.7rem;
  height: 0.7rem;
  background: var(--brand-primary);
  border: 3px solid var(--brand-surface);
  box-shadow: 0 0 0 1px var(--brand-primary);
}

.timeline-year {
  color: var(--brand-accent);
  font-size: 1.4rem;
}

.timeline h3 {
  margin-bottom: 0.7rem;
  color: var(--brand-secondary);
  font-size: clamp(1.45rem, 2.6vw, 2.2rem);
}

.timeline p {
  max-width: 50rem;
  margin-bottom: 0;
  color: var(--brand-muted);
}

.partner-composition {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 7rem minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.25rem, 3vw, 3rem);
}

.partner-institution {
  min-height: 18rem;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 2rem;
  text-align: center;
  background: var(--brand-white);
  border-top: 3px solid var(--brand-primary);
}

.partner-institution img {
  width: 7rem;
  height: 7rem;
  margin-bottom: 1.25rem;
  object-fit: contain;
}

.partner-institution h3 {
  margin-bottom: 0.45rem;
  color: var(--brand-secondary);
  font-size: 1.35rem;
}

.partner-institution p {
  margin-bottom: 0;
  color: var(--brand-muted);
  font-size: 0.9rem;
}

.partner-bridge {
  display: grid;
  place-items: center;
  color: var(--brand-primary);
  text-align: center;
}

.partner-bridge::before,
.partner-bridge::after {
  content: "";
  width: 100%;
  height: 1px;
  background: var(--brand-primary);
}

.partner-bridge span {
  padding-block: 0.5rem;
  font-family: var(--font-number);
  font-size: 0.82rem;
}

.channel-directory {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr) minmax(0, 0.75fr);
  grid-template-areas:
    "lead top top"
    "lead left right";
  gap: 1px;
  background: var(--brand-border);
  border: 1px solid var(--brand-border);
}

.directory-item {
  min-height: 13rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--brand-white);
  min-width: 0;
  transition:
    transform var(--motion-fast) var(--ease),
    background var(--motion-fast),
    color var(--motion-fast);
}

.directory-item:hover,
.directory-item:focus-visible {
  z-index: 1;
  transform: translateY(-2px);
}

.directory-item > *,
.directory-item strong,
.directory-item p {
  min-width: 0;
  overflow-wrap: anywhere;
}

.directory-item:first-child {
  grid-area: lead;
  min-height: 26rem;
  color: var(--brand-white);
  background:
    repeating-linear-gradient(to bottom, transparent 0 46px, rgba(216, 181, 120, 0.24) 47px 48px),
    var(--brand-secondary);
}

.directory-item:nth-child(2) {
  grid-area: top;
  background: var(--brand-paper);
}

.directory-item:nth-child(3) {
  grid-area: left;
}

.directory-item:nth-child(4) {
  grid-area: right;
  background: rgba(190, 216, 209, 0.45);
}

.directory-item strong {
  display: block;
  font-family: var(--font-display-zh);
  font-size: clamp(1.4rem, 2.5vw, 2.1rem);
}

.directory-item p {
  margin: 0.75rem 0 0;
  color: var(--brand-muted);
  font-size: 0.92rem;
}

.directory-item:first-child p {
  color: rgba(255, 254, 249, 0.75);
}

.directory-item span:last-child {
  color: var(--brand-accent);
}

.directory-item:first-child span:last-child {
  color: var(--brand-primary);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  padding-block: 1rem;
  margin-bottom: 2.5rem;
  border-top: 1px solid rgba(33, 33, 33, 0.16);
  border-bottom: 1px solid rgba(33, 33, 33, 0.16);
}

.filter-bar strong {
  margin-right: 0.6rem;
  color: var(--brand-secondary);
}

.filter-button {
  min-height: 44px;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(33, 33, 33, 0.22);
  border-radius: var(--radius-control);
  background: transparent;
  transition:
    color var(--motion-fast),
    background var(--motion-fast),
    border-color var(--motion-fast),
    transform var(--motion-fast) var(--ease);
}

.filter-button:hover,
.filter-button:focus-visible,
.filter-button.is-active {
  color: var(--brand-white);
  background: var(--brand-secondary);
  border-color: var(--brand-secondary);
}

.filter-button:active {
  transform: translateY(1px);
}

.news-list {
  border-top: 3px solid var(--brand-secondary);
}

.news-row {
  display: grid;
  grid-template-columns: 11rem 7.5rem minmax(0, 1fr) auto;
  gap: clamp(1rem, 2.4vw, 2rem);
  align-items: center;
  padding-block: 2rem;
  border-bottom: 1px solid rgba(33, 33, 33, 0.18);
  transition:
    padding var(--motion-fast) var(--ease),
    background var(--motion-fast);
}

.news-row-media {
  min-height: 7.25rem;
  display: block;
  overflow: hidden;
  background: var(--brand-deep);
}

.news-row-media img {
  width: 100%;
  height: 7.25rem;
  object-fit: cover;
  transition: transform var(--motion-medium) var(--ease);
}

.news-row:hover,
.news-row:focus-within {
  padding-inline: 1rem;
  background: rgba(232, 221, 198, 0.28);
}

.news-row:hover .news-row-media img,
.news-row:focus-within .news-row-media img {
  transform: scale(1.035);
}

.news-row time {
  color: var(--brand-accent);
}

.news-row h2 {
  margin-bottom: 0.65rem;
  font-family: var(--font-body-zh);
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  line-height: 1.4;
}

.news-row p {
  max-width: 52rem;
  margin-bottom: 0;
  color: var(--brand-muted);
}

.news-row small {
  display: block;
  margin-top: 0.7rem;
  color: var(--brand-muted);
  font-size: 0.78rem;
}

.news-type {
  color: var(--brand-secondary);
  font-size: 0.78rem;
  white-space: nowrap;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding-top: 2.5rem;
}

.pagination a,
.pagination span {
  min-width: 44px;
  min-height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(33, 33, 33, 0.22);
}

.pagination [aria-current="page"] {
  color: var(--brand-white);
  background: var(--brand-secondary);
  border-color: var(--brand-secondary);
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(13rem, 0.25fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
}

.article-shell > *,
.article-body,
.article-aside {
  min-width: 0;
}

.article-header {
  padding-bottom: 2rem;
  margin-bottom: 2.5rem;
  border-bottom: 2px solid var(--brand-primary);
}

.article-header h1 {
  margin-bottom: 1.5rem;
  color: var(--brand-secondary);
  font-size: clamp(2.2rem, 4.5vw, 4.5rem);
  font-weight: 500;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  color: var(--brand-muted);
  font-size: 0.86rem;
}

.article-body {
  font-size: 1.06rem;
  line-height: 1.85;
  overflow-wrap: anywhere;
}

[lang="ru"] .article-body,
[lang="en"] .article-body {
  font-size: 1.02rem;
  line-height: 1.78;
}

.article-body h2 {
  margin: 2.8rem 0 1rem;
  color: var(--brand-secondary);
  font-size: clamp(1.65rem, 3vw, 2.45rem);
}

.article-body h3 {
  margin: 2rem 0 0.75rem;
  font-size: 1.35rem;
}

.article-body p {
  margin-bottom: 1.2rem;
}

.article-body figure {
  margin: 2.5rem 0;
  padding: clamp(2rem, 5vw, 4rem);
  background: var(--brand-secondary);
}

.article-body figure img {
  width: min(100%, 430px);
  margin-inline: auto;
}

.article-body figcaption {
  margin-top: 1rem;
  color: rgba(255, 254, 249, 0.7);
  font-size: 0.82rem;
  text-align: center;
}

.article-body blockquote {
  margin: 2rem 0;
  padding: 1.5rem 1.75rem;
  color: var(--brand-secondary);
  background: rgba(232, 221, 198, 0.5);
  border-left: 4px solid var(--brand-primary);
  font-family: var(--font-display-zh);
  font-size: 1.2rem;
}

.table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-block: 2rem;
}

.article-body th,
.article-body td {
  min-width: 8rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(33, 33, 33, 0.2);
  text-align: left;
  vertical-align: top;
}

.article-body th {
  color: var(--brand-white);
  background: var(--brand-secondary);
}

.article-aside {
  position: sticky;
  top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 3px solid var(--brand-primary);
}

.article-aside strong {
  display: block;
  margin-bottom: 1rem;
  color: var(--brand-secondary);
  font-family: var(--font-display-zh);
  font-size: 1.15rem;
}

.article-aside ul,
.anchor-nav {
  padding: 0;
  margin: 0;
  list-style: none;
}

.article-aside li,
.anchor-nav li {
  border-bottom: 1px solid rgba(33, 33, 33, 0.16);
}

.article-aside a,
.anchor-nav a {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding-block: 0.55rem;
}

.article-aside a:hover,
.article-aside a:focus-visible,
.anchor-nav a:hover,
.anchor-nav a:focus-visible {
  color: var(--brand-accent);
}

.attachment-list {
  padding: 0;
  margin: 2rem 0;
  list-style: none;
  border-top: 2px solid var(--brand-secondary);
}

.attachment-list li {
  display: grid;
  grid-template-columns: 4rem 1fr auto;
  align-items: center;
  gap: 1rem;
  padding-block: 1rem;
  border-bottom: 1px solid rgba(33, 33, 33, 0.18);
  min-width: 0;
}

.attachment-list li > * {
  min-width: 0;
}

.attachment-list strong {
  overflow-wrap: anywhere;
}

.attachment-type {
  color: var(--brand-accent);
  font-family: var(--font-number);
  font-size: 0.8rem;
}

.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 3rem;
  border-top: 1px solid rgba(33, 33, 33, 0.18);
}

.article-nav a {
  min-height: 7rem;
  padding: 1.5rem 0;
}

.article-nav a + a {
  padding-left: 2rem;
  border-left: 1px solid rgba(33, 33, 33, 0.18);
}

.structure-map {
  display: grid;
  gap: 1.5rem;
  text-align: center;
}

.structure-node {
  width: min(100%, 34rem);
  margin-inline: auto;
  padding: 1.25rem;
  background: var(--brand-white);
  border-top: 3px solid var(--brand-primary);
}

.structure-node.primary {
  color: var(--brand-white);
  background: var(--brand-secondary);
}

.structure-node h2,
.structure-node h3 {
  margin-bottom: 0.45rem;
}

.structure-node p {
  margin-bottom: 0;
  color: var(--brand-muted);
}

.structure-node.primary p {
  color: rgba(255, 254, 249, 0.72);
}

.structure-connector {
  width: 1px;
  height: 2rem;
  margin-inline: auto;
  background: var(--brand-primary);
}

.structure-branches {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

details.org-group {
  background: var(--brand-white);
  border-top: 2px solid var(--brand-primary);
}

details.org-group summary {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  color: var(--brand-secondary);
  font-weight: 700;
  cursor: pointer;
  transition:
    color var(--motion-fast),
    background var(--motion-fast);
}

details.org-group summary:hover,
details.org-group summary:focus-visible {
  background: rgba(232, 221, 198, 0.34);
}

details.org-group summary::after {
  content: "+";
  color: var(--brand-primary);
  font-size: 1.4rem;
}

details.org-group[open] summary::after {
  content: "-";
}

.org-group-body {
  padding: 0 1.2rem 1.2rem;
  color: var(--brand-muted);
}

.profile-hero {
  display: grid;
  grid-template-columns: minmax(18rem, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: stretch;
}

.profile-photo {
  min-height: 34rem;
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(to bottom, transparent 0 54px, rgba(216, 181, 120, 0.24) 55px 56px),
    var(--brand-secondary);
}

.profile-photo img {
  width: min(66%, 250px);
}

.profile-summary {
  align-self: center;
}

.profile-summary h2 {
  margin-bottom: 0.5rem;
  color: var(--brand-secondary);
  font-size: clamp(2.6rem, 5vw, 5rem);
}

.profile-role {
  color: var(--brand-accent);
  font-family: var(--font-display-zh);
  font-size: 1.25rem;
}

.profile-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 2rem;
  border-top: 1px solid rgba(33, 33, 33, 0.18);
}

.profile-facts div {
  padding-block: 1rem;
  border-bottom: 1px solid rgba(33, 33, 33, 0.18);
}

.profile-facts dt {
  color: var(--brand-muted);
  font-size: 0.78rem;
}

.profile-facts dd {
  margin: 0.3rem 0 0;
}

.empty-state {
  display: grid;
  grid-template-columns: 6rem 1fr;
  align-items: center;
  gap: 1.5rem;
  padding: clamp(2rem, 5vw, 4rem);
  background: var(--brand-white);
  border-top: 3px solid var(--brand-primary);
}

.empty-state img {
  width: 5rem;
}

.empty-state h2,
.empty-state h3 {
  margin-bottom: 0.5rem;
  color: var(--brand-secondary);
}

.empty-state p {
  max-width: 44rem;
  margin-bottom: 0;
  color: var(--brand-muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  grid-auto-rows: minmax(14rem, auto);
  gap: 1px;
  background: var(--brand-border);
  border: 1px solid var(--brand-border);
}

.gallery-card {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  min-width: 0;
  overflow: hidden;
  background: var(--brand-white);
}

.gallery-card:first-child {
  grid-row: span 2;
}

.gallery-button {
  min-height: 15rem;
  display: grid;
  place-items: center;
  padding: 2rem;
  border: 0;
  background:
    repeating-linear-gradient(to bottom, transparent 0 44px, rgba(216, 181, 120, 0.2) 45px 46px),
    var(--brand-secondary);
}

.gallery-button img {
  width: min(80%, 320px);
  max-height: 17rem;
  object-fit: contain;
  transition: transform var(--motion-medium) var(--ease);
}

.gallery-button:hover img,
.gallery-button:focus-visible img {
  transform: scale(1.03);
}

.gallery-card figcaption {
  padding: 1rem 1.1rem;
}

.gallery-card strong {
  display: block;
  color: var(--brand-secondary);
}

.gallery-card span {
  color: var(--brand-muted);
  font-size: 0.82rem;
}

.lightbox {
  position: fixed;
  z-index: var(--overlay-layer);
  inset: 0;
  display: none;
  grid-template-columns: 4rem minmax(0, 1fr) 4rem;
  grid-template-rows: 4rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  color: var(--brand-white);
  background: rgba(33, 33, 33, 0.96);
}

.lightbox.is-open {
  display: grid;
}

.lightbox-image {
  grid-column: 2;
  grid-row: 2;
  max-width: 100%;
  max-height: calc(100vh - 10rem);
  margin-inline: auto;
  object-fit: contain;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 254, 249, 0.5);
  color: var(--brand-white);
  background: transparent;
}

.lightbox-close {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
}

.lightbox-prev {
  grid-column: 1;
  grid-row: 2;
}

.lightbox-next {
  grid-column: 3;
  grid-row: 2;
}

.lightbox-caption {
  grid-column: 1 / -1;
  grid-row: 3;
  margin: 0;
  text-align: center;
}

.admissions-layout {
  display: grid;
  grid-template-columns: minmax(14rem, 0.28fr) minmax(0, 0.72fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.admissions-layout > *,
.anchor-panel {
  min-width: 0;
}

.anchor-panel {
  position: sticky;
  top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 3px solid var(--brand-primary);
}

.anchor-panel strong {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--brand-secondary);
  font-family: var(--font-display-zh);
}

.policy-section {
  padding-block: 2.5rem;
  border-bottom: 1px solid rgba(33, 33, 33, 0.18);
  scroll-margin-top: 2rem;
}

.policy-section:first-child {
  padding-top: 0;
}

.policy-section h2 {
  color: var(--brand-secondary);
  font-size: clamp(1.8rem, 3.3vw, 2.8rem);
}

.policy-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 1.5rem;
  background: var(--brand-border);
  border: 1px solid var(--brand-border);
}

.policy-fact {
  padding: 1.35rem;
  background: var(--brand-white);
}

.policy-fact strong {
  display: block;
  color: var(--brand-accent);
  font-family: var(--font-number);
  font-size: 1.35rem;
}

.policy-fact span {
  color: var(--brand-muted);
  font-size: 0.85rem;
}

.contact-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--brand-border);
  border: 1px solid var(--brand-border);
  overflow-wrap: anywhere;
}

.contact-panel div {
  padding: 1.5rem;
  background: var(--brand-white);
  min-width: 0;
}

.contact-panel strong {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--brand-secondary);
}

.overview-page {
  min-height: 100vh;
  padding-block: clamp(3rem, 7vw, 7rem);
  background:
    radial-gradient(circle at 82% 12%, rgba(219, 162, 61, 0.16), transparent 26%),
    var(--brand-surface);
}

.overview-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.42fr);
  gap: 3rem;
  align-items: end;
  padding-bottom: 2.5rem;
  border-bottom: 3px solid var(--brand-primary);
}

.overview-header h1 {
  margin-bottom: 1rem;
  color: var(--brand-secondary);
  font-size: clamp(2.7rem, 6vw, 6rem);
  font-weight: 500;
}

.overview-header p {
  max-width: 50rem;
  margin-bottom: 0;
  color: var(--brand-muted);
}

.overview-header img {
  width: 100%;
  max-height: 150px;
  object-fit: contain;
  object-position: right bottom;
}

.overview-languages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 3rem;
  background: var(--brand-border);
  border: 1px solid var(--brand-border);
}

.overview-language {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--brand-white);
}

.overview-language h2 {
  color: var(--brand-secondary);
  font-size: 1.8rem;
}

.overview-language ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.overview-language li {
  border-bottom: 1px solid rgba(33, 33, 33, 0.15);
}

.overview-language a {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.65rem;
}

.overview-language a:hover,
.overview-language a:focus-visible {
  color: var(--brand-accent);
}

/* R3 Headline Stage and Living Score */
.headline-stage {
  min-height: clamp(680px, 78dvh, 900px);
  padding-top: 176px;
  color: var(--brand-white);
  background: var(--stage-deep);
}

.headline-stage-slides,
.headline-stage-slide,
.stage-media,
.stage-scrim {
  position: absolute;
  inset: 0;
}

.headline-stage-slide {
  display: block;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--motion-stage) ease,
    visibility var(--motion-stage);
}

.headline-stage-slide:first-child,
.headline-stage-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.js .headline-stage-slide {
  display: none;
  opacity: 1;
  visibility: visible;
  transition: none;
}

.js .headline-stage-slide.is-active {
  display: block;
  animation: stage-slide-reveal 680ms var(--ease-stage) both;
}

@keyframes stage-slide-reveal {
  from { opacity: 0; }
  to { opacity: 1; }
}

.stage-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: saturate(0.78) contrast(1.04);
  transform: scale(1.035);
  transition: transform 8s ease-out;
}

.headline-stage-slide.is-active .stage-media {
  transform: scale(1);
}

.stage-scrim {
  background:
    linear-gradient(90deg, rgba(23, 16, 25, 0.96) 0%, rgba(40, 13, 24, 0.82) 42%, rgba(23, 16, 25, 0.3) 76%, rgba(23, 16, 25, 0.5) 100%),
    linear-gradient(0deg, rgba(23, 16, 25, 0.92), transparent 52%);
}

.stage-copy {
  position: relative;
  z-index: 4;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding-top: 12rem;
  padding-bottom: 9.5rem;
}

.stage-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--gold-soft);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
}

.stage-meta time {
  padding-left: 1rem;
  color: rgba(255, 254, 249, 0.76);
  border-left: 1px solid rgba(219, 162, 61, 0.62);
  font-family: var(--font-number);
  font-variant-numeric: tabular-nums;
}

.stage-copy h1,
.stage-copy h2 {
  max-width: 16em;
  margin-bottom: 1.1rem;
  color: var(--brand-white);
  font-size: clamp(2.85rem, 4.8vw, 4.8rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

[lang="ru"] .stage-copy h1,
[lang="ru"] .stage-copy h2,
[lang="en"] .stage-copy h1,
[lang="en"] .stage-copy h2 {
  max-width: 18em;
  font-size: clamp(2.5rem, 4.1vw, 4.25rem);
  letter-spacing: -0.028em;
  line-height: 1.05;
}

.stage-summary {
  max-width: 48rem;
  margin-bottom: 1.4rem;
  color: rgba(255, 254, 249, 0.82);
  font-size: clamp(1rem, 1.3vw, 1.13rem);
}

.stage-cta {
  min-width: 7rem;
}

.stage-identity {
  position: absolute;
  z-index: 6;
  top: 192px;
  right: 0;
  left: 0;
  color: rgba(255, 254, 249, 0.72);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-align: right;
  pointer-events: none;
}

.living-score {
  position: absolute;
  z-index: 3;
  inset: 26% 0 14%;
  overflow: hidden;
  pointer-events: none;
  transform: translate3d(var(--score-x, 0), var(--score-y, 0), 0);
  transition: transform 620ms var(--ease-stage);
}

.living-score-lines {
  width: 100%;
  height: 100%;
  opacity: 0.36;
  overflow: visible;
}

.living-score-lines path {
  fill: none;
  stroke: rgba(231, 199, 130, 0.64);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  transform: translateY(var(--staff-shift, 0));
  transition: stroke 420ms ease, transform 620ms var(--ease-stage);
}

.living-score-lines path:nth-child(2),
.living-score-lines path:nth-child(4) {
  opacity: 0.66;
}

.living-score-notes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.score-note {
  position: absolute;
  top: var(--note-y);
  left: var(--note-x);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  color: var(--gold-soft);
  background: transparent;
  pointer-events: auto;
  transform: translate(-50%, -50%) translateY(var(--note-lift, 0));
  transition: transform 520ms var(--ease-stage), color 300ms ease;
}

.score-note span {
  width: 12px;
  height: 9px;
  display: block;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: rgba(23, 16, 25, 0.72);
  box-shadow: 0 0 0 4px rgba(219, 162, 61, 0.06);
  transform: rotate(-18deg);
  transition: background 300ms ease, box-shadow 300ms ease, transform 300ms var(--ease-stage);
}

.score-note:hover,
.score-note:focus-visible,
.score-note.is-sounding {
  color: var(--brand-primary);
  transform: translate(-50%, -50%) translateY(calc(var(--note-lift, 0) - 4px));
}

.score-note:hover span,
.score-note:focus-visible span,
.score-note.is-sounding span {
  background: var(--brand-primary);
  box-shadow: 0 0 0 8px rgba(219, 162, 61, 0.12);
  transform: rotate(-18deg) scale(1.08);
}

.stage-console {
  position: absolute;
  z-index: 8;
  right: 0;
  bottom: 1.8rem;
  left: 0;
  display: grid;
  grid-template-columns: 48px minmax(14rem, 26rem) auto 48px 1fr;
  align-items: center;
  gap: 0.75rem;
}

.stage-step,
.stage-pause,
.sound-experience {
  min-height: 48px;
  border: 1px solid rgba(255, 254, 249, 0.38);
  color: var(--brand-white);
  background: rgba(23, 16, 25, 0.5);
  transition:
    color var(--motion-fast),
    background var(--motion-fast),
    border-color var(--motion-fast),
    transform var(--motion-fast) var(--ease);
}

.stage-step {
  width: 48px;
  font-size: 1.1rem;
}

.stage-pause {
  padding-inline: 0.9rem;
  font-size: 0.78rem;
}

.sound-experience {
  justify-self: end;
  min-width: 10.5rem;
  padding-inline: 1rem;
  color: var(--gold-soft);
}

.stage-step:hover,
.stage-step:focus-visible,
.stage-pause:hover,
.stage-pause:focus-visible,
.sound-experience:hover,
.sound-experience:focus-visible,
.sound-experience[aria-pressed="true"] {
  color: var(--stage-deep);
  background: var(--brand-primary);
  border-color: var(--brand-primary);
}

.stage-step:active,
.stage-pause:active,
.sound-experience:active {
  transform: translateY(1px);
}

.score-progress {
  position: relative;
  height: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.score-progress-lines {
  position: absolute;
  right: 0;
  left: 0;
  height: 13px;
  border-top: 1px solid rgba(231, 199, 130, 0.5);
  border-bottom: 1px solid rgba(231, 199, 130, 0.34);
}

.score-progress-node {
  position: relative;
  z-index: 2;
  width: 44px;
  min-width: 44px;
  height: 44px;
  justify-self: center;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
}

.score-progress-node span {
  width: 9px;
  height: 9px;
  border: 1px solid var(--gold-soft);
  border-radius: 50%;
  background: var(--stage-deep);
  transition: background 300ms ease, transform 300ms var(--ease-stage);
}

.score-progress-node.is-active span,
.score-progress-node:hover span,
.score-progress-node:focus-visible span {
  background: var(--brand-primary);
  transform: scale(1.22);
}

.score-playhead {
  position: absolute;
  z-index: 1;
  top: 8px;
  bottom: 8px;
  left: calc((var(--carousel-index, 0) + 0.5) * 25%);
  width: 1px;
  background: var(--brand-primary);
  transform: translateX(-50%);
  transition: left var(--motion-carousel) var(--ease-stage);
}

.music-pulse {
  position: absolute;
  z-index: 7;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  overflow: hidden;
  background: rgba(219, 162, 61, 0.18);
}

.music-pulse span {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pulse-origin, 50%);
  width: 18%;
  background: linear-gradient(90deg, transparent, var(--brand-primary), transparent);
  opacity: 0.44;
  transform: translateX(-50%) scaleX(0.5);
}

.music-pulse.is-pulsing span {
  animation: score-pulse 680ms var(--ease-stage) both;
}

@keyframes score-pulse {
  0% { opacity: 0; transform: translateX(-50%) scaleX(0.2); }
  36% { opacity: 0.9; transform: translateX(-50%) scaleX(1.1); }
  100% { opacity: 0; transform: translateX(-50%) scaleX(2.8); }
}

.no-js-headlines {
  position: absolute;
  z-index: 9;
  right: 0;
  bottom: 5.5rem;
  left: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(219, 162, 61, 0.42);
}

.no-js-headlines a {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(23, 16, 25, 0.94);
}

.no-js-headlines time {
  color: var(--gold-soft);
  font-family: var(--font-number);
}

/* R3 editorial news system */
.home-news {
  position: relative;
}

.home-news::before {
  content: "NEWS";
  position: absolute;
  top: 1rem;
  right: var(--gutter);
  color: rgba(85, 16, 30, 0.035);
  font-family: var(--font-display-latin);
  font-size: clamp(7rem, 18vw, 18rem);
  line-height: 1;
  pointer-events: none;
}

.news-editorial-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(24rem, 0.72fr);
  gap: clamp(2rem, 4.5vw, 4.75rem);
  align-items: start;
}

.news-editorial-feature {
  min-width: 0;
}

.news-editorial-image,
.news-focus-image {
  display: block;
  overflow: hidden;
  background: var(--brand-deep);
}

.news-editorial-image {
  aspect-ratio: 16 / 9;
}

.news-editorial-image img,
.news-focus-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--motion-slow) var(--ease-stage);
}

.news-editorial-feature:hover img,
.news-editorial-feature:focus-within img,
.news-focus-item:hover img,
.news-focus-item:focus-within img {
  transform: scale(1.035);
}

.news-editorial-copy {
  max-width: 58rem;
  padding-top: 1.6rem;
}

.news-editorial-copy > p:first-child {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.8rem;
  color: var(--brand-accent);
  font-size: 0.82rem;
}

.news-editorial-copy time,
.news-focus-item time,
.latest-news-item time {
  font-family: var(--font-number);
  font-variant-numeric: tabular-nums;
}

.news-editorial-copy h3 {
  margin-bottom: 0.9rem;
  color: var(--brand-secondary);
  font-size: clamp(2rem, 3.6vw, 3.75rem);
  font-weight: 500;
  line-height: 1.12;
}

.news-editorial-copy > p:last-child {
  max-width: 48rem;
  margin-bottom: 0;
  color: var(--brand-muted);
}

.news-focus {
  display: grid;
  gap: 0;
  border-top: 3px solid var(--brand-primary);
}

.news-focus-item {
  display: grid;
  grid-template-columns: 9.5rem minmax(0, 1fr);
  gap: 1.2rem;
  align-items: center;
  padding-block: 1.15rem;
  border-bottom: 1px solid rgba(33, 33, 33, 0.16);
}

.news-focus-image {
  height: 6.6rem;
}

.news-focus-item time {
  color: var(--brand-accent);
  font-size: 0.76rem;
}

.news-focus-item h3 {
  margin: 0.35rem 0 0;
  font-family: var(--font-body-zh);
  font-size: 1.02rem;
  line-height: 1.45;
}

.news-focus-item h3 a,
.latest-news-item strong {
  transition: color var(--motion-fast), transform var(--motion-fast) var(--ease);
}

.news-focus-item:hover h3 a,
.news-focus-item:focus-within h3 a,
.latest-news-item:hover strong,
.latest-news-item:focus-visible strong {
  color: var(--brand-accent);
}

.latest-news {
  display: grid;
  grid-template-columns: minmax(10rem, 0.25fr) minmax(0, 0.75fr);
  gap: clamp(2rem, 5vw, 5rem);
  padding-top: clamp(4rem, 7vw, 7rem);
  margin-top: clamp(4rem, 7vw, 7rem);
  border-top: 1px solid var(--brand-border);
}

.latest-news > h3 {
  color: var(--brand-secondary);
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.latest-news-list {
  border-top: 2px solid var(--brand-secondary);
}

.latest-news-item {
  min-height: 5.2rem;
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
  border-bottom: 1px solid rgba(33, 33, 33, 0.16);
}

.latest-news-item time {
  color: var(--brand-accent);
}

.latest-news-item strong {
  font-size: 1rem;
}

.latest-news-item span {
  color: var(--brand-muted);
  font-size: 0.78rem;
  white-space: nowrap;
}

/* R3 information desk */
.programme-desk {
  background: var(--brand-surface);
}

.programme-desk-grid {
  display: grid;
  grid-template-columns: minmax(17rem, 0.82fr) minmax(24rem, 1.2fr) minmax(17rem, 0.72fr);
  border-top: 3px solid var(--brand-secondary);
}

.programme-desk-grid > section {
  min-height: 26rem;
  padding: clamp(1.7rem, 3vw, 3rem);
  border-right: 1px solid var(--brand-border);
}

.programme-desk-grid > section:last-child {
  border-right: 0;
}

.programme-desk-grid h3 {
  margin-bottom: 1.5rem;
  color: var(--brand-secondary);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
}

.desk-notices a {
  display: grid;
  gap: 0.55rem;
  padding-block: 1.1rem;
  border-bottom: 1px solid rgba(33, 33, 33, 0.16);
}

.desk-notices time {
  color: var(--brand-accent);
  font-family: var(--font-number);
  font-size: 0.8rem;
}

.desk-notices strong {
  font-size: 1rem;
  line-height: 1.5;
}

.desk-performance {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(12rem, 0.62fr);
  align-items: stretch;
  gap: 2rem;
  color: var(--brand-white);
  background: var(--brand-secondary);
}

.desk-performance h3 {
  color: var(--gold-soft);
}

.desk-performance p {
  color: rgba(255, 254, 249, 0.74);
}

.desk-programme-mark {
  display: grid;
  align-content: end;
  padding: 1.25rem;
  border: 1px solid rgba(231, 199, 130, 0.5);
  background:
    repeating-linear-gradient(to bottom, transparent 0 30px, rgba(231, 199, 130, 0.18) 31px, transparent 32px),
    rgba(23, 16, 25, 0.28);
}

.desk-programme-mark span,
.desk-programme-mark small {
  color: var(--gold-soft);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.desk-programme-mark strong {
  margin: 0.25rem 0 1rem;
  font-family: var(--font-display-latin);
  font-size: clamp(1.5rem, 2.4vw, 2.4rem);
  font-weight: 400;
}

.desk-academic {
  background: rgba(232, 221, 198, 0.52);
}

.desk-academic p {
  color: var(--brand-muted);
}

/* R3 media breathing section */
.media-story {
  position: relative;
  min-height: clamp(560px, 72dvh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--brand-white);
  background: var(--brand-deep);
}

.media-story-image,
.media-story-scrim {
  position: absolute;
  inset: 0;
}

.media-story-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.86);
  transition: transform 1.1s var(--ease-stage);
}

.media-story:hover .media-story-image {
  transform: scale(1.025);
}

.media-story-scrim {
  background: linear-gradient(90deg, rgba(23, 16, 25, 0.92), rgba(23, 16, 25, 0.42) 62%, rgba(23, 16, 25, 0.14));
}

.media-story-copy {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(4rem, 9vw, 8rem);
}

.media-story-copy h2 {
  max-width: 13em;
  margin-bottom: 1.2rem;
  font-size: clamp(2.8rem, 6vw, 6.5rem);
  font-weight: 500;
  line-height: 1.02;
}

[lang="ru"] .media-story-copy h2,
[lang="en"] .media-story-copy h2 {
  max-width: 16em;
  font-size: clamp(2.5rem, 5vw, 5.6rem);
}

.media-story-copy p {
  max-width: 46rem;
  color: rgba(255, 254, 249, 0.8);
}

.home-partnership {
  background: var(--brand-surface);
}

.home-people .people-copy .button {
  margin-top: 1rem;
}

@media (prefers-reduced-motion: no-preference) {
  .living-score-lines {
    animation: score-breathe 7.5s ease-in-out infinite alternate;
  }
}

@keyframes score-breathe {
  from { opacity: 0.28; transform: translateY(0); }
  to { opacity: 0.4; transform: translateY(2px); }
}