:root {
  --ink-800: #0A1A2A;
  --ink-700: #0F2739;
  --ink-600: #16374F;
  --line: #2C4E68;
  --orange: #F4613B;
  --gold: #E7C98A;
  --pool: #46C8C2;
  --ice: #DCEBF3;
  --paper: #EEF2F5;
  --mist: #A6BECD;
  --white: #F7FBFD;
  --rail-w: 280px;
  --strip-h: 56px;
  --content-max: 1220px;
  --pad: clamp(20px, 4vw, 48px);
  --radius-card: 24px;
  --radius-btn: 14px;
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

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

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

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

img,
svg {
  display: block;
  max-width: 100%;
}

::selection {
  background: var(--orange);
  color: var(--ink-800);
}

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

body {
  min-height: 100vh;
  background-color: var(--ink-800);
  background-image:
    radial-gradient(circle at 88% 8%, rgba(70, 200, 194, 0.12), transparent 34%),
    linear-gradient(115deg, rgba(244, 97, 59, 0.06), transparent 42%);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--white);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}

p {
  text-wrap: pretty;
}

.mono {
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 300;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink-800);
  font-size: 13px;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 180ms var(--ease);
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(10, 26, 42, 0.98);
  border-bottom: 1px solid var(--line);
}

.version-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 16px;
  background: rgba(10, 26, 42, 0.96);
  border-bottom: 1px solid var(--line);
}

.version-strip__brand {
  flex: 0 0 auto;
  color: var(--mist);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.version-strip__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  color: var(--mist);
  font-size: 11px;
  white-space: nowrap;
}

.version-strip__meta .mono {
  padding: 2px 7px;
  border: 1px solid rgba(244, 97, 59, 0.38);
  border-radius: 999px;
  background: rgba(244, 97, 59, 0.12);
  color: var(--orange);
  font-size: 10px;
}

.version-strip__meta span:last-child {
  display: none;
}

.lang-note {
  display: none;
  color: var(--mist);
  font-size: 11px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.header-cta {
  display: none;
  flex: 0 0 auto;
}

.header-rail {
  padding: 12px 16px 16px;
  background: var(--ink-800);
}

.rail-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 11px;
}

.brand__mark {
  display: flex;
  flex: 0 0 46px;
  flex-direction: column;
  justify-content: flex-end;
  gap: 3px;
  width: 46px;
  height: 46px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(160deg, rgba(70, 200, 194, 0.14), rgba(244, 97, 59, 0.08)),
    var(--ink-700);
}

.brand__step {
  display: block;
  height: 3px;
  border-radius: 2px;
}

.brand__step:nth-child(1) {
  width: 42%;
  background: var(--pool);
}

.brand__step:nth-child(2) {
  width: 58%;
  background: var(--ice);
}

.brand__step:nth-child(3) {
  width: 74%;
  background: var(--gold);
}

.brand__step:nth-child(4) {
  width: 88%;
  background: var(--orange);
}

.brand__step:nth-child(5) {
  width: 100%;
  background: var(--orange);
}

.brand__text {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 1px;
}

.brand__name {
  color: var(--white);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.brand__sub {
  overflow: hidden;
  color: var(--mist);
  font-size: 10px;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
  min-height: 40px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ice);
  background: var(--ink-700);
  transition: border-color 180ms var(--ease), background 180ms var(--ease);
}

.nav-toggle:hover {
  border-color: var(--orange);
  background: var(--ink-600);
}

.nav-toggle__lines {
  position: relative;
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  transition: background 180ms var(--ease);
}

.nav-toggle__lines::before,
.nav-toggle__lines::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  transition: top 180ms var(--ease), transform 180ms var(--ease);
}

.nav-toggle__lines::before {
  top: -6px;
}

.nav-toggle__lines::after {
  top: 6px;
}

.site-header[data-open] .nav-toggle__lines {
  background: transparent;
}

.site-header[data-open] .nav-toggle__lines::before {
  top: 0;
  transform: rotate(45deg);
}

.site-header[data-open] .nav-toggle__lines::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-toggle__label {
  color: var(--mist);
  font-size: 11px;
  letter-spacing: 0.08em;
  line-height: 1;
}

.rail-section {
  margin-top: 12px;
}

