:root {
  /* Campaign colors from logo.svg, trojka.svg, and zaokruz.svg. */
  --navy: #213a77;
  --red: #c82a32;
  --yellow: #efbb00;
  --white: #ffffff;
  /* Minimal neutrals for text and borders only. */
  --ink: #262626;
  --muted: #595959;
  --line: #d5d3d3;
  --font: 'Montserrat', Arial, sans-serif;
  --space: clamp(20px, 4.8vw, 72px);
  --section-space: clamp(64px, 8vw, 112px);
  --content-width: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; }
body.dialog-open { overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 6px; }
button:focus-visible, .button:focus-visible { outline-color: var(--yellow); }
.container { width: min(var(--content-width), calc(100% - var(--space) * 2)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 10; top: 12px; left: 12px; transform: translateY(-180%); padding: 14px 20px; background: var(--navy); color: var(--white); }
.skip-link:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 5; background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { flex-shrink: 0; }
.brand img { width: 210px; height: auto; }
.navigation { display: flex; align-items: center; gap: 32px; }
.nav-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--navy); font-size: 14px; font-weight: 600; white-space: nowrap; }
.nav-link:hover { color: var(--red); }
.header-cta { white-space: nowrap; }
.site-header .header-cta { min-height: 46px; padding: 12px 22px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 38px; min-height: 52px; padding: 14px 24px; border: 0; font-size: 14px; font-weight: 700; transition: background .2s, transform .2s; }
.button span { font-size: 24px; font-weight: 500; line-height: 1; }
.button:hover { transform: translateY(-2px); }
.button-red { background: var(--red); color: var(--white); }
.button-red:hover { background: var(--navy); }
.button-navy { background: var(--navy); color: var(--white); }
.button-navy:hover { background: var(--red); }
.menu-toggle { display: none; }
.hero { position: relative; isolation: isolate; overflow: clip; background: var(--white); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding-top: 36px; padding-bottom: clamp(100px, 10vw, 150px); }
.hero-copy { position: relative; z-index: 2; min-width: 0; }
/* Both marks are transparent SVGs; no card, background, or recoloring. */
.hero-artwork { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .46fr); align-items: center; gap: 12px; max-width: 580px; margin: 12px 0 28px; }
.hero-script, .hero-number { width: 100%; height: auto; }
.hero-number { scale: 1.15; }
.hero-message { position: relative; top: -55px; z-index: 1; }
.hero h1 { font-size: clamp(28px, 2.8vw, 40px); line-height: 1.2; font-weight: 800; letter-spacing: -.04em; margin: 0; max-width: 590px; color: var(--navy); overflow-wrap: break-word; }
.hero-date { display: flex; align-items: center; gap: 14px; margin: 25px 0 0; color: var(--navy); font-size: 15px; font-weight: 600; line-height: 1.5; }
.hero-date::before { content: ''; flex: 0 0 32px; height: 3px; background: var(--red); }
/* A single angled collage, with open color fields for future photography. */
.hero-composition { height: clamp(310px, 28vw, 400px); position: relative; width: calc(100% + var(--space)); }
.panel { position: absolute; }
.panel-navy { inset: 0 0 8% 5%; background: var(--navy); clip-path: polygon(19% 0, 100% 7%, 82% 100%, 0 89%); }
.panel-red { inset: 63% 44% -4% -3%; background: var(--red); clip-path: polygon(14% 0, 100% 12%, 87% 100%, 0 87%); }
.panel-yellow { inset: 15% -5% 58% 73%; background: var(--yellow); clip-path: polygon(20% 0, 100% 9%, 81% 100%, 0 89%); }
.hero-crest { position: absolute; top: 14%; left: 47%; width: clamp(68px, 6.4vw, 92px); height: auto; }
.hero-waves { position: absolute; bottom: 0; left: 0; right: 0; z-index: 1; line-height: 0; pointer-events: none; }
.hero-waves img { width: 100%; height: auto; }
.candidates-section { padding-top: var(--section-space); padding-bottom: var(--section-space); }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); padding-bottom: 26px; margin-bottom: 38px; }
.section-heading h2 { min-width: 0; color: var(--navy); font-size: clamp(38px, 5vw, 64px); line-height: 1.08; letter-spacing: -.055em; margin: 0; font-weight: 800; }
.section-heading .heading-line { display: block; }
.section-heading .heading-number { color: var(--red); }
.section-heading .heading-subline { margin-top: clamp(12px, 1.5vw, 20px); font-size: clamp(22px, 3vw, 38px); line-height: 1.2; letter-spacing: -.035em; }
.section-mark { flex: none; width: clamp(110px, 13vw, 170px); height: auto; }
.candidate-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 28px; }
.candidate-card { min-width: 0; scroll-margin-top: 120px; }
.candidate-button { border: 0; padding: 0; width: 100%; height: 100%; background: none; color: inherit; text-align: left; display: flex; flex-direction: column; }
.candidate-photo { width: 100%; aspect-ratio: 4 / 5; position: relative; overflow: hidden; background: var(--white); }
.candidate-photo > img { width: 100%; height: 100%; object-fit: cover; object-position: center 32%; transition: transform .35s; }
.candidate-button:hover .candidate-photo > img { transform: scale(1.035); }
.candidate-number { position: absolute; left: 0; bottom: 0; width: 58px; height: 58px; display: grid; place-items: center; background: var(--navy); color: var(--white); font-size: 22px; font-weight: 700; }
.candidate-card:nth-child(3n + 2) .candidate-number { background: var(--red); }
.candidate-card:nth-child(3n) .candidate-number { background: var(--yellow); color: var(--navy); }
.card-arrow { position: absolute; bottom: 0; right: 0; width: 48px; height: 48px; background: var(--white); color: var(--navy); display: grid; place-items: center; font-size: 26px; transition: background .2s; }
.candidate-button:hover .card-arrow { background: var(--yellow); }
.candidate-copy { padding-top: 21px; }
.candidate-name { margin: 0 0 10px; color: var(--navy); font-size: clamp(18px, 1.7vw, 24px); line-height: 1.25; font-weight: 700; letter-spacing: -.025em; }
.candidate-profession { margin: 0 0 12px; font-size: 14px; line-height: 1.6; }
.candidate-location { color: var(--muted); font-size: 12px; line-height: 1.5; margin: 0; display: inline-flex; align-items: center; gap: 6px; }
.location-pin { flex: none; fill: var(--red); }
.location-pin circle { fill: var(--white); }
.view-all-wrap { margin-top: 48px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.candidate-count { font-size: 12px; letter-spacing: .12em; color: var(--muted); }
.view-all-wrap .button { min-width: 240px; }
.summary-section { background: var(--navy); color: var(--white); padding-block: clamp(56px, 6vw, 88px); }
.summary-inner { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); gap: clamp(40px, 4vw, 64px); align-items: start; }
.summary-inner h2 { margin: 0; color: var(--white); font-size: clamp(32px, 3.5vw, 52px); font-weight: 800; line-height: 1.18; letter-spacing: -.04em; overflow-wrap: break-word; }
.summary-artwork { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .72fr); align-items: center; gap: 0; width: min(100%, 590px); margin-top: clamp(24px, 3vw, 40px); }
.summary-artwork img { width: 100%; height: auto; filter: brightness(0) invert(1); }
.summary-artwork img:last-child { filter: url(#summary-number-colors); }
.summary-color-filter { position: absolute; width: 0; height: 0; overflow: hidden; }
.summary-copy { min-width: 0; max-width: 62ch; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.65; }
.summary-copy p { margin: 0; text-wrap: pretty; }
.summary-copy p + p { margin-top: 26px; }
.summary-copy strong { font-weight: 700; }
.testimonials-section { background: var(--white); padding-block: clamp(56px, 6vw, 84px); }
.testimonials-section h2 { max-width: 1040px; margin: 0 0 clamp(28px, 3vw, 44px); color: var(--navy); font-size: clamp(26px, 3vw, 40px); font-weight: 800; line-height: 1.13; letter-spacing: -.035em; overflow-wrap: break-word; }
.testimonials-section h2::after { content: ''; display: block; width: 68px; height: 4px; margin-top: 18px; background: var(--red); }
.testimonial-slide { display: grid; grid-template-columns: minmax(0, 30%) minmax(0, 1fr); align-items: center; gap: clamp(60px, 4.5vw, 70px); }
.testimonial-photo { min-width: 0; aspect-ratio: 4 / 5; background: var(--white); }
.testimonial-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.testimonial-copy { min-width: 0; max-width: 65ch; }
.testimonial-name { margin: 0 0 12px; color: var(--navy); font-size: clamp(32px, 3.5vw, 48px); font-weight: 800; line-height: 1.12; letter-spacing: -.035em; }
.testimonial-role { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.5; font-weight: 600; }
.testimonial-quote { margin: clamp(26px, 3vw, 40px) 0 28px; padding-left: 24px; border-left: 4px solid var(--red); color: var(--ink); font-size: clamp(17px, 1.35vw, 19px); line-height: 1.6; text-wrap: pretty; }
.testimonial-profile { min-height: 48px; padding: 8px 0; border: 0; border-bottom: 3px solid var(--red); background: none; color: var(--navy); font-size: 16px; font-weight: 700; cursor: pointer; }
.testimonial-profile:hover { color: var(--red); }
.testimonial-controls { display: flex; justify-content: flex-start; align-items: center; gap: 20px; margin-top: 28px; }
.testimonial-arrow { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 2px solid var(--navy); border-radius: 50%; background: var(--white); color: var(--navy); cursor: pointer; transition: background .2s, color .2s; }
.testimonial-arrow:hover { background: var(--navy); color: var(--white); }
.testimonial-count { min-width: 7ch; color: var(--navy); font-size: 16px; font-weight: 700; text-align: center; font-variant-numeric: tabular-nums; }
.testimonial-arrow:focus-visible, .testimonial-profile:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
.campaign-section { position: relative; overflow: clip; background: var(--white); padding-block: clamp(56px, 6vw, 88px); }
.campaign-section::after { content: ''; position: absolute; inset: 0 0 auto auto; background: var(--yellow); width: 90px; height: 12px; }
.campaign-inner { display: grid; grid-template-columns: minmax(220px, 280px) minmax(0, 1fr); align-items: center; gap: clamp(24px, 2.5vw, 40px); }
.campaign-number { display: grid; place-items: center; }
.campaign-number img { width: clamp(200px, 17vw, 248px); height: auto; }
.campaign-statement h2 { font-size: clamp(26px, 3.55vw, 48px); line-height: 1.2; letter-spacing: -.04em; color: var(--navy); font-weight: 800; margin: 0; }
.campaign-statement h2 span { color: var(--red); }
.site-footer { background: var(--navy); color: var(--white); }
/* Original campaign artwork stays on white, above the solid navy footer. */
.footer-brand-band { background: var(--white); padding-block: 25px 39px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), 0 100%); }
.footer-brands { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.footer-inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-logo { flex-shrink: 0; }
.footer-logo img { width: 210px; height: auto; }
.site-footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: 32px; font-size: 13px; font-weight: 500; }
.site-footer nav a { min-height: 44px; display: inline-flex; align-items: center; }
.site-footer nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.footer-top { display: grid; place-items: center; flex: 0 0 44px; height: 44px; border: 1px solid var(--white); border-radius: 50%; font-size: 23px; }
.footer-top:hover { background: var(--yellow); color: var(--navy); }
.footer-mark { display: flex; align-items: center; gap: 10px; }
.footer-mark img { height: auto; }
.candidate-dialog { padding: 0; border: 0; border-radius: 10px; width: min(1210px, calc(100% - 48px)); max-height: 90dvh; color: var(--ink); background: var(--white); box-shadow: 0 24px 70px rgb(0 0 0 / .22); overflow-y: auto; overscroll-behavior: contain; }
.candidate-dialog::backdrop { background: rgb(33 58 119 / .66); backdrop-filter: blur(3px); }
.dialog-toolbar { display: flex; align-items: center; justify-content: space-between; padding: 14px clamp(30px, 4vw, 56px) 0; position: sticky; top: 0; background: var(--white); z-index: 3; }
.dialog-toolbar > span { font-size: 12px; color: var(--muted); letter-spacing: .1em; }
.icon-button { width: 44px; height: 44px; border: 0; color: var(--navy); background: var(--white); font-size: 30px; line-height: 1; }
.icon-button:hover { background: var(--yellow); }
.detail-layout { padding: 20px clamp(30px, 4vw, 56px) 32px; display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(0, 1fr); gap: clamp(32px, 4.5vw, 64px); align-items: start; }
.detail-photo-wrap { position: relative; overflow: hidden; aspect-ratio: 4 / 5; min-width: 0; }
.detail-photo-wrap > #detail-photo { width: 100%; height: 100%; object-fit: contain; }
.detail-photo-wave { position: absolute; left: calc(50% + var(--wave-offset, 0%)); bottom: -1px; width: 235%; max-width: none; height: auto; transform: translateX(-50%); pointer-events: none; }
.detail-copy { min-width: 0; padding-top: 18px; }
.detail-number { display: inline-grid; place-items: center; min-width: 38px; height: 38px; background: var(--yellow); color: var(--navy); font-size: 14px; font-weight: 800; margin-bottom: 18px; }
.detail-copy h2 { margin: 0 0 16px; font-size: clamp(30px, 3.25vw, 46px); line-height: 1.13; letter-spacing: -.04em; color: var(--navy); }
.detail-profession { font-size: 16px; line-height: 1.6; margin: 0 0 10px; font-weight: 600; }
.detail-location { display: flex; align-items: center; gap: 6px; font-size: 14px; line-height: 1.6; color: var(--muted); margin: 0; }
.detail-location .location-pin { flex: 0 0 16px; }
.detail-biography { margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.85; white-space: pre-wrap; overflow-wrap: break-word; max-width: 62ch; }
.detail-navigation { position: sticky; bottom: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 14px clamp(30px, 4vw, 56px) 18px; border-top: 1px solid var(--line); background: var(--white); }
.detail-nav-button { display: inline-flex; align-items: center; gap: 14px; min-height: 56px; padding: 4px 16px 4px 4px; border: 1px solid var(--navy); border-radius: 999px; background: var(--white); color: var(--navy); font-size: 16px; font-weight: 700; transition: background .2s, color .2s, box-shadow .2s, transform .2s; }
#next-candidate { padding: 4px 4px 4px 16px; }
.detail-nav-number { min-width: 2ch; text-align: center; font-variant-numeric: tabular-nums; }
.detail-nav-arrow { display: grid; place-items: center; flex: 0 0 46px; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: var(--white); transition: background .2s; }
.detail-nav-arrow svg { display: block; transition: transform .2s; }
.detail-nav-button:hover { background: var(--navy); color: var(--white); box-shadow: 0 5px 12px rgb(33 58 119 / .18); }
.detail-nav-button:hover .detail-nav-arrow { background: var(--red); }
#previous-candidate:hover svg { transform: translateX(-3px); }
#next-candidate:hover svg { transform: translateX(3px); }
.detail-nav-button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.detail-nav-button:active { transform: translateY(1px); }
@media (max-width: 1000px) {
  .hero-message { top: -45px; }
  .brand img { width: 190px; }
  .navigation { gap: 22px; }
  .nav-link { font-size: 13px; }
  .site-header .header-cta { padding-inline: 18px; font-size: 13px; }
  .candidate-grid { gap: 36px 20px; }
  .campaign-inner { gap: 32px; grid-template-columns: minmax(180px, .7fr) minmax(0, 2fr); }
}
@media (max-width: 800px) {
  .candidate-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .summary-inner { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .summary-inner h2 { font-size: clamp(30px, 5.5vw, 42px); }
  .summary-artwork { width: min(100%, 520px); margin-top: 28px; }
}
@media (max-width: 767px) {
  .candidate-dialog { width: calc(100% - 12px); max-height: calc(100dvh - 12px); min-height: calc(100dvh - 12px); }
  .dialog-toolbar { padding: max(8px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) 0 max(18px, env(safe-area-inset-left)); }
  .detail-layout { grid-template-columns: 1fr; gap: 24px; padding: 10px max(18px, env(safe-area-inset-right)) 24px max(18px, env(safe-area-inset-left)); }
  .detail-photo-wrap { width: min(100%, 370px); margin-inline: auto; }
  .detail-copy { padding-top: 0; }
  .detail-copy h2 { font-size: clamp(28px, 6vw, 36px); }
  .detail-navigation { padding: 8px max(18px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left)); }
}
@media (max-width: 700px) {
  .testimonial-slide { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .testimonial-photo { width: min(100%, 460px); margin-inline: auto; }
  .testimonial-copy { max-width: none; padding-top: 0; }
  .testimonial-controls { justify-content: center; margin-top: 28px; }
  .testimonials-section h2 { font-size: clamp(24px, 5.5vw, 32px); }
  .hero-message { top: 0; }
  html { scroll-padding-top: 96px; }
  .header-inner { min-height: 72px; }
  .brand img { width: 180px; }
  .menu-toggle:not([hidden]) { width: 44px; height: 44px; padding: 10px; display: flex; flex-direction: column; justify-content: center; gap: 7px; border: 0; background: var(--white); }
  .menu-toggle span { width: 24px; height: 2px; background: var(--navy); transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .menu-toggle:not([hidden]) + .navigation { display: none; }
  .menu-toggle:not([hidden]) + .navigation.is-open { display: flex; }
  .navigation { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; padding: 20px var(--space) 24px; gap: 20px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 8px 12px transparent; }
  .nav-link { font-size: 15px; }
  .hero-inner { padding-top: 28px; padding-bottom: clamp(48px, 12vw, 84px); grid-template-columns: 1fr; gap: 30px; }
  .hero-artwork { grid-template-columns: minmax(0, 1fr) minmax(0, .4fr); gap: 14px; max-width: 460px; margin: 0 0 22px; }
  .hero-number { scale: 1; }
  .hero h1 { font-size: clamp(28px, 6.6vw, 38px); max-width: 510px; }
  .hero-date { margin-top: 20px; font-size: 14px; }
  .hero-composition { width: 92%; height: clamp(130px, 30vw, 180px); justify-self: end; }
  .panel-navy { inset: 0 -12% 5% 0; clip-path: polygon(13% 0, 100% 8%, 88% 100%, 0 88%); }
  .panel-red { inset: 52% 56% -8% -12%; }
  .panel-yellow { inset: 8% -17% 50% 79%; }
  .hero-crest { width: 56px; top: 18%; left: 50%; }
  .section-heading { padding-bottom: 22px; margin-bottom: 28px; }
  .section-mark { width: clamp(72px, 18vw, 100px); }
  .campaign-inner { grid-template-columns: 1fr; gap: 24px; }
  .campaign-number { justify-items: start; }
  .campaign-number img { width: clamp(155px, 42vw, 210px); }
  .campaign-statement h2 { font-size: clamp(25px, 5.8vw, 40px); }
  .footer-brand-band { padding-block: 20px 32px; }
  .footer-brands { gap: 22px; }
  .footer-logo img { width: 170px; }
  .footer-mark { gap: 6px; }
  .footer-mark img:first-child { width: 102px; }
  .footer-mark img:last-child { width: 36px; }
  .footer-inner { min-height: 72px; gap: 12px; }
  .site-footer nav { gap: 24px; }
}
@media (max-width: 520px) {
  .testimonial-name { font-size: 30px; }
  .testimonial-quote { padding-left: 18px; margin-block: 26px; }
  .candidate-grid { grid-template-columns: 1fr; gap: 36px; }
  .candidate-photo { aspect-ratio: 4 / 4.6; }
  .candidate-name { font-size: 23px; }
  .candidate-copy { padding-top: 18px; }
  .candidate-profession { font-size: 14px; }
  .footer-brands { gap: 16px; }
  .footer-logo img { width: 155px; }
  .footer-mark img:first-child { width: 94px; }
  .footer-mark img:last-child { width: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
