:root {
  --royal-blue: #005faf;
  --royal-blue-dark: #00457f;
  --royal-blue-deep: #02315f;
  --gold: #ffd200;
  --gold-dark: #d9a900;
  --gold-soft: rgba(255, 210, 0, 0.18);
  --charcoal: #181a1f;
  --navy-950: #181a1f;
  --navy-900: #005faf;
  --navy-800: #00457f;
  --emerald: #ffd200;
  --emerald-dark: #d9a900;
  --emerald-soft: rgba(255, 210, 0, 0.18);
  --white: #ffffff;
  --gray-50: #f7f9fb;
  --gray-100: #eef2f6;
  --gray-200: #dfe7ef;
  --gray-500: #6b7a8d;
  --gray-700: #2d3d4f;
  --red: #c84a4a;
  --shadow-sm: 0 14px 40px rgba(0, 95, 175, 0.1);
  --shadow-md: 0 24px 70px rgba(0, 95, 175, 0.18);
  --shadow-dark: 0 28px 80px rgba(0, 0, 0, 0.34);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --max: 1180px;
  --premium-star-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 1.65 15.22 8.02 22.15 7.23 18.06 12 22.15 16.77 15.22 15.98 12 22.35 8.78 15.98 1.85 16.77 5.94 12 1.85 7.23 8.78 8.02Z'/%3E%3C/svg%3E");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

main > section { scroll-margin-top: 140px; }

body {
  margin: 0;
  color: var(--navy-950);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body::before {
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 210, 0, 0.08), transparent 16%),
    radial-gradient(circle at 86% 10%, rgba(0, 95, 175, 0.1), transparent 18%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: fixed;
  z-index: -1;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(0, 95, 175, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: var(--white);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  left: 50%;
  max-width: min(1160px, calc(100vw - 32px));
  padding: 10px 12px 10px 18px;
  position: fixed;
  top: 18px;
  transform: translateX(-50%);
  transition: background 240ms ease, border-color 240ms ease, box-shadow 240ms ease, color 240ms ease;
  width: 100%;
  z-index: 50;
}

.site-header.is-solid {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(0, 95, 175, 0.16);
  box-shadow: var(--shadow-sm);
  color: var(--navy-950);
}

.brand,
.footer-brand {
  align-items: center;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  gap: 10px;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand {
  gap: 12px;
}

.brand-wordmark,
.footer-brand strong {
  font-weight: 900;
  letter-spacing: 0;
}

.official-crest {
  background: transparent;
  display: block;
  height: auto;
  object-fit: contain;
  width: auto;
}

.nav-crest {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  max-height: 42px;
  padding: 0;
}

.campaign-logo {
  background: transparent;
  border-radius: 8px;
  display: block;
  height: auto;
  object-fit: contain;
  padding: 4px;
}

.nav-logo {
  width: 174px;
}

.footer-logo {
  width: 220px;
  filter: brightness(0) invert(1);
}

.contact-logo {
  width: 260px;
  max-width: 100%;
}

.contact-symbol {
  flex-wrap: wrap;
}

.footer-crest {
  max-height: 46px;
  padding: 0;
}

.brand-mark {
  align-items: center;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  display: inline-flex;
  font-size: 10px;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.site-header.is-solid .brand-mark,
.site-footer .brand-mark {
  background: var(--navy-950);
  border-color: var(--navy-950);
  color: var(--white);
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 4px;
}

.site-nav a {
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 12px;
  position: relative;
  transition: background 180ms ease, color 180ms ease;
}

.site-nav a::after {
  background: linear-gradient(145deg, #fff7c2 0%, var(--gold) 48%, var(--gold-dark) 100%);
  bottom: 4px;
  content: "";
  height: 12px;
  left: 50%;
  opacity: 0;
  position: absolute;
  transform: translateX(-50%) scale(0.4);
  transition: opacity 180ms ease, transform 180ms ease;
  width: 12px;
  -webkit-mask-image: var(--premium-star-mask);
  mask-image: var(--premium-star-mask);
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  outline: none;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.site-header.is-solid .site-nav a:hover,
.site-header.is-solid .site-nav a:focus-visible {
  background: var(--gray-100);
}

.menu-toggle {
  background: transparent;
  border: 0;
  display: none;
  height: 42px;
  position: relative;
  width: 42px;
}

.menu-toggle span {
  background: currentColor;
  border-radius: 999px;
  display: block;
  height: 2px;
  left: 11px;
  position: absolute;
  transition: transform 180ms ease;
  width: 20px;
}

.menu-toggle span:first-child {
  top: 16px;
}

.menu-toggle span:last-child {
  top: 24px;
}

.menu-open .menu-toggle span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-open .menu-toggle span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.hero {
  align-items: center;
  background: var(--charcoal);
  color: var(--white);
  display: grid;
  min-height: calc(100svh - 28px);
  overflow: hidden;
  padding: 170px 24px 116px;
  position: relative;
  text-align: center;
}

.hero-shade {
  background:
    radial-gradient(circle at 50% 36%, rgba(255, 210, 0, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(0, 95, 175, 0.44) 0%, rgba(0, 69, 127, 0.2) 42%, rgba(24, 26, 31, 0.78) 100%);
  inset: 0;
  position: absolute;
}

.hero-videos {
  inset: 0;
  position: absolute;
  pointer-events: none;
}

.hero-video {
  height: 100%;
  inset: 0;
  object-fit: cover;
  opacity: 0;
  position: absolute;
  transition: opacity 650ms ease;
  width: 100%;
}

.hero-video.is-active { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .hero-video { transition: none; }
}

.hero-stars {
  display: flex;
  gap: clamp(14px, 3vw, 38px);
  left: 50%;
  position: absolute;
  top: 25%;
  transform: translateX(-50%);
  z-index: 1;
  --star-size: clamp(24px, 3vw, 42px);
}

.hero-stars span {
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.28)) drop-shadow(0 0 18px rgba(255, 210, 0, 0.24));
}

.hero-content {
  margin: 0 auto;
  max-width: 980px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 80px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.15;
  margin: 0 0 28px;
  text-shadow: 0 24px 80px rgba(0, 0, 0, 0.38), 0 0 38px rgba(255, 210, 0, 0.16);
}

.hero h1 span {
  display: block;
  line-height: 1.24;
  text-decoration-line: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 0.035em;
  text-underline-offset: 0.12em;
  text-decoration-skip-ink: none;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.92);
  font-size: 28px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.4;
  margin: 0 0 34px;
  text-shadow: 0 16px 42px rgba(0, 0, 0, 0.36);
}

.button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 15px;
  font-weight: 800;
  gap: 10px;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.button svg {
  fill: none;
  height: 18px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 18px;
}

.button-primary {
  background: linear-gradient(135deg, var(--emerald), var(--emerald-dark));
  border: 0;
  box-shadow: 0 18px 44px rgba(255, 210, 0, 0.3);
  color: var(--charcoal);
}

.button-ghost {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
}

.button:hover,
.button:focus-visible {
  box-shadow: 0 22px 54px rgba(255, 210, 0, 0.38);
  outline: none;
  transform: translateY(-2px);
}

.scroll-cue {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  bottom: 32px;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: 42px;
  z-index: 2;
}

.scroll-cue span {
  border-bottom: 2px solid currentColor;
  border-right: 2px solid currentColor;
  display: block;
  height: 9px;
  transform: translateY(-2px) rotate(45deg);
  width: 9px;
}

.section {
  margin: 0 auto;
  max-width: var(--max);
  padding: 112px 20px;
}

.section-heading {
  align-items: end;
  display: grid;
  gap: 16px 32px;
  grid-template-columns: minmax(0, 1fr) 196px;
  margin-bottom: 42px;
}

.section-heading > .section-kicker { grid-column: 1 / -1; }
.section-heading > h2 { grid-column: 1; min-width: 0; max-width: 22ch; }

.section-heading::after {
  background: var(--gold);
  content: "";
  grid-column: 2;
  height: 28px;
  margin-bottom: 8px;
  width: 196px;
  -webkit-mask-image: var(--premium-star-mask);
  mask-image: var(--premium-star-mask);
  -webkit-mask-position: left center;
  mask-position: left center;
  -webkit-mask-repeat: repeat-x;
  mask-repeat: repeat-x;
  -webkit-mask-size: 28px 28px;
  mask-size: 28px 28px;
}

.section-kicker,
.detail-label,
.featured-news span {
  color: var(--royal-blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0;
  text-transform: uppercase;
}

h2 {
  font-size: 64px;
  letter-spacing: 0;
  line-height: 1.12;
  margin: 0;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

h3 {
  letter-spacing: 0;
}

.identity-section {
  position: relative;
}

.identity-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(260px, 0.42fr) 1fr;
}

.candidate-card,
.intro-panel,
.profile-card,
.project-card,
.vision-card,
.featured-news,
.contact-form {
  background: var(--white);
  border: 1px solid rgba(8, 27, 49, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.candidate-card {
  align-self: start;
  overflow: hidden;
}

.candidate-card h3,
.candidate-card p {
  margin-left: 22px;
  margin-right: 22px;
}

.candidate-card h3 {
  font-size: 26px;
  margin-bottom: 3px;
}

.candidate-card p {
  color: var(--gray-500);
  margin-top: 0;
  padding-bottom: 24px;
}

.portrait {
  align-items: end;
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(circle at 50% 32%, rgba(255, 255, 255, 0.7) 0 11%, transparent 12%),
    radial-gradient(circle at 50% 83%, rgba(255, 255, 255, 0.46) 0 25%, transparent 26%),
    linear-gradient(145deg, var(--royal-blue-deep), #e4ecf4 62%, rgba(255, 210, 0, 0.5));
  border-radius: 20px;
  color: rgba(255, 255, 255, 0.88);
  display: flex;
  font-size: 13px;
  font-weight: 900;
  justify-content: center;
  min-height: 160px;
  overflow: hidden;
  padding: 18px;
  position: relative;
}

.portrait-large {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  min-height: 430px;
}

.intro-panel {
  align-content: center;
  background:
    radial-gradient(circle at 85% 16%, rgba(255, 210, 0, 0.18), transparent 28%),
    radial-gradient(circle at 8% 90%, rgba(0, 95, 175, 0.1), transparent 24%),
    linear-gradient(135deg, #ffffff, #f6f9fc);
  display: grid;
  padding: clamp(28px, 5vw, 58px);
}

.intro-panel p {
  color: var(--navy-800);
  font-size: 18px;
  font-weight: 450;
  line-height: 1.65;
  margin: 0;
  max-width: 760px;
}

.intro-panel { gap: 18px; }
.intro-panel h3 { font-size: 32px; line-height: 1.2; margin: 0; }
.candidate-quote {
  border-left: 3px solid var(--gold);
  margin: 8px 0 0;
  padding: 4px 0 4px 20px;
}
.candidate-quote p {
  color: var(--royal-blue-deep);
}
.portrait.has-photo { background: var(--royal-blue-deep); padding: 0; }
.portrait.has-photo img { display: block; width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.ballot-number { position: absolute; bottom: 16px; right: 16px; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: var(--royal-blue-deep); font-size: 26px; box-shadow: 0 4px 20px #0002; }
.profile-intro { margin: 14px 4px 6px; }
.profile-intro p { margin-top: 8px; line-height: 1.65; color: var(--gray-700); }
.profile-card .ballot-label { color: var(--royal-blue); font-weight: 800; margin: 6px 4px; }
.portrait.supplied-portrait { aspect-ratio: 1; }
.profile-card .portrait { aspect-ratio: 1; }
.portrait.supplied-portrait img { object-fit: contain; }
.portrait.legacy-portrait > img:not(.ballot-image) { object-fit: cover; object-position: center top; }
.portrait.has-photo img.ballot-image {
  width: 36%;
  height: auto;
  inset: auto 12% 12% auto;
  object-fit: contain;
  z-index: 1;
}
.portrait-large.has-photo img.ballot-image { width: 32%; inset: auto 7% 6% auto; }
.portrait.anton-portrait > img.portrait-photo {
  width: 125%;
  height: 125%;
  inset: -25% auto auto -12.5%;
}
.portrait.mayor-portrait {
  background: var(--royal-blue-deep);
}
.portrait.mayor-portrait img.portrait-background {
  height: auto;
  inset: 0 0 auto;
  object-fit: contain;
}
.portrait.mayor-portrait img.mayor-cutout {
  height: auto;
  inset: auto 0 0;
  object-fit: contain;
}
.candidate-card p.ballot-label {
  color: var(--royal-blue);
  font-weight: 800;
  margin-top: 8px;
  margin-bottom: 8px;
  padding-bottom: 0;
}
.team-heading {
  display: grid;
  gap: 12px;
  margin: 48px 0 24px;
}

.team-heading h3 {
  color: var(--navy-950);
  font-size: 40px;
  line-height: 1.15;
  margin: 0;
}

.election-info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 36px;
  padding: 30px 0;
  margin: 0 0 30px;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  scroll-margin-top: 150px;
}

.election-rules h4 {
  margin: 0 0 18px;
  font-size: 22px;
  line-height: 1.25;
  color: var(--navy-950);
}

.election-info p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--gray-700);
}

.election-rules strong {
  display: block;
  color: var(--royal-blue-deep);
}

.election-source {
  font-size: 13px;
  color: var(--royal-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.election-team {
  border-left: 3px solid var(--gold);
  padding-left: 30px;
  min-width: 0;
}

.election-team .election-call {
  font-size: 28px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--navy-950);
  margin-bottom: 12px;
  letter-spacing: 0;
}

.election-call strong {
  color: var(--royal-blue);
  font-weight: 800;
}

.election-circled {
  display: inline-block;
  position: relative;
  padding: 0.12em 0.35em;
  white-space: nowrap;
}

.election-circled::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid var(--gold);
  border-radius: 50%;
  transform: rotate(-3deg);
  pointer-events: none;
}

.election-call .election-circled::after {
  border-width: 3px;
}

.election-numbers {
  display: grid;
  grid-template-columns: repeat(5, 54px);
  gap: 12px 18px;
  list-style: none;
  padding: 0;
  margin: 20px 0 16px;
}

.election-numbers li {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 3px solid var(--gold);
  border-radius: 50%;
  background: var(--royal-blue-deep);
  color: white;
  font-size: 25px;
  font-weight: 800;
  line-height: 1;
}

.election-team .election-note {
  font-size: 13px;
  margin-bottom: 0;
}

.team-grid,
.project-grid,
.vision-grid {
  display: grid;
  gap: 18px;
}

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

.profile-card {
  padding: 12px;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.profile-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-7px);
}

.profile-card h3 {
  font-size: 18px;
  margin: 18px 4px 2px;
}

.profile-card p,
.profile-card span,
.project-body p,
.project-body div,
.vision-card p,
.vision-card small,
.news-list button,
.contact-meta {
  color: var(--gray-500);
  font-size: 14px;
}

.profile-card p,
.profile-card span {
  display: block;
  margin: 0 4px 4px;
}

.projects-section {
  background:
    radial-gradient(circle at 92% 6%, rgba(255, 210, 0, 0.13), transparent 24%),
    var(--gray-50);
  border-radius: 42px;
  max-width: min(1440px, calc(100vw - 28px));
  padding-left: max(20px, calc((100vw - var(--max)) / 2));
  padding-right: max(20px, calc((100vw - var(--max)) / 2));
}

.projects-section .section-heading {
  align-items: start;
  display: flex;
  flex-direction: column;
  gap: 18px;
  grid-template-columns: none;
  margin-bottom: 48px;
  max-width: min(880px, 100%);
}

.projects-section .section-heading::after {
  content: none;
}

.projects-section .section-heading h2 {
  font-size: clamp(48px, 7.2vw, 104px);
  line-height: 0.9;
  max-width: 880px;
}

.projects-section .section-heading .section-kicker {
  margin-top: 4px;
}

.project-grid {
  grid-template-columns: repeat(4, 1fr);
}

.project-card {
  overflow: hidden;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.project-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-7px);
}

.project-image,
.news-image,
.gallery-item {
  background-image: url("assets/civic-collage.png");
  background-size: 400% 200%;
}

.project-image {
  aspect-ratio: 1.24 / 1;
}

.crop-1 { background-position: 0 0; }
.crop-2 { background-position: 33.33% 0; }
.crop-3 { background-position: 66.66% 0; }
.crop-4 { background-position: 100% 0; }
.crop-5 { background-position: 0 100%; }
.crop-6 { background-position: 33.33% 100%; }
.crop-7 { background-position: 66.66% 100%; }
.crop-8 { background-position: 100% 100%; }

.project-body {
  padding: 22px;
}

.project-body h3 {
  font-size: 22px;
  margin: 0 0 8px;
}

.text-button {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--royal-blue);
  display: inline-flex;
  font-size: 14px;
  font-weight: 900;
  margin-top: 16px;
  padding: 0;
}

.risk-section {
  background:
    radial-gradient(circle at 20% 12%, rgba(255, 210, 0, 0.14), transparent 30%),
    linear-gradient(135deg, var(--charcoal), var(--royal-blue-deep));
  color: var(--white);
  margin: 28px 0;
  overflow: hidden;
  padding: 92px 20px;
}

.risk-inner {
  display: grid;
  align-items: center;
  gap: 60px;
  grid-template-columns: minmax(0, 0.86fr) minmax(460px, 1.14fr);
  margin: 0 auto;
  max-width: min(1440px, calc(100vw - 56px));
}

.risk-copy h2 {
  font-size: 34px;
  line-height: 1.12;
  margin: 0;
}

.risk-heading-context {
  display: block;
  max-width: 480px;
}

.risk-heading-return {
  border-left: 3px solid var(--gold);
  display: block;
  margin-top: 26px;
  padding-left: 20px;
}

.risk-heading-question {
  display: block;
  font-size: 40px;
  line-height: 1.15;
}

.risk-heading-answer {
  background: var(--gold);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  color: var(--charcoal);
  display: inline-block;
  font-size: 54px;
  line-height: 1.1;
  margin-top: 12px;
  padding: 5px 12px 8px;
}

.risk-lead {
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
  line-height: 1.52;
  margin: 24px 0;
  max-width: 680px;
}

.risk-document {
  font-size: 16px;
  line-height: 1.6;
  margin: 24px 0 0;
}

.risk-document a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.risk-document a:hover {
  color: var(--gold);
}

.warning-card {
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 210, 0, 0.34);
  border-radius: 22px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0;
  padding: 18px 20px;
}

.warning-card span {
  font-size: 20px;
  line-height: 1;
}

.warning-card strong {
  color: var(--white);
  flex: 1 1 260px;
  font-size: 16px;
  line-height: 1.35;
}

.warning-card .button {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 18px;
}

.risk-visual,
.risk-panel {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-dark);
}

.risk-visual {
  align-items: center;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 210, 0, 0.16), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  display: flex;
  justify-content: center;
  min-height: 500px;
  overflow: hidden;
  padding: 30px;
  position: relative;
}

.risk-visual::before {
  background:
    linear-gradient(90deg, rgba(255, 210, 0, 0.18), transparent 20% 80%, rgba(255, 210, 0, 0.18)),
    radial-gradient(circle at 50% 50%, rgba(255, 210, 0, 0.08), transparent 44%);
  border-radius: 50%;
  content: "";
  height: 520px;
  left: 50%;
  opacity: 0.9;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 520px;
}

.casino-image-card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
  margin: 0;
  max-width: 900px;
  overflow: hidden;
  padding: 10px;
  position: relative;
  width: 100%;
  z-index: 1;
}

.casino-image-card::after {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.38), transparent 34%);
  border-radius: 18px;
  content: "";
  inset: 10px;
  pointer-events: none;
  position: absolute;
}

