/* === Design tokens === */
:root {
  --color-bg: #f6f4ef;
  --color-bg-elevated: #ffffff;
  --color-ink: #0f1419;
  --color-ink-muted: #4a5568;
  --color-border: rgba(15, 20, 25, 0.08);
  --color-white: #ffffff;
  --color-rf-blue: #0039a6;
  --color-rf-red: #d52b1e;
  --color-gold: #b8860b;
  --font-sans: "Manrope", system-ui, sans-serif;
  --font-serif: "Cormorant Garamond", "Times New Roman", serif;
  --radius-lg: 20px;
  --radius-md: 12px;
  --shadow-soft: 0 24px 60px rgba(15, 20, 25, 0.08);
  --shadow-card: 0 12px 40px rgba(15, 20, 25, 0.06);
  --header-h: 76px;
  --ease-cinematic: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  overflow-x: hidden;
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-ink);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  overflow-x: hidden;
}

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

a {
  color: var(--color-rf-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--color-rf-red);
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

/* === Film grain overlay (photochemical texture) === */
.film-grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  opacity: 0.042;
  mix-blend-mode: overlay;
  background-image: repeating-radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 100%),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.03) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.025) 0 1px, transparent 1px 4px);
  background-size: 240px 240px, 100% 100%, 100% 100%;
  animation: grainDrift 7.5s steps(12, end) infinite;
}

@keyframes grainDrift {
  0% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(-1.2%, 0.8%);
  }
  50% {
    transform: translate(0.6%, -0.9%);
  }
  75% {
    transform: translate(-0.4%, -0.3%);
  }
  100% {
    transform: translate(0, 0);
  }
}

/* === Top tricolor ribbon === */
.flag-ribbon {
  display: flex;
  height: 4px;
  position: sticky;
  top: 0;
  z-index: 200;
}

.flag-ribbon__stripe {
  flex: 1;
}

.flag-ribbon__stripe--white {
  background: var(--color-white);
}

.flag-ribbon__stripe--blue {
  background: var(--color-rf-blue);
}

.flag-ribbon__stripe--red {
  background: var(--color-rf-red);
}

/* === Header === */
.site-header {
  position: sticky;
  top: 4px;
  z-index: 100;
  background: rgba(246, 244, 239, 0.82);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid var(--color-border);
  transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.site-header.is-scrolled {
  background: rgba(246, 244, 239, 0.94);
  box-shadow: 0 12px 40px rgba(15, 20, 25, 0.06);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  text-decoration: none;
  color: inherit;
}

.brand__emblem {
  flex-shrink: 0;
  filter: drop-shadow(0 4px 12px rgba(0, 57, 166, 0.15));
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand__line {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-ink-muted);
}

.brand__line--accent {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: var(--color-ink);
}

.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem 1.25rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-ink);
  text-decoration: none;
  padding: 0.5rem 0;
  position: relative;
}

.site-nav a:not(.site-nav__cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.25rem;
  width: 0;
  height: 1px;
  background: currentColor;
  opacity: 0.35;
  transition: width 0.45s var(--ease-cinematic);
}

.site-nav a:not(.site-nav__cta):hover::after {
  width: 100%;
}

.site-nav__cta {
  padding: 0.55rem 1.15rem !important;
  border-radius: 999px;
  background: var(--color-ink);
  color: var(--color-white) !important;
}

.site-nav__cta::after {
  display: none;
}

.site-nav__cta:hover {
  background: var(--color-rf-blue);
  color: var(--color-white) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 24px;
  background: var(--color-ink);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.site-nav-backdrop {
  display: none;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* === Hero === */
.hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 8vw, 6rem);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: -8%;
  will-change: transform;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(0, 57, 166, 0.09), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(213, 43, 30, 0.06), transparent 50%),
    linear-gradient(180deg, var(--color-bg) 0%, #ebe7df 100%);
  pointer-events: none;
}

.hero__vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 85% 75% at 50% 45%, transparent 35%, rgba(15, 20, 25, 0.06) 100%);
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
}

.hero__title-line {
  display: block;
  overflow: hidden;
}

.hero__title-inner {
  display: inline-block;
  transform: translate3d(0, 108%, 0);
  animation: titleLift 1.2s var(--ease-cinematic) forwards;
}

.hero__title-line:nth-child(2) .hero__title-inner {
  animation-delay: 0.14s;
}

@keyframes titleLift {
  to {
    transform: translate3d(0, 0, 0);
  }
}