.rail-label {
  margin-bottom: 8px;
  color: var(--mist);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.project-band {
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-color: var(--line) transparent;
  scrollbar-width: thin;
}

.project-band__list {
  display: flex;
  min-width: max-content;
  gap: 6px;
}

.project-band__item {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 3px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--ink-700);
  color: var(--ice);
  font-size: 11px;
  line-height: 1;
  white-space: nowrap;
}

.project-band__item--summer {
  border-color: rgba(70, 200, 194, 0.44);
  background: rgba(70, 200, 194, 0.08);
  color: var(--pool);
}

.project-band__item--winter {
  border-color: rgba(220, 235, 243, 0.38);
  background: rgba(220, 235, 243, 0.06);
  color: var(--ice);
}

.primary-nav {
  display: none;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.site-header[data-open] .primary-nav {
  display: flex;
}

.primary-nav__eyebrow {
  color: var(--mist);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.primary-nav__list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.primary-nav__link {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 11px 8px 11px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--ice);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  transition: color 180ms var(--ease), background 180ms var(--ease), padding-left 180ms var(--ease);
}

.primary-nav__link::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 3px;
  height: 0;
  border-radius: 2px;
  background: var(--orange);
  transform: translateY(-50%);
  transition: height 180ms var(--ease), background 180ms var(--ease);
}

.primary-nav__link:hover {
  padding-left: 16px;
  background: rgba(22, 55, 79, 0.66);
  color: var(--white);
}

.primary-nav__link:hover::before {
  height: 18px;
}

.primary-nav__link[aria-current="page"] {
  padding-left: 16px;
  background: linear-gradient(90deg, rgba(231, 201, 138, 0.13), transparent);
  color: var(--gold);
  font-weight: 700;
}

.primary-nav__link[aria-current="page"]::before {
  height: 22px;
  background: var(--gold);
}