.casino-image {
  border-radius: 18px;
  display: block;
  height: auto;
  width: 100%;
}

.risk-panel {
  align-content: center;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  display: grid;
  padding: 28px;
}

.risk-panel p {
  color: rgba(255, 255, 255, 0.74);
  margin-top: 0;
}

.status-row {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.82);
  display: flex;
  gap: 12px;
  padding: 13px 0;
}

.status-row span {
  background: var(--gold);
  border-radius: 50%;
  height: 8px;
  width: 8px;
}

.risk-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.mini-timeline {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, 1fr);
  margin: 44px auto 0;
  max-width: var(--max);
}

.mini-timeline span {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 800;
  padding-top: 14px;
  position: relative;
}

.mini-timeline span::before {
  background: linear-gradient(145deg, #fff8d2 0%, var(--gold) 50%, var(--gold-dark) 100%);
  content: "";
  filter: drop-shadow(0 7px 14px rgba(255, 210, 0, 0.22));
  height: 22px;
  left: 0;
  position: absolute;
  top: -12px;
  width: 22px;
  -webkit-mask-image: var(--premium-star-mask);
  mask-image: var(--premium-star-mask);
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.mini-timeline .active::before {
  filter: drop-shadow(0 0 18px rgba(255, 210, 0, 0.65));
}

.finance-section {
  max-width: min(1320px, calc(100vw - 28px));
}

.finance-explainer,
.finance-tables {
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.finance-explainer {
  border-block: 1px solid var(--gray-200);
  margin-bottom: 36px;
  padding-block: 26px;
}

.finance-explainer h3 {
  font-size: 20px;
  line-height: 1.35;
  margin: 0 0 10px;
}

.finance-explainer p,
.finance-footnote p,
.cases-intro {
  color: var(--gray-700);
  font-size: 16px;
  line-height: 1.65;
  margin: 0;
}

.finance-law,
.finance-cases-link,
.case-links a {
  color: var(--royal-blue-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.finance-law {
  display: inline-block;
  font-size: 13px;
  margin-top: 12px;
}

.finance-table {
  border-collapse: collapse;
  font-size: 18px;
  font-variant-numeric: tabular-nums;
  table-layout: fixed;
  width: 100%;
}

.finance-table caption {
  color: var(--charcoal);
  font-size: 30px;
  font-weight: 800;
  padding-bottom: 18px;
  text-align: left;
}

.finance-mayor {
  color: var(--gray-700);
  display: block;
  font-size: 16px;
  font-weight: 550;
  line-height: 1.5;
  margin-top: 8px;
}

.finance-table th,
.finance-table td {
  border-bottom: 1px solid var(--gray-200);
  padding: 13px 16px;
  text-align: right;
}

.finance-table th:first-child {
  text-align: left;
  width: 26%;
}
.finance-table-recent th:first-child { width: 34%; }

.finance-table thead th {
  background: var(--royal-blue-deep);
  color: var(--white);
  font-size: 14px;
  font-weight: 650;
}

.finance-table tbody th {
  font-weight: 650;
}

.finance-table tbody tr:nth-child(even) {
  background: var(--gray-50);
}

.finance-table tfoot th,
.finance-table tfoot td {
  background: var(--gold);
  border: 0;
  color: var(--charcoal);
  font-size: 24px;
  font-weight: 850;
  padding-block: 18px;
}

.finance-table-note {
  color: var(--gray-500);
  font-size: 13px;
  line-height: 1.6;
  margin: 16px 0 0;
}

.finance-noted-year {
  color: var(--royal-blue-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.finance-noted-year::after {
  content: "*";
  font-size: 12px;
  margin-left: 2px;
  vertical-align: super;
}

.finance-year-note {
  border-left: 3px solid var(--gold);
  color: var(--gray-700);
  font-size: 14px;
  line-height: 1.7;
  margin: 22px 0 0;
  padding-left: 14px;
  scroll-margin-top: 160px;
}

.finance-footnote {
  border-top: 1px solid var(--gray-200);
  display: grid;
  gap: 10px;
  margin-top: 32px;
  padding-top: 24px;
}

.finance-footnote p + p { font-size: 13px; }
.finance-cases-link { font-weight: 750; justify-self: start; margin-top: 8px; }
.finance-cases-link span { margin-left: 8px; }

.cases-section { padding-top: 24px; }
.cases-intro { margin-bottom: 28px; max-width: 760px; }
.case-list { border-top: 1px solid var(--gray-200); }
.case-item { border-bottom: 1px solid var(--gray-200); }
.case-item summary {
  align-items: center;
  cursor: pointer;
  display: grid;
  gap: 24px;
  grid-template-columns: 132px minmax(0, 1fr) 20px;
  list-style: none;
  padding: 25px 8px;
}
.case-item summary::-webkit-details-marker { display: none; }
.case-item summary::after {
  background: url("assets/icon-chevron-down.svg") center / 20px no-repeat;
  content: "";
  height: 20px;
  transition: transform 180ms ease;
  width: 20px;
}
.case-item[open] summary::after { transform: rotate(180deg); }
.case-item summary:hover { background: var(--gray-50); }
.case-item summary:focus-visible { outline: 2px solid var(--royal-blue); outline-offset: -2px; }
.case-date { color: var(--royal-blue-dark); font-size: 14px; font-weight: 750; }
.case-item h3 { font-size: 21px; line-height: 1.4; margin: 0; }
.case-body { padding: 0 52px 28px 164px; }
.case-body p { color: var(--gray-700); font-size: 16px; line-height: 1.7; margin: 0 0 14px; max-width: 820px; }
.case-body .case-source-note { color: var(--gray-500); font-size: 13px; }
.case-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 20px; }
.case-links a { font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }

.map-section {
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 210, 0, 0.14), transparent 24%),
    linear-gradient(135deg, var(--charcoal), var(--royal-blue-deep));
  color: var(--white);
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(360px, 0.36fr) minmax(0, 1fr);
  padding: 112px max(20px, calc((100vw - var(--max)) / 2));
}

.map-copy h2 {
  color: var(--white);
  font-size: 56px;
  line-height: 1.12;
  margin-top: 16px;
  max-width: 360px;
  overflow-wrap: normal;
}

.investment-map {
  display: grid;
  grid-template-columns: 1fr 270px;
  min-height: 520px;
  overflow: hidden;
  position: relative;
}

.map-surface {
  background:
    radial-gradient(circle at 30% 38%, rgba(255, 210, 0, 0.3), transparent 7%),
    radial-gradient(circle at 70% 62%, rgba(87, 142, 255, 0.25), transparent 8%),
    linear-gradient(28deg, transparent 0 48%, rgba(255, 255, 255, 0.2) 49% 50%, transparent 51%),
    linear-gradient(130deg, transparent 0 45%, rgba(255, 255, 255, 0.18) 46% 47%, transparent 48%),
    linear-gradient(160deg, #dfe9e8, #f7faf9);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  position: relative;
}

.map-surface::before {
  background:
    repeating-linear-gradient(0deg, rgba(8, 27, 49, 0.08) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(90deg, rgba(8, 27, 49, 0.08) 0 1px, transparent 1px 54px);
  content: "";
  inset: 0;
  opacity: 0.42;
  position: absolute;
}

.marker {
  align-items: center;
  background: var(--gold);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(6, 20, 38, 0.24);
  color: var(--charcoal);
  display: flex;
  font-size: 13px;
  font-weight: 900;
  height: 26px;
  justify-content: center;
  position: absolute;
  transform: none;
  transition: transform 180ms ease, background 180ms ease;
  width: 26px;
  z-index: 1;
}

.marker::after {
  background: currentColor;
  content: "";
  height: 14px;
  width: 14px;
  -webkit-mask-image: var(--premium-star-mask);
  mask-image: var(--premium-star-mask);
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.marker:hover,
.marker.active {
  background: var(--royal-blue);
  color: var(--white);
  transform: scale(1.16);
}

.map-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 0;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  display: grid;
  padding: 28px;
}

.map-card p {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0;
  text-transform: uppercase;
}

.map-card h3 {
  align-self: end;
  font-size: 32px;
  line-height: 1;
  margin: 0 0 24px;
}

.map-card span {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
  padding: 12px 0;
}

.vision-section {
  max-width: min(1280px, calc(100vw - 28px));
}

.vision-intro {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  justify-content: space-between;
  margin-bottom: 36px;
}

.vision-intro > p {
  color: var(--gray-700);
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
  max-width: 54ch;
}

.vision-grid {
  align-items: start;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.vision-group { margin-top: 48px; }
.vision-group-title {
  border-top: 1px solid var(--gray-200);
  font-size: 28px;
  line-height: 1.25;
  margin: 0 0 24px;
  padding-top: 24px;
}

.vision-grid .vision-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  box-shadow: 0 10px 32px rgba(8, 27, 49, 0.045);
  min-width: 0;
  overflow: hidden;
  padding: 0;
}

.vision-card-wide { grid-column: 1 / -1; }
.vision-card[id],
.vision-body[id] { scroll-margin-top: 150px; }
.vision-body { padding: 30px; }
.vision-card-heading {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: 40px minmax(0, 1fr);
  margin-bottom: 24px;
}

.vision-card h4 {
  color: var(--charcoal);
  font-size: 26px;
  line-height: 1.25;
  margin: 3px 0 0;
  overflow-wrap: anywhere;
}

.vision-number {
  align-items: center;
  background: var(--emerald-soft);
  border-radius: 50%;
  color: var(--royal-blue);
  display: inline-flex;
  font-size: 13px;
  font-weight: 850;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.vision-card .vision-subtitle {
  color: var(--royal-blue-dark);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.5;
  margin: -8px 0 20px;
}

.vision-detail p {
  color: var(--gray-700);
  font-size: 16px;
  line-height: 1.75;
  margin: 0 0 18px;
  max-width: 78ch;
}

.vision-detail p:last-child { margin-bottom: 0; }
.vision-card-wide .vision-detail { columns: 2; column-gap: 40px; }
.vision-card-wide .vision-detail p { break-inside: avoid; }

/* Optional topic photos remain in the reading flow, never behind a disclosure. */
.vision-media { margin: 0; }
.vision-image-button {
  background: transparent;
  border: 0;
  cursor: zoom-in;
  display: block;
  padding: 0;
  position: relative;
  width: 100%;
}
.vision-image-button::after {
  background: var(--white) url("assets/icon-zoom-in.svg") center / 20px no-repeat;
  border: 1px solid var(--gray-200);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
  content: "";
  height: 34px;
  pointer-events: none;
  position: absolute;
  right: 12px;
  top: 12px;
  width: 34px;
}
.vision-image-button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: -4px;
}
.vision-media img {
  aspect-ratio: 16 / 10;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}
.vision-media-portrait img {
  background: var(--gray-50);
  object-fit: contain;
}
.vision-media-photo img { aspect-ratio: auto; }
.vision-gallery {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.vision-gallery-school > .vision-media:first-child { grid-column: 1 / -1; }
.vision-gallery .vision-media { min-width: 0; }
.vision-gallery .vision-media img { aspect-ratio: 4 / 3; object-fit: contain; background: var(--gray-50); }
.vision-gallery .vision-media-portrait img { aspect-ratio: 3 / 4; }
.vision-gallery-school > .vision-media:first-child img { aspect-ratio: auto; }
.vision-gallery .vision-media figcaption { padding: 8px 14px 0; }
.vision-media-logo img {
  aspect-ratio: auto;
  background: var(--white);
  height: 270px;
  object-fit: contain;
  padding: 24px;
}
.vision-card-wide .vision-media img { aspect-ratio: 2 / 1; max-height: 440px; }
.vision-media figcaption { color: var(--gray-500); font-size: 13px; line-height: 1.5; padding: 10px 30px 0; }

.vision-video-link,
.vision-facebook {
  align-items: center;
  color: var(--royal-blue);
  display: inline-flex;
  font-size: 14px;
  font-weight: 750;
  gap: 12px;
  line-height: 1.5;
  padding: 12px 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.vision-video-link { margin-top: 16px; }
.vision-facebook { margin: 0; }
.vision-video-link:hover,
.vision-facebook:hover { color: var(--royal-blue-deep); }
.vision-video-link:focus-visible,
.vision-facebook:focus-visible { outline: 3px solid var(--royal-blue); outline-offset: 4px; }
.campaign-disclosure { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.16); padding-top: 18px; font-size: 13px; line-height: 1.7; margin: 0; }
.campaign-disclosure a { text-decoration: underline; text-underline-offset: 3px; }
.footer-share { grid-column: 1 / -1; min-width: 0; }
.share-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  background: transparent;
  color: white;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease;
}
.share-button:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--gold); }
.share-button:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.share-button:disabled { opacity: 0.65; cursor: wait; }
.share-button img { width: 18px; height: 18px; filter: invert(1); }
.share-status { min-height: 24px; font-size: 13px; line-height: 1.7; margin: 10px 0 0; }
.share-fallback { display: grid; gap: 8px; font-size: 13px; max-width: 600px; }
.share-fallback[hidden] { display: none; }
.share-fallback input {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  padding: 10px;
  font: inherit;
  background: rgba(255, 255, 255, 0.08);
  color: white;
}
.legal-page { max-width: 900px; margin: 0 auto; padding: 36px 24px 72px; }
.legal-page header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 30px; border-bottom: 1px solid var(--gray-200); }
.legal-page header img { width: 174px; height: auto; }
.legal-page h1 { font-size: 40px; line-height: 1.15; margin: 42px 0 24px; }
.legal-page h2 { font-size: 24px; line-height: 1.3; margin: 36px 0 14px; }
.legal-page p,
.legal-page li { font-size: 16px; line-height: 1.75; overflow-wrap: anywhere; }
.legal-page a { color: var(--royal-blue); text-decoration: underline; text-underline-offset: 3px; }
.legal-page .legal-draft { padding: 16px 0; border-block: 1px solid var(--gray-200); color: var(--gray-600); }
@media (max-width: 600px) {
  .legal-page h1 { font-size: 32px; }
  .legal-page header { align-items: flex-start; flex-direction: column; }
}

.news-gallery-section {
  display: grid;
  gap: 50px;
  grid-template-columns: 0.82fr 1fr;
}

.news-column h2,
.gallery-column h2,
.contact-copy h2 {
  font-size: clamp(38px, 5vw, 68px);
  margin: 6px 0 28px;
}

.featured-news {
  display: grid;
  gap: 20px;
  grid-template-columns: 190px 1fr;
  overflow: hidden;
  padding: 12px;
}

.news-image {
  border-radius: 20px;
  min-height: 190px;
}

.featured-news h3 {
  font-size: 26px;
  line-height: 1.08;
  margin: 14px 0 10px;
}

.featured-news p {
  color: var(--gray-500);
  margin: 0;
}

.news-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.news-list button {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  font-weight: 800;
  padding: 18px;
  text-align: left;
}

.masonry-gallery {
  display: grid;
  gap: 12px;
  grid-auto-rows: 124px;
  grid-template-columns: repeat(3, 1fr);
}

.gallery-item {
  border: 0;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  min-height: 0;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.gallery-item:hover,
.gallery-item:focus-visible {
  box-shadow: var(--shadow-md);
  outline: none;
  transform: translateY(-4px);
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

.contact-section {
  background:
    radial-gradient(circle at 15% 12%, rgba(255, 210, 0, 0.16), transparent 28%),
    linear-gradient(135deg, var(--charcoal), var(--royal-blue-deep));
  color: var(--white);
  padding: 112px max(20px, calc((100vw - var(--max)) / 2));
}

.contact-grid {
  display: grid;
  gap: 44px;
  grid-template-columns: 1fr 0.72fr;
}

.contact-symbol {
  align-items: center;
  display: flex;
  gap: 18px;
  margin: 0 0 26px;
}

.contact-symbol .official-crest {
  max-height: 74px;
  padding: 0;
}

.seven-stars {
  align-items: center;
  display: inline-flex;
  gap: 10px;
  --star-size: 22px;
}

.seven-stars span,
.hero-stars span {
  background: linear-gradient(145deg, #fff9cf 0%, var(--gold) 46%, var(--gold-dark) 100%);
  display: inline-block;
  flex: 0 0 auto;
  font-size: 0;
  height: var(--star-size);
  line-height: 0;
  position: relative;
  width: var(--star-size);
  -webkit-mask-image: var(--premium-star-mask);
  mask-image: var(--premium-star-mask);
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.seven-stars span::after,
.hero-stars span::after {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0));
  content: "";
  inset: 14% 28% 54% 18%;
  position: absolute;
  -webkit-mask-image: var(--premium-star-mask);
  mask-image: var(--premium-star-mask);
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.contact-meta {
  color: rgba(255, 255, 255, 0.68);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 26px;
}

.contact-meta span {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 8px 12px;
}

.google-map {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  height: 360px;
  overflow: hidden;
}

.google-map iframe {
  border: 0;
  filter: grayscale(1) contrast(1.04);
  height: 100%;
  width: 100%;
}

.contact-form {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px);
  display: grid;
  gap: 16px;
  padding: 28px;
}

.contact-form label {
  color: rgba(255, 255, 255, 0.72);
  display: grid;
  font-size: 13px;
  font-weight: 800;
  gap: 8px;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  color: var(--white);
  outline: none;
  padding: 14px 15px;
  transition: border-color 180ms ease, background 180ms ease;
  width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.44);
}

.form-status {
  color: rgba(255, 255, 255, 0.72);
  min-height: 20px;
  margin: 0;
}

.site-footer {
  align-items: center;
  background: #111318;
  color: rgba(255, 255, 255, 0.72);
  display: grid;
  gap: 22px;
  grid-template-columns: 0.7fr 1.4fr 0.7fr;
  padding: 28px max(20px, calc((100vw - var(--max)) / 2));
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.site-footer a,
.legal {
  font-size: 13px;
}

.legal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: end;
}

.lightbox {
  background: #101216;
  border: 0;
  color: var(--white);
  gap: 16px;
  grid-template-rows: 44px minmax(0, 1fr) auto;
  height: 100vh;
  height: 100dvh;
  inset: 0;
  margin: 0;
  max-height: none;
  max-width: none;
  overflow: hidden;
  padding: 24px;
  position: fixed;
  width: 100%;
}
.lightbox[open] { display: grid; }
.lightbox::backdrop { background: rgba(0, 0, 0, 0.6); }
body.lightbox-open { overflow: hidden; }
.lightbox-toolbar {
  align-items: center;
  display: flex;
  justify-content: space-between;
}
.lightbox-counter { font-size: 14px; margin: 0; font-variant-numeric: tabular-nums; }
.lightbox .lightbox-control {
  align-items: center;
  background: rgba(12, 14, 18, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  display: flex;
  height: 44px;
  justify-content: center;
  padding: 9px;
  width: 44px;
}
.lightbox .lightbox-control:hover { background: rgba(255, 255, 255, 0.22); }
.lightbox-control:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.lightbox-control img { display: block; filter: invert(1); }
.lightbox-previous { grid-column: 1; grid-row: 1; }
.lightbox-next { grid-column: 3; grid-row: 1; }
.lightbox-previous img { transform: rotate(90deg); }
.lightbox-next img { transform: rotate(-90deg); }
.lightbox-stage {
  align-items: center;
  display: grid;
  gap: 16px;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  min-height: 0;
}
.lightbox-image {
  display: block;
  grid-column: 2;
  grid-row: 1;
  height: 100%;
  min-height: 0;
  min-width: 0;
  object-fit: contain;
  width: 100%;
}
.lightbox-image[hidden] { display: none; }
.lightbox-status { grid-column: 2; grid-row: 1; text-align: center; }
.lightbox-caption {
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
  overflow-wrap: anywhere;
  text-align: center;
}
@media (max-width: 760px) {
  .lightbox { gap: 12px; padding: 12px; }
  .lightbox-stage { grid-template-columns: minmax(0, 1fr); position: relative; }
  .lightbox-image,
  .lightbox-status { grid-column: 1; }
  .lightbox-previous,
  .lightbox-next { position: absolute; z-index: 1; }
  .lightbox-next { grid-column: 1; right: 0; }
  .lightbox-previous { left: 0; }
  .lightbox-caption { font-size: 14px; }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes starPulse {
  0%,
  100% {
    transform: translateY(0) scale(0.92);
  }

  45% {
    transform: translateY(-3px) scale(1);
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1080px) {
  .site-header {
    border-radius: 26px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 22px;
    box-shadow: var(--shadow-md);
    color: var(--navy-950);
    display: none;
    flex-direction: column;
    left: 0;
    padding: 14px;
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
  }

  .menu-open .site-nav {
    display: flex;
  }

  .site-nav a {
    width: 100%;
  }

  .identity-grid,
  .risk-inner,
  .map-section,
  .news-gallery-section,
  .contact-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .team-grid,
  .project-grid,
  .vision-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .risk-inner {
    max-width: min(940px, calc(100vw - 32px));
  }

  .risk-visual {
    min-height: 460px;
  }

  .investment-map {
    grid-template-columns: 1fr;
  }

  .map-surface {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    min-height: 420px;
  }

  .map-card {
    border-left: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  }

  .legal,
  .site-footer nav {
    justify-content: start;
  }
}

@media (max-width: 1100px) {
  .section-heading > h2 { font-size: 52px; }
  .hero h1 { font-size: 64px; }
}

@media (max-width: 1000px) {
  .finance-explainer,
  .finance-tables { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 760px) {
  .vision-gallery { grid-template-columns: 1fr; }
  .vision-gallery .vision-media-portrait img { max-height: 440px; }
  .vision-intro > p { font-size: 17px; }
  .vision-group { margin-top: 32px; }
  .vision-group-title { font-size: 24px; }
  .vision-body { padding: 22px; }
  .vision-card h4 { font-size: 23px; }
  .vision-card-heading { gap: 14px; margin-bottom: 20px; }
  .vision-card-wide .vision-detail { columns: 1; }
  .vision-media figcaption { padding-inline: 22px; }
  .case-item summary {
    gap: 8px 14px;
    grid-template-columns: minmax(0, 1fr) 20px;
    padding: 22px 0;
  }
  .case-date { grid-column: 1; }
  .case-item h3 { font-size: 20px; grid-column: 1; }
  .case-item summary::after { grid-column: 2; grid-row: 1 / 3; }
  .case-body { padding: 0 0 24px; }
  .case-links { flex-direction: column; gap: 14px; }
  .risk-copy h2 { font-size: 28px; }
  .risk-heading-return { margin-top: 22px; padding-left: 14px; }
  .risk-heading-question { font-size: 28px; }
  .risk-heading-answer { font-size: 38px; }
  .team-heading h3 { font-size: 30px; }
  .election-info {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 26px 0;
  }
  .election-team { padding-left: 18px; }
  .election-team .election-call { font-size: 24px; }
  .election-numbers {
    grid-template-columns: repeat(5, 44px);
    gap: 10px 8px;
  }
  .election-numbers li {
    width: 44px;
    height: 44px;
    font-size: 21px;
  }
  .site-header {
    max-width: calc(100vw - 24px);
    top: 12px;
  }

  .hero {
    min-height: calc(100svh - 24px);
    padding-top: 140px;
    padding-bottom: 108px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero h1 {
    font-size: 40px;
  }
  .hero-subtitle { font-size: 20px; margin-bottom: 28px; }

  .button {
    min-height: 50px;
    padding: 0 18px;
  }

  .section,
  .risk-section,
  .contact-section {
    padding-bottom: 76px;
    padding-top: 76px;
  }

  .section-heading {
    align-items: start;
    gap: 14px;
    grid-template-columns: 1fr;
    margin-bottom: 32px;
  }
  .section-heading::after {
    grid-column: 1;
    height: 20px;
    margin: 4px 0 0;
    width: 140px;
    -webkit-mask-size: 20px 20px;
    mask-size: 20px 20px;
  }
  h2,
  .section-heading > h2,
  .map-copy h2 { font-size: 36px; }
  .intro-panel h3 { font-size: 28px; }

  .team-grid,
  .project-grid,
  .vision-grid,
  .mini-timeline {
    grid-template-columns: 1fr;
  }

  .portrait-large {
    min-height: 360px;
  }

  .featured-news {
    grid-template-columns: 1fr;
  }

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

  .gallery-item.wide {
    grid-column: span 1;
  }
}

@media (max-width: 460px) {
  .finance-table { font-size: 16px; }
  .finance-table th,
  .finance-table td { padding: 12px 8px; }
  .finance-table thead th { font-size: 12px; }
  .finance-table tfoot th,
  .finance-table tfoot td { font-size: 20px; }
  .brand span:last-child {
    display: none;
  }

  .hero h1 {
    font-size: 34px;
  }

  h2,
  .section-heading > h2,
  .news-column h2,
  .gallery-column h2,
  .contact-copy h2 {
    font-size: 32px;
  }
  .map-copy h2 { font-size: 32px; }

  .project-body,
  .contact-form,
  .risk-panel {
    padding: 20px;
  }

  .risk-visual {
    min-height: 350px;
    padding: 20px;
  }

  .casino-image-card {
    border-radius: 20px;
    padding: 7px;
  }

  .casino-image {
    border-radius: 15px;
  }
}