.hero__title-highlight {
  background: linear-gradient(120deg, var(--color-rf-blue), #1a56c4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-ink-muted);
  margin: 0 0 1.25rem;
  opacity: 0;
  animation: eyebrowFade 0.9s var(--ease-cinematic) 0.05s forwards;
}

@keyframes eyebrowFade {
  from {
    opacity: 0;
    letter-spacing: 0.22em;
  }
  to {
    opacity: 1;
    letter-spacing: 0.14em;
  }
}

.eyebrow__flag {
  border-radius: 2px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.hero__lead {
  font-size: 1.0625rem;
  color: var(--color-ink-muted);
  max-width: 52ch;
  margin: 0 0 1rem;
}

.hero__person {
  margin: -0.35rem 0 1rem;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--color-rf-blue);
}

.hero__lead--secondary {
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  opacity: 0.95;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.35s var(--ease-cinematic), box-shadow 0.35s, background 0.35s, color 0.35s, border-color 0.35s;
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-rf-blue), #0d47a1);
  color: var(--color-white);
  box-shadow: 0 10px 32px rgba(0, 57, 166, 0.32);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 42px rgba(0, 57, 166, 0.38);
  color: var(--color-white);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(15, 20, 25, 0.12);
  color: var(--color-ink);
}

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

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--color-border);
}

.hero__stats dt {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-ink-muted);
}

.hero__stats dd {
  margin: 0.35rem 0 0;
  font-weight: 600;
  font-size: 0.9375rem;
}

.hero__visual {
  position: relative;
  justify-self: end;
  width: min(100%, 420px);
  will-change: auto;
  transform: none !important;
  transition: none !important;
}

.hero__photo {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  position: relative;
  transform: none !important;
  transition: none !important;
}

.hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.18);
}

.hero__photo-frame {
  overflow: hidden;
  border-radius: inherit;
  aspect-ratio: 4 / 5;
  transform: none !important;
  transition: none !important;
}

.hero__photo-img {
  width: 99%;
  height: 99%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 20%;
  margin: 0.5%;
  transform: none !important;
  animation: none !important;
  transition: none !important;
}

.hero__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 1rem;
  font-size: 0.75rem;
  color: var(--color-white);
  background: linear-gradient(transparent, rgba(15, 20, 25, 0.82));
}

.hero__badge {
  position: absolute;
  bottom: -12px;
  left: -12px;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1rem 0.75rem 0.85rem;
  background: var(--color-bg-elevated);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.25;
  max-width: 200px;
}

.hero__badge img {
  flex-shrink: 0;
}

/* === Sections === */
.section {
  padding: clamp(3.5rem, 8vw, 6.25rem) 0;
}

.section-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-rf-red);
  margin: 0 0 0.5rem;
}

.section--about {
  background: var(--color-bg-elevated);
  border-block: 1px solid var(--color-border);
}

.section--biography {
  background: linear-gradient(180deg, #f9f7f2 0%, #f2eee5 100%);
}

.section--priorities {
  background: linear-gradient(185deg, #f3efe6 0%, var(--color-bg) 42%, #ebe6dc 100%);
}

.section--achievements {
  background: linear-gradient(180deg, var(--color-bg) 0%, #f0ece4 100%);
}

.section--gallery {
  background: var(--color-bg-elevated);
}

.section--news {
  background: var(--color-bg);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.75rem;
}

.section-head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  max-width: none;
  text-align: left;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 600;
  margin: 0 0 0.65rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  margin: 0;
  color: var(--color-ink-muted);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.about-subheading {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 2rem 0 1rem;
}

.text-link {
  font-weight: 600;
  text-decoration: none;
  color: var(--color-rf-blue);
  white-space: nowrap;
}

.text-link:hover {
  color: var(--color-rf-red);
}

/* === In-view: horizontal «wipe» mask (not generic fade-up) === */
.inview-mask {
  opacity: 0;
  transform: translate3d(-14px, 0, 0);
  clip-path: inset(0 100% 0 0);
  transition:
    opacity 0.85s var(--ease-cinematic),
    clip-path 1.05s var(--ease-cinematic),
    transform 1.05s var(--ease-cinematic);
}

.inview-mask.is-inview {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  clip-path: inset(0 0 0 0);
}

.section-head--inview.inview-mask {
  transform: translate3d(0, 18px, 0);
  clip-path: inset(0 0 100% 0);
}

.section-head--inview.inview-mask.is-inview {
  transform: translate3d(0, 0, 0);
  clip-path: inset(0 0 0 0);
}

/* === About === */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.about-text p {
  margin: 0 0 1.1rem;
  color: var(--color-ink-muted);
  line-height: 1.72;
}

.about-list {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.about-list li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--color-ink);
  line-height: 1.65;
}

.about-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--color-ink);
  transform: rotate(45deg);
}

.about-strip {
  display: grid;
  gap: 0.75rem;
}