.primary-nav__en {
  margin-left: auto;
  color: var(--mist);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.primary-nav__cta {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 10px;
}

.primary-nav__note {
  max-width: 30ch;
  margin-top: 6px;
  color: var(--mist);
  font-size: 10px;
  line-height: 1.65;
}

.rail-footer {
  display: none;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.rail-meta {
  color: var(--mist);
  font-size: 10px;
  letter-spacing: 0.08em;
  line-height: 1.65;
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 6vw, 72px) var(--pad) 24px;
  border-top: 1px solid var(--line);
  background: var(--ink-700);
  color: var(--ice);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(44, 78, 104, 0.6);
  border-radius: 50%;
  box-shadow:
    0 0 0 36px rgba(44, 78, 104, 0.14),
    0 0 0 72px rgba(44, 78, 104, 0.08);
  pointer-events: none;
}

.footer-archive {
  display: grid;
  gap: 10px 32px;
  padding-bottom: 28px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.footer-archive__badge {
  justify-self: start;
  padding: 3px 10px;
  border: 1px solid rgba(244, 97, 59, 0.38);
  border-radius: 999px;
  background: rgba(244, 97, 59, 0.1);
  color: var(--orange);
  font-size: 10px;
  line-height: 1.4;
}

.footer-archive__title {
  max-width: 16ch;
  color: var(--white);
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.footer-archive__meta {
  max-width: 58ch;
  color: var(--mist);
  font-size: 13px;
  line-height: 1.8;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.footer-brand__name {
  color: var(--white);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.footer-brand__line {
  margin-top: 6px;
  color: var(--mist);
  font-size: 13px;
  line-height: 1.7;
}

.footer-signature {
  margin-top: 16px;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1.7;
}

.footer-year {
  margin-top: 8px;
  color: var(--mist);
  font-size: 10px;
  line-height: 1.6;
}

.footer-col__title {
  margin-bottom: 12px;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
}

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

.footer-link {
  display: inline-block;
  color: var(--ice);
  font-size: 14px;
  line-height: 1.7;
  transition: color 180ms var(--ease), transform 180ms var(--ease);
}

.footer-link:hover {
  color: var(--orange);
  transform: translateX(3px);
}

.footer-contact__item {
  display: grid;
  gap: 2px;
  margin-bottom: 10px;
}

.footer-contact__label {
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.footer-contact__value {
  overflow-wrap: anywhere;
  color: var(--ice);
  font-size: 13px;
  line-height: 1.7;
}

.footer-contact__note {
  max-width: 34ch;
  margin-top: 12px;
  color: var(--mist);
  font-size: 11px;
  line-height: 1.75;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-top: 20px;
  color: var(--mist);
  font-size: 10px;
  line-height: 1.7;
}

.footer-legal__icp {
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-btn);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
  transition: background 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease), transform 180ms var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  border-color: var(--orange);
  background: var(--orange);
  color: #160d09;
}

.btn--primary:hover {
  border-color: #ff7754;
  background: #ff7754;
}

.btn--ghost {
  border-color: var(--line);
  background: transparent;
  color: var(--ice);
}

.btn--ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.btn--light {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink-800);
}

.container {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.container--wide {
  max-width: 1440px;
}

.section {
  padding-block: clamp(48px, 8vw, 96px);
}

.section--paper {
  background: var(--paper);
  color: var(--ink-800);
}

.section--paper h1,
.section--paper h2,
.section--paper h3,
.section--paper h4,
.section--paper .section-heading__title {
  color: var(--ink-800);
}

.section--paper .section-heading__aside,
.section--paper .breadcrumb,
.section--paper .card__meta {
  color: #465d6c;
}

.section--ink {
  background: var(--ink-700);
}

.grid {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
}

.grid--2 {
  grid-template-columns: minmax(0, 1fr);
}

.grid--3 {
  grid-template-columns: minmax(0, 1fr);
}

.grid--12 {
  grid-template-columns: minmax(0, 1fr);
}

.grid > * {
  min-width: 0;
}

.section-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 16px;
  align-items: start;
  margin-bottom: 28px;
}

.section-heading__index {
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

.section-heading__title {
  margin: 0;
  color: var(--white);
  font-size: clamp(24px, 3.2vw, 40px);
  line-height: 1.15;
}

.section-heading__aside {
  grid-column: 2;
  max-width: 52ch;
  color: var(--mist);
  font-size: 13px;
  line-height: 1.8;
}

.exhibition-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 32px;
  padding: 6px 12px;
  border-left: 4px solid var(--orange);
  border-radius: 0 10px 10px 0;
  background: var(--ink-600);
  font-size: 11px;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.exhibition-label__name {
  color: var(--white);
  font-weight: 700;
}

.exhibition-label__meta {
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.exhibition-label--summer {
  border-left-color: var(--pool);
}

.exhibition-label--winter {
  border-left-color: var(--ice);
}

.card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--ink-700);
  transition: transform 180ms var(--ease), border-color 180ms var(--ease), background 180ms var(--ease);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--orange);
  transition: width 180ms var(--ease);
}

.card:hover {
  transform: translateY(-2px);
  border-color: var(--orange);
  background: var(--ink-600);
}

.card:hover::before {
  width: 8px;
}

.card__label {
  display: block;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  line-height: 1.5;
}

.card__body {
  margin-top: 10px;
}

.card__body p {
  color: var(--ice);
  font-size: 14px;
  line-height: 1.75;
}

.card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 16px;
  color: var(--mist);
  font-size: 11px;
  line-height: 1.6;
}

.card--summer::before {
  background: var(--pool);
}

.card--winter::before {
  background: var(--ice);
}

.card--paper {
  border-color: #c9d6df;
  background: var(--paper);
  color: var(--ink-800);
}

.card--paper .card__body p {
  color: var(--ink-800);
}

.card--paper .card__label {
  color: #8a5a19;
}

.card--paper .card__meta {
  color: #465d6c;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.tag--summer {
  border-color: rgba(70, 200, 194, 0.5);
  background: rgba(70, 200, 194, 0.1);
  color: var(--pool);
}

.tag--winter {
  border-color: rgba(220, 235, 243, 0.5);
  background: rgba(220, 235, 243, 0.08);
  color: var(--ice);
}

.tag--gold {
  border-color: rgba(231, 201, 138, 0.5);
  background: rgba(231, 201, 138, 0.08);
  color: var(--gold);
}

.breadcrumb {
  padding-block: 16px;
  color: var(--mist);
  font-size: 12px;
  line-height: 1.7;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  color: var(--line);
}

.breadcrumb__link {
  transition: color 180ms var(--ease);
}

.breadcrumb__link:hover {
  color: var(--gold);
}

.breadcrumb__current {
  color: var(--ice);
}

.media {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--ink-600);
}

.media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(70, 200, 194, 0.16), transparent 36%),
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(166, 190, 205, 0.08) 46px 47px),
    repeating-linear-gradient(0deg, transparent 0 46px, rgba(166, 190, 205, 0.08) 46px 47px);
  opacity: 0.9;
  pointer-events: none;
}

.media--wide {
  min-height: 0;
  aspect-ratio: 16 / 9;
}

.media--portrait {
  min-height: 0;
  aspect-ratio: 3 / 4;
}

.media__img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media__caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: 10px 14px;
  background: linear-gradient(transparent, rgba(10, 26, 42, 0.86));
  color: var(--mist);
  font-size: 10px;
  line-height: 1.6;
}

.scroll-progress {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 200;
  height: 2px;
  pointer-events: none;
  background: transparent;
}

.scroll-progress__bar {
  width: 0;
  height: 100%;
  background: var(--orange);
  transition: width 100ms linear;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-contact {
    grid-column: 1 / -1;
  }

  .grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .footer-archive {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.7fr);
    align-items: end;
  }

  .footer-archive__badge {
    grid-column: 1 / -1;
  }

  .footer-archive__title {
    grid-column: 1;
  }

  .footer-archive__meta {
    grid-column: 2;
    text-align: right;
  }

  .version-strip__meta span:last-child {
    display: inline;
  }

  .lang-note {
    display: block;
    margin-left: auto;
  }

  .header-cta {
    display: inline-flex;
  }
}

@media (min-width: 900px) {
  .grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .grid--12 {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  body {
    padding-top: var(--strip-h);
    padding-left: var(--rail-w);
  }

  .skip-link {
    top: 12px;
    left: calc(var(--rail-w) + 12px);
  }

  .site-header {
    position: static;
    border-bottom: 0;
    background: transparent;
  }

  .version-strip {
    position: fixed;
    top: 0;
    right: 0;
    left: var(--rail-w);
    z-index: 80;
    height: var(--strip-h);
    min-height: var(--strip-h);
    padding: 0 28px;
    gap: 18px;
    border-bottom: 1px solid var(--line);
    border-left: 1px solid var(--line);
    background: rgba(10, 26, 42, 0.94);
  }

  .version-strip__brand {
    font-size: 12px;
  }

  .version-strip__meta {
    margin-left: 0;
    font-size: 12px;
  }

  .lang-note {
    display: block;
    margin-left: auto;
  }

  .header-cta {
    display: inline-flex;
    margin-left: 6px;
  }

  .header-rail {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 90;
    display: flex;
    flex-direction: column;
    gap: 22px;
    width: var(--rail-w);
    padding: 22px 18px 24px;
    overflow-y: auto;
    border-right: 1px solid var(--line);
    background: var(--ink-800);
  }

  .rail-top {
    align-items: flex-start;
  }

  .nav-toggle {
    display: none;
  }

  .rail-section {
    margin-top: 0;
  }

  .primary-nav {
    display: flex;
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }

  .primary-nav__link {
    font-size: 14px;
    padding: 9px 10px 9px 12px;
  }

  .primary-nav__link:hover {
    padding-left: 16px;
  }

  .primary-nav__cta {
    display: none;
  }

  .rail-footer {
    display: grid;
    gap: 3px;
  }

  .footer-grid {
    grid-template-columns: 1.25fr repeat(3, 0.8fr) 1.55fr;
    gap: 28px;
  }

  .footer-contact {
    grid-column: auto;
  }
}

@media (min-width: 1200px) {
  .header-rail {
    gap: 26px;
  }

  .primary-nav__link {
    font-size: 14px;
  }
}

@media (max-width: 639px) {
  .version-strip__brand {
    overflow: hidden;
    max-width: 46vw;
    text-overflow: ellipsis;
  }

  .footer-archive__meta {
    max-width: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .card:hover,
  .btn:hover,
  .footer-link:hover {
    transform: none;
  }

  .primary-nav__link:hover {
    padding-left: 12px;
  }

  .primary-nav__link:hover::before {
    height: 0;
  }
}