.about-strip img {
  width: 100%;
  height: 168px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  filter: saturate(1.02) contrast(1.02);
}

.about-strip img:nth-child(2) {
  margin-left: 1.25rem;
}

.about-strip img:nth-child(3) {
  margin-right: 1.25rem;
}

/* === Biography === */
.bio-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.95rem;
  align-items: stretch;
}

.bio-grid::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 1px;
  background: linear-gradient(180deg, rgba(0, 57, 166, 0.2), rgba(213, 43, 30, 0.22));
  transform: translateX(-0.5px);
}

.bio-card {
  position: relative;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(15, 20, 25, 0.12);
  border-radius: 16px;
  padding: 1.1rem 1.1rem 1rem;
  box-shadow: 0 10px 24px rgba(15, 20, 25, 0.06);
  transition: transform 0.35s var(--ease-cinematic), box-shadow 0.35s var(--ease-cinematic), border-color 0.35s var(--ease-cinematic);
}

.bio-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 57, 166, 0.22);
  box-shadow: 0 16px 34px rgba(15, 20, 25, 0.1);
}

.bio-grid .bio-card:nth-child(1) {
  grid-column: 1 / span 5;
}

.bio-grid .bio-card:nth-child(2) {
  grid-column: 8 / span 5;
  margin-top: 0.65rem;
}

.bio-grid .bio-card:nth-child(3) {
  grid-column: 1 / span 5;
  margin-top: -0.2rem;
}

.bio-grid .bio-card:nth-child(4) {
  grid-column: 8 / span 5;
  margin-top: 0.45rem;
}

.bio-card::before {
  content: "";
  position: absolute;
  top: 1.15rem;
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-rf-blue), var(--color-rf-red));
  box-shadow: 0 0 0 4px rgba(0, 57, 166, 0.08);
}

.bio-grid .bio-card:nth-child(odd)::before {
  right: -1.28rem;
}

.bio-grid .bio-card:nth-child(even)::before {
  left: -1.28rem;
}

.bio-card__year {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-rf-red);
}

.bio-card__title {
  margin: 0 0 0.45rem;
  font-family: var(--font-serif);
  font-size: 1.28rem;
  line-height: 1.24;
}

.bio-card__text {
  margin: 0;
  color: var(--color-ink-muted);
  font-size: 0.93rem;
  line-height: 1.62;
}

.bio-actions {
  margin-top: 1.1rem;
  display: flex;
  justify-content: center;
}

/* === Priorities === */
.priorities-intro {
  max-width: 900px;
  margin: 0 auto 2.5rem;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--color-ink-muted);
}

.priority-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.priority-card {
  position: relative;
  background: var(--color-bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: 0;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.priority-card::before {
  content: "";
  position: absolute;
  left: 2px !important;
  top: 2px !important;
  bottom: 2px !important;
  width: 4px !important;
  border-radius: calc(var(--radius-lg) - 2px) 0 0 calc(var(--radius-lg) - 2px) !important;
  background: linear-gradient(
    to bottom,
    #f7f7f7 0%,
    #f7f7f7 33.333%,
    #0039a6 33.333%,
    #0039a6 66.666%,
    #d52b1e 66.666%,
    #d52b1e 100%
  ) !important;
  box-shadow: inset -1px 0 rgba(15, 20, 25, 0.14) !important;
}

.priority-card__index {
  position: static;
  font-family: var(--font-serif);
  font-size: 1.22rem;
  font-weight: 600;
  color: rgba(15, 20, 25, 0.52);
  letter-spacing: 0.04em;
  line-height: 1;
  min-width: 2.1rem;
}

.priority-card__title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.26;
}

.priority-card__problem,
.priority-card__action {
  margin: 0 0 0.85rem;
  font-size: 0.98rem;
  line-height: 1.68;
  color: var(--color-ink-muted);
}

.priority-card__action:last-child {
  margin-bottom: 0;
}

.priority-card strong {
  color: var(--color-ink);
  font-weight: 600;
}

.priority-accordion {
  display: block;
}

.priority-accordion > summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 0.9rem;
  padding: 1rem 1.2rem 0.95rem 1.2rem;
}

.priority-accordion > summary::-webkit-details-marker {
  display: none;
}

.priority-accordion > summary::after {
  content: "▾";
  position: static;
  font-size: 0.96rem;
  line-height: 1;
  color: var(--color-ink-muted);
  transition: transform 0.25s var(--ease-out), color 0.25s var(--ease-out);
}

.priority-accordion[open] > summary::after {
  transform: rotate(180deg);
  color: var(--color-rf-blue);
}

.priority-card__content {
  padding: 0 1.2rem 1.2rem 4.2rem;
  border-top: 1px solid rgba(15, 20, 25, 0.07);
}

.priority-accordion > summary:hover .priority-card__title {
  color: var(--color-rf-blue);
}

.priority-accordion > summary:hover .priority-card__index {
  color: rgba(0, 57, 166, 0.7);
}

.priority-list .inview-mask:nth-child(1) {
  transition-delay: 0.04s;
}

.priority-list .inview-mask:nth-child(2) {
  transition-delay: 0.1s;
}

.priority-list .inview-mask:nth-child(3) {
  transition-delay: 0.16s;
}

.priority-list .inview-mask:nth-child(4) {
  transition-delay: 0.22s;
}

.priority-list .inview-mask:nth-child(5) {
  transition-delay: 0.28s;
}

.priority-list .inview-mask:nth-child(6) {
  transition-delay: 0.34s;
}

.achievements .inview-mask:nth-child(1) {
  transition-delay: 0.04s;
}

.achievements .inview-mask:nth-child(2) {
  transition-delay: 0.1s;
}

.achievements .inview-mask:nth-child(3) {
  transition-delay: 0.16s;
}

.achievements .inview-mask:nth-child(4) {
  transition-delay: 0.22s;
}

.news-grid .inview-mask:nth-child(1) {
  transition-delay: 0.04s;
}

.news-grid .inview-mask:nth-child(2) {
  transition-delay: 0.09s;
}

.news-grid .inview-mask:nth-child(3) {
  transition-delay: 0.14s;
}

.news-grid .inview-mask:nth-child(4) {
  transition-delay: 0.19s;
}

.gallery .inview-mask:nth-child(1) {
  transition-delay: 0.05s;
}

.gallery .inview-mask:nth-child(2) {
  transition-delay: 0.1s;
}

.gallery .inview-mask:nth-child(3) {
  transition-delay: 0.15s;
}

.gallery .inview-mask:nth-child(4) {
  transition-delay: 0.2s;
}

.gallery .inview-mask:nth-child(5) {
  transition-delay: 0.25s;
}

/* === Achievements === */
.achievements {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.achievement-card {
  position: relative;
  background: var(--color-bg-elevated);
  padding: 1.45rem 1.35rem 1.3rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(15, 20, 25, 0.1);
  box-shadow: 0 10px 28px rgba(15, 20, 25, 0.06);
  overflow: hidden;
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.achievement-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #ffffff 0 33.333%, var(--color-rf-blue) 33.333% 66.666%, var(--color-rf-red) 66.666% 100%);
}

.achievement-card:hover {
  border-color: rgba(0, 57, 166, 0.2);
  box-shadow: 0 14px 32px rgba(15, 20, 25, 0.09);
}

.achievement-card__icon {
  display: inline-grid;
  place-items: center;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 8px;
  font-size: 0.56rem;
  color: var(--color-rf-blue);
  margin-bottom: 0.65rem;
  letter-spacing: 0.12em;
  background: rgba(0, 57, 166, 0.08);
  border: 1px solid rgba(0, 57, 166, 0.16);
}

.achievement-card h3 {
  font-family: var(--font-serif);
  font-size: 1.24rem;
  margin: 0 0 0.45rem;
  font-weight: 600;
  line-height: 1.28;
}

.achievement-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--color-ink-muted);
  line-height: 1.62;
}

.achievements .achievement-card:nth-child(1) {
  grid-column: 1 / span 7;
  min-height: 220px;
}

.achievements .achievement-card:nth-child(2) {
  grid-column: 8 / span 5;
  min-height: 220px;
  margin-top: 0.9rem;
}

.achievements .achievement-card:nth-child(3) {
  grid-column: 1 / span 5;
  min-height: 205px;
  margin-top: -0.45rem;
}

.achievements .achievement-card:nth-child(4) {
  grid-column: 6 / span 7;
  min-height: 205px;
}

/* === Gallery: Ken Burns inside frames === */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 220px 220px;
  gap: 0.75rem;
}

.gallery__item {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.gallery__frame {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.gallery__open {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
  width: 100%;
  height: 100%;
  display: block;
}

.gallery__frame img {
  width: 120%;
  height: 120%;
  max-width: none;
  margin: -10%;
  object-fit: cover;
  will-change: transform;
}

.gallery__frame--kb-left img {
  animation: kenBurnsGalleryA 38s ease-in-out infinite alternate;
}

.gallery__frame--kb-right img {
  animation: kenBurnsGalleryB 42s ease-in-out infinite alternate;
}

.gallery__frame--video {
  position: relative;
  cursor: pointer;
}

.gallery__frame--video .gallery__thumb-video {
  width: 120%;
  height: 120%;
  max-width: none;
  margin: -10%;
  object-fit: cover;
  pointer-events: none;
  display: block;
}

.gallery__play-badge {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 12, 18, 0.15) 0%, rgba(8, 12, 18, 0.45) 100%);
}

.gallery__play-badge::after {
  content: "";
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230039a6'%3E%3Cpath d='M8 5v14l11-7L8 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 58% 50%;
  background-size: 24px 24px;
}

@keyframes kenBurnsGalleryA {
  0% {
    transform: scale(1.05) translate(1%, 0.5%);
  }
  100% {
    transform: scale(1.12) translate(-2.5%, -1.5%);
  }
}

@keyframes kenBurnsGalleryB {
  0% {
    transform: scale(1.06) translate(-1.5%, 1%);
  }
  100% {
    transform: scale(1.13) translate(2%, -2%);
  }
}

.gallery__item--large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s var(--ease-out), visibility 0.28s var(--ease-out);
}

.gallery-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.gallery-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 18, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.gallery-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(1200px, 94vw);
  height: min(88vh, 920px);
  margin: 6vh auto;
  display: grid;
  grid-template-columns: 64px 1fr 64px;
  align-items: center;
  gap: 0.75rem;
}

.gallery-lightbox__figure {
  margin: 0;
  height: 100%;
  display: grid;
  grid-template-rows: 1fr auto;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  overflow: hidden;
}

.gallery-lightbox__media {
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 10, 18, 0.72);
  padding: 0.5rem;
}

.gallery-lightbox__image {
  display: block;
  max-width: 100%;
  max-height: min(72vh, 760px);
  width: auto;
  height: auto;
  object-fit: contain;
}

.gallery-lightbox__video {
  display: none;
  max-width: 100%;
  max-height: min(72vh, 760px);
  width: auto;
  height: auto;
  background: #000;
}

.gallery-lightbox__video.is-visible {
  display: block;
}

.gallery-lightbox__image.is-hidden {
  display: none;
}

.gallery-lightbox__caption {
  margin: 0;
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(0, 0, 0, 0.35);
}

.gallery-lightbox__nav,
.gallery-lightbox__close {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(8, 14, 24, 0.45);
  color: #fff;
  cursor: pointer;
}

.gallery-lightbox__nav {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  font-size: 2rem;
  line-height: 1;
  transition: transform 0.2s var(--ease-out), background 0.2s var(--ease-out);
}

.gallery-lightbox__nav:hover {
  transform: scale(1.06);
  background: rgba(15, 30, 55, 0.72);
}

.gallery-lightbox__close {
  position: absolute;
  top: -6px;
  right: 6px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  font-size: 1.2rem;
  z-index: 2;
}

/* === News === */
.news-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

.news-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 18px;
  border: 1px solid rgba(15, 20, 25, 0.1);
  box-shadow: 0 12px 34px rgba(15, 20, 25, 0.06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 0.35s var(--ease-out), transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.news-card:hover {
  border-color: rgba(0, 57, 166, 0.22);
  transform: translateY(-3px);
  box-shadow: 0 18px 46px rgba(15, 20, 25, 0.11);
}

.news-card__body {
  padding: 1.2rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-card__media {
  margin: 0;
  border-bottom: 1px solid rgba(15, 20, 25, 0.08);
  overflow: hidden;
}

.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-cinematic);
}

.news-card:hover .news-card__media img {
  transform: scale(1.04);
}

.news-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0 0 0.55rem;
}

.news-card__date {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-rf-red);
  letter-spacing: 0.04em;
}

.news-card__tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-rf-blue);
  background: rgba(0, 57, 166, 0.08);
}

.news-card__title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 0.55rem;
  line-height: 1.27;
}

.news-card__excerpt {
  margin: 0 0 0.9rem;
  flex: 1;
  font-size: 0.93rem;
  color: var(--color-ink-muted);
  line-height: 1.62;
}

.news-card__more {
  font-weight: 600;
  font-size: 0.84rem;
  text-decoration: none;
  color: var(--color-rf-blue);
  letter-spacing: 0.02em;
}

.news-card__more:hover {
  color: var(--color-rf-red);
}

.news-card--feature {
  grid-column: 1 / span 8;
  grid-row: span 2;
  background: #0d1c30;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.14);
}

.news-card--feature .news-card__media {
  border-bottom-color: rgba(255, 255, 255, 0.15);
  min-height: 250px;
}

.news-card--feature .news-card__body {
  padding: 1.35rem 1.45rem 1.45rem;
}

.news-card--feature .news-card__title {
  font-size: 1.6rem;
  line-height: 1.2;
}

.news-card--feature .news-card__excerpt {
  color: rgba(255, 255, 255, 0.84);
}

.news-card--feature .news-card__date {
  color: rgba(255, 255, 255, 0.95);
}

.news-card--feature .news-card__tag {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.news-card--feature .news-card__more {
  color: #8ec0ff;
}

.news-card--feature .news-card__more:hover {
  color: #ffffff;
}

.news-card--with-image {
  grid-column: 9 / span 4;
}

.news-card--with-image .news-card__media {
  min-height: 180px;
}

.news-card--text {
  grid-column: span 6;
}

/* === CTA === */
.section--cta {
  padding-bottom: 0;
}

.cta-block {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: center;
  background: linear-gradient(145deg, #0a1628 0%, #132a4a 42%, #0d213f 100%);
  color: var(--color-white);
  padding: clamp(2.5rem, 5vw, 4rem);
  border-radius: var(--radius-lg);
  box-shadow: 0 32px 80px rgba(10, 22, 40, 0.45);
  margin-bottom: -3rem;
  position: relative;
  z-index: 1;
}

.cta-block::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(ellipse 70% 80% at 80% 20%, rgba(255, 255, 255, 0.06), transparent 55%);
}

.cta-block__symbol {
  position: relative;
  z-index: 1;
}

.cta-block__symbol img {
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.cta-block__content {
  position: relative;
  z-index: 1;
}

.cta-block__title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.cta-block__text {
  margin: 0 0 1.25rem;
  opacity: 0.9;
  max-width: 54ch;
  line-height: 1.65;
}

.cta-block__contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.cta-form {
  display: grid;
  gap: 0.65rem;
  width: min(100%, 700px);
}

.cta-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.cta-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  text-align: left;
}

.cta-form__field > span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.cta-form__field input,
.cta-form__field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 10px;
  padding: 0.58rem 0.72rem;
  font: inherit;
  line-height: 1.4;
  transition: border-color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}

.cta-form__field textarea {
  resize: vertical;
  min-height: 84px;
}

.cta-form__field input::placeholder,
.cta-form__field textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.cta-form__field input:focus,
.cta-form__field textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.18);
}

.cta-form__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.cta-form__status {
  margin: 0;
  min-height: 1.2em;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.92);
}

.cta-block .btn--primary {
  background: var(--color-white);
  color: var(--color-rf-blue);
  box-shadow: none;
}

.cta-block .btn--primary:hover {
  background: #e8edf5;
  color: #0d47a1;
}

.cta-block__hint {
  font-size: 0.8125rem;
  opacity: 0.78;
  max-width: 48ch;
}

/* === Footer === */
.site-footer {
  background: #0c1218;
  color: rgba(255, 255, 255, 0.82);
  padding: clamp(5rem, 10vw, 7rem) 0 2.5rem;
  font-size: 0.9375rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--color-white);
  text-decoration: underline;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

.site-footer__brand {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  row-gap: 0.75rem;
  align-items: center;
}

.site-footer__icons {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.site-footer__emblem {
  flex-shrink: 0;
  filter: drop-shadow(0 4px 20px rgba(255, 255, 255, 0.12));
}

.site-footer__party-emblem {
  flex-shrink: 0;
  height: 54px;
  width: auto;
  max-width: 48px;
  object-fit: contain;
  filter: drop-shadow(0 4px 16px rgba(255, 255, 255, 0.1));
}

.site-footer__brand-text {
  padding-top: 0.2em;
}

.site-footer__brand strong {
  display: block;
  color: var(--color-white);
  font-size: 1rem;
  margin-bottom: 0;
  line-height: 1.35;
}

.site-footer__brand p {
  margin: 0;
  line-height: 1.6;
  opacity: 0.78;
  max-width: 54ch;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
}

.site-footer__copy {
  grid-column: 1 / -1;
  margin: 2rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem;
  opacity: 0.55;
}

/* === Responsive === */
@media (max-width: 960px) {
  .container {
    width: min(1120px, 94vw);
  }

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

  .hero__visual {
    justify-self: center;
    width: min(100%, 360px);
  }

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

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

  .bio-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .bio-grid::before {
    display: none;
  }

  .bio-grid .bio-card:nth-child(1),
  .bio-grid .bio-card:nth-child(2),
  .bio-grid .bio-card:nth-child(3),
  .bio-grid .bio-card:nth-child(4) {
    grid-column: auto;
    margin-top: 0;
  }

  .bio-card::before {
    left: auto;
    right: 0.95rem;
    top: 0.95rem;
  }

  .about-strip img:nth-child(2),
  .about-strip img:nth-child(3) {
    margin-left: 0;
    margin-right: 0;
  }

  .priority-card {
    padding: 0;
  }

  .priority-card__index {
    min-width: 0;
    font-size: 1.08rem;
  }

  .priority-accordion > summary {
    grid-template-columns: 1fr auto;
    row-gap: 0.55rem;
    padding: 0.92rem 1rem 0.82rem;
  }

  .priority-card__content {
    padding: 0 1rem 1.05rem;
  }

  .priority-accordion > summary .priority-card__index {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }

  .priority-accordion > summary .priority-card__title {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
  }

  .priority-accordion > summary::after {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    align-self: center;
  }

  .achievements {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .achievements .achievement-card:nth-child(1),
  .achievements .achievement-card:nth-child(2),
  .achievements .achievement-card:nth-child(3),
  .achievements .achievement-card:nth-child(4) {
    grid-column: auto;
    min-height: 0;
    margin-top: 0;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .gallery__item--large {
    grid-column: span 2;
    grid-row: span 1;
    min-height: 280px;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .news-card--feature,
  .news-card--with-image,
  .news-card--text {
    grid-column: auto;
    grid-row: auto;
  }

  .news-card--feature .news-card__media {
    min-height: 220px;
  }

  .news-card--feature .news-card__title {
    font-size: 1.35rem;
  }

  .cta-block {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta-block__symbol {
    justify-self: center;
  }

  .cta-block__contacts {
    align-items: center;
  }

  .cta-form {
    width: 100%;
  }

  .cta-form__row {
    grid-template-columns: 1fr;
  }

  .cta-form__field {
    text-align: left;
  }

  .cta-form__actions {
    align-items: center;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    z-index: 1302;
  }

  .site-header {
    overflow: visible;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  body.menu-open {
    overflow: hidden !important;
    touch-action: none;
  }

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
    position: relative;
    overscroll-behavior-x: none;
  }

  .film-grain {
    display: none;
  }

  .site-header__inner {
    min-height: 68px;
  }

  .brand {
    gap: 0.55rem;
  }

  .brand__emblem {
    width: 36px;
    height: 42px;
  }

  .brand__line {
    font-size: 0.66rem;
    line-height: 1.2;
  }

  .brand__line--accent {
    font-size: 0.9rem;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed !important;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(86vw, 360px);
    max-width: 360px;
    min-width: 280px;
    height: 100vh;
    height: 100dvh;
    background: #f6f4ef;
    border-left: 1px solid rgba(15, 20, 25, 0.12);
    box-shadow: -16px 0 34px rgba(15, 20, 25, 0.16);
    padding: calc(var(--header-h) + 0.75rem) 1rem max(1.25rem, env(safe-area-inset-bottom));
    z-index: 1202;
    display: none !important;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .site-nav.is-open {
    display: block !important;
  }

  .site-nav__list {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    width: 100%;
    max-width: none;
    min-width: 0;
    height: auto;
    max-height: none;
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .site-nav__close {
    position: relative;
    display: block;
    margin: 0 0 0.85rem auto;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(15, 20, 25, 0.18);
    border-radius: 999px;
    background: #fff;
    color: var(--color-ink);
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    z-index: 1;
  }

  .site-nav__list li {
    display: block;
    width: 100%;
    flex: 0 0 auto;
  }

  .site-nav__list a {
    display: block;
    padding: 0.9rem 0.35rem;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-ink);
    width: 100%;
    text-align: right;
    font-size: 0.95rem;
  }

  .site-nav__list li:last-child a {
    border-bottom: 0;
  }

  .site-nav__cta {
    margin-top: 0.65rem;
    text-align: center !important;
  }

  .hero {
    padding: 1.55rem 0 2.35rem;
  }

  .eyebrow {
    margin-bottom: 0.9rem;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
  }

  .hero__title {
    margin-bottom: 0.95rem;
    line-height: 1.08;
  }

  .hero__person {
    margin: -0.15rem 0 0.8rem;
    font-size: 0.9rem;
  }

  .hero__lead,
  .section-subtitle {
    font-size: 0.95rem;
    line-height: 1.58;
  }

  .hero__lead--secondary {
    margin-bottom: 1rem;
  }

  .hero__actions {
    gap: 0.55rem;
    margin-bottom: 1.2rem;
  }

  .hero__actions .btn {
    width: 100%;
    padding: 0.78rem 1rem;
  }

  .hero__stats {
    gap: 0.6rem;
    padding-top: 0.95rem;
  }

  .hero__badge {
    position: static;
    margin-top: 0.65rem;
    max-width: none;
    justify-content: center;
  }

  .section {
    padding: 2.8rem 0;
  }

  .section-head {
    margin-bottom: 1.6rem;
  }

  .section-title {
    margin-bottom: 0.45rem;
  }

  .about-subheading {
    font-size: 1.32rem;
    margin-top: 1.35rem;
  }

  .about-list li {
    margin-bottom: 0.55rem;
    padding-left: 1.05rem;
  }

  .about-strip {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .about-strip img {
    height: 148px;
  }

  .priority-card__title {
    font-size: 1.08rem;
  }

  .priority-card__problem,
  .priority-card__action {
    font-size: 0.9rem;
    line-height: 1.56;
  }

  .achievement-card {
    padding: 1.05rem 1rem 1rem;
  }

  .achievement-card h3 {
    font-size: 1.08rem;
  }

  .news-card__body {
    padding: 0.95rem 0.95rem 1rem;
  }

  .news-card__title {
    font-size: 1.06rem;
  }

  .news-card__excerpt {
    font-size: 0.88rem;
    line-height: 1.5;
  }

  .news-card__meta {
    flex-wrap: wrap;
    gap: 0.45rem;
  }

  .cta-block {
    padding: 1.35rem 1rem;
    margin-bottom: -2rem;
  }

  .cta-block__symbol img {
    width: 82px;
    height: auto;
  }

  .cta-block__title {
    font-size: 1.45rem;
    margin-bottom: 0.45rem;
  }

  .cta-block__text {
    font-size: 0.9rem;
    margin-bottom: 0.85rem;
  }

  .cta-form__field > span {
    font-size: 0.72rem;
  }

  .cta-form__field input,
  .cta-form__field textarea {
    padding: 0.54rem 0.66rem;
  }

  .cta-form .btn--primary {
    width: 100%;
  }

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

  .gallery__item--large {
    grid-column: span 1;
    min-height: 240px;
  }

  .section-head--row {
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery-lightbox__dialog {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    width: min(96vw, 680px);
    height: auto;
    margin: 4vh auto;
    gap: 0.5rem;
  }

  .gallery-lightbox__figure {
    height: min(72vh, 560px);
  }

  .gallery-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    font-size: 1.7rem;
    z-index: 2;
  }

  .gallery-lightbox__nav--prev {
    left: 6px;
  }

  .gallery-lightbox__nav--next {
    right: 6px;
  }

  .site-footer {
    padding: 3rem 0 1.8rem;
  }

  .site-footer__brand {
    justify-content: center;
    text-align: center;
  }

  .site-footer__icons {
    justify-content: center;
    width: 100%;
  }

  .site-footer__links {
    width: 100%;
    gap: 0.35rem;
    align-items: center;
  }

  .site-footer__copy {
    margin-top: 1.35rem;
    padding-top: 1rem;
    text-align: center;
    line-height: 1.55;
  }
}

@media (max-width: 520px) {
  html,
  body {
    overflow-x: hidden !important;
  }

  .container {
    width: min(1120px, 95vw);
    max-width: 100%;
  }

  .site-nav {
    padding: 1rem;
    width: min(88vw, 340px);
  }

  .hero__title {
    font-size: clamp(1.8rem, 8vw, 2.25rem);
  }

  .hero__lead,
  .hero__lead--secondary,
  .section-subtitle {
    font-size: 0.9rem;
  }

  .btn {
    font-size: 0.88rem;
  }

  .about-strip img {
    height: 132px;
  }

  .bio-card {
    padding: 0.95rem 0.9rem 0.9rem;
  }

  .bio-card__title {
    font-size: 1.02rem;
  }

  .priority-accordion > summary {
    padding: 0.8rem 0.85rem 0.75rem;
  }

  .priority-card__content {
    padding: 0 0.85rem 0.95rem;
  }

  .priority-card__title {
    font-size: 1rem;
  }

  .gallery__play-badge::after {
    width: 44px;
    height: 44px;
    background-size: 20px 20px;
  }

  .news-card__tag {
    font-size: 0.66rem;
  }

  .cta-block {
    border-radius: 14px;
  }

  .site-footer__emblem {
    width: 44px;
    height: auto;
  }

  .site-footer__party-emblem {
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .film-grain {
    animation: none;
    opacity: 0.02;
  }

  .hero__title-inner {
    animation: none;
    transform: none;
  }

  .eyebrow {
    animation: none;
    opacity: 1;
    letter-spacing: 0.14em;
  }

  .hero__photo-img,
  .gallery__frame img {
    animation: none !important;
    width: 100%;
    height: 100%;
    margin: 0;
  }

  .inview-mask,
  .priority-list .inview-mask,
  .achievements .inview-mask,
  .news-grid .inview-mask,
  .gallery .inview-mask {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    transition: none !important;
    transition-delay: 0s !important;
  }

  .achievement-card,
  .achievement-card:hover {
    transform: none !important;
  }

  .achievement-card::after {
    display: none;
  }
}
