/* Victor Muh campaign website
   Palette and type can be changed from the variables below.
*/
:root {
  --navy-950: #051422;
  --navy-900: #071b2e;
  --navy-800: #0d2943;
  --red-700: #9d1e29;
  --red-600: #b72a35;
  --red-500: #ca3640;
  --gold: #d8ac52;
  --cream: #f5f0e7;
  --sand: #e9dfcf;
  --white: #ffffff;
  --ink: #182330;
  --muted: #5f6975;
  --line: rgba(7, 27, 46, 0.14);
  --shadow: 0 24px 70px rgba(5, 20, 34, 0.14);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 30px;
  --container: 1180px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 9999;
  transform: translateY(-150%);
  background: var(--white);
  color: var(--navy-900);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 800;
}

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

.election-bar {
  background: var(--red-600);
  color: var(--white);
  font-size: 13px;
  letter-spacing: 0.035em;
}

.election-bar__inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.election-bar__inner a {
  margin-left: auto;
  font-weight: 800;
  text-decoration: none;
}

.election-bar__inner a:hover { text-decoration: underline; }
.election-bar__dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.7); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(7,27,46,.08);
  transition: box-shadow .25s ease, background .25s ease;
}

.site-header.is-scrolled { box-shadow: 0 12px 35px rgba(5,20,34,.1); }

.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand__mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--navy-900);
  color: var(--white);
  border: 2px solid var(--gold);
  border-radius: 50%;
  font-family: var(--serif);
  font-weight: 900;
  letter-spacing: -.06em;
}

.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { color: var(--navy-900); font-size: 18px; letter-spacing: .06em; }
.brand__text small { margin-top: 5px; color: var(--red-600); font-size: 10px; font-weight: 900; letter-spacing: .12em; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 750;
}

.main-nav > a { text-decoration: none; }
.main-nav > a:not(.button) { position: relative; padding: 8px 0; }
.main-nav > a:not(.button)::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 2px;
  height: 2px;
  background: var(--red-600);
  transition: right .2s ease;
}
.main-nav > a:not(.button):hover::after { right: 0; }
.nav-legacy { color: var(--muted); }

.menu-button {
  display: none;
  width: 46px; height: 42px;
  padding: 9px;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.menu-button span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--navy-900);
  transition: transform .2s ease, opacity .2s ease;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 23px;
  border: 2px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .02em;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button:hover { transform: translateY(-2px); }
.button--small { min-height: 42px; padding: 9px 17px; }
.button--red { background: var(--red-600); color: var(--white); box-shadow: 0 10px 22px rgba(183,42,53,.24); }
.button--red:hover { background: var(--red-700); box-shadow: 0 14px 28px rgba(183,42,53,.3); }
.button--outline-light { color: var(--white); border-color: rgba(255,255,255,.55); }
.button--outline-light:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.button--light { background: var(--white); color: var(--navy-900); box-shadow: 0 12px 28px rgba(5,20,34,.18); }

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 75% 25%, rgba(216,172,82,.12), transparent 28%),
    linear-gradient(128deg, var(--navy-950), var(--navy-800));
}

.hero__pattern {
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image:
    url("data:image/svg+xml,%3Csvg width='240' height='240' viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1'%3E%3Cpath d='M-20 80C30 20 70 30 105 65s75 48 160-10'/%3E%3Cpath d='M-20 105C35 48 74 54 110 88s78 45 155-18'/%3E%3Cpath d='M-20 132C30 80 75 80 112 112s75 42 153-20'/%3E%3Cpath d='M-20 160C28 112 70 110 110 142s78 38 155-22'/%3E%3Cpath d='M-20 190C25 142 70 142 112 170s78 33 153-25'/%3E%3C/g%3E%3C/svg%3E");
}

.hero__grid {
  position: relative;
  z-index: 1;
  min-height: 690px;
  display: grid;
  grid-template-columns: 1.14fr .86fr;
  align-items: center;
  gap: 70px;
  padding-top: 76px;
  padding-bottom: 112px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow--red { color: var(--red-600); }

.hero h1,
.section-heading h2,
.district-grid h2,
.get-involved h2,
.final-cta h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.035em;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(58px, 7.1vw, 96px);
}

.hero h1 span { color: var(--gold); }

.hero__lead {
  max-width: 720px;
  margin: 28px 0 0;
  color: rgba(255,255,255,.82);
  font-size: 19px;
  line-height: 1.72;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}

.hero__values {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255,255,255,.75);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero__values li { display: flex; align-items: center; gap: 12px; }
.hero__values li:not(:first-child)::before { content: "✦"; color: var(--gold); font-size: 9px; }

.hero__visual {
  position: relative;
  width: min(100%, 430px);
  justify-self: end;
}

.candidate-card {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  background: linear-gradient(160deg, #f3eee5, #d9cbb7);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 28px 28px 110px 28px;
  box-shadow: 0 34px 80px rgba(0,0,0,.3);
}

.candidate-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,20,34,.66), transparent 46%);
  pointer-events: none;
}

.candidate-card__topline {
  position: absolute;
  z-index: 3;
  top: 22px; left: 25px; right: 25px;
  height: 5px;
  background: linear-gradient(90deg, var(--red-600) 0 32%, var(--white) 32% 66%, var(--navy-900) 66%);
  border-radius: 99px;
}

.candidate-card__portrait {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.candidate-card__portrait > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.portrait-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 55px;
  background:
    radial-gradient(circle at 70% 26%, rgba(216,172,82,.45), transparent 20%),
    linear-gradient(145deg, #eee4d4, #cdbb9e);
  color: var(--navy-900);
}

.portrait-fallback::before {
  content: "";
  position: absolute;
  width: 280px; height: 280px;
  right: -95px; bottom: 72px;
  border: 34px solid rgba(7,27,46,.08);
  border-radius: 50%;
}

.portrait-fallback__small {
  position: relative;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: .22em;
}

.portrait-fallback__large {
  position: relative;
  margin-top: -8px;
  color: var(--red-600);
  font-family: var(--serif);
  font-size: 98px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.07em;
}

.portrait-fallback__district {
  position: relative;
  align-self: flex-start;
  margin-top: 18px;
  padding: 7px 12px;
  background: var(--navy-900);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
}

.candidate-card__footer {
  position: absolute;
  z-index: 3;
  left: 25px;
  right: 60px;
  bottom: 25px;
  display: flex;
  justify-content: space-between;
  color: var(--white);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .15em;
}

.hero__seal {
  position: absolute;
  z-index: 5;
  right: -24px;
  bottom: 40px;
  width: 122px; height: 122px;
  display: grid;
  place-items: center;
  align-content: center;
  background: var(--red-600);
  color: var(--white);
  border: 7px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 14px 40px rgba(0,0,0,.25);
  transform: rotate(7deg);
}
.hero__seal span { font-family: var(--serif); font-size: 50px; font-weight: 900; line-height: .9; }
.hero__seal small { margin-top: 4px; font-size: 8px; font-weight: 900; letter-spacing: .1em; }

.hero__wave {
  position: absolute;
  left: -4%; right: -4%; bottom: -62px;
  height: 115px;
  background: var(--white);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.intro-strip {
  padding: 30px 0 38px;
  background: var(--white);
}

.intro-strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
}
.intro-strip__inner p {
  margin: 0;
  color: var(--navy-900);
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 27px);
  font-weight: 700;
}
.intro-strip__star { color: var(--red-600); font-size: 24px; }

.section { padding: 110px 0; }
.section--cream { background: var(--cream); }

.about-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 95px;
  align-items: start;
}

.section-heading h2,
.district-grid h2,
.get-involved h2 {
  color: var(--navy-900);
  font-size: clamp(44px, 5.3vw, 70px);
}

.section-heading > p:last-child {
  max-width: 680px;
  margin: 22px auto 0;
  color: var(--muted);
}

.section-heading--center { text-align: center; margin-bottom: 55px; }

.about-copy p { margin-top: 0; color: #3e4956; }
.lead { color: var(--navy-900) !important; font-size: 22px; line-height: 1.55; }

.about-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 42px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.about-facts > div {
  min-height: 142px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  background: rgba(255,255,255,.7);
}

.about-facts strong {
  color: var(--red-600);
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.1;
}

.about-facts span { margin-top: 9px; color: var(--muted); font-size: 13px; line-height: 1.4; }

.priorities { background: var(--white); }

.priority-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.priority-card {
  position: relative;
  min-height: 360px;
  padding: 34px;
  overflow: hidden;
  background: var(--cream);
  border: 1px solid rgba(7,27,46,.08);
  border-radius: var(--radius);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.priority-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(183,42,53,.28);
}

.priority-card__number {
  position: absolute;
  top: 19px; right: 24px;
  color: rgba(7,27,46,.12);
  font-family: var(--serif);
  font-size: 54px;
  font-weight: 900;
  line-height: 1;
}

.priority-card__icon {
  width: 54px; height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  background: var(--navy-900);
  color: var(--white);
  border-radius: 50%;
}

.priority-card__icon svg {
  width: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.priority-card h3 {
  margin: 0 0 14px;
  color: var(--navy-900);
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.15;
}

.priority-card p { margin: 0; color: var(--muted); font-size: 15px; }

.quote-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--red-600);
}

.quote-section::before,
.quote-section::after {
  content: "";
  position: absolute;
  width: 340px; height: 340px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
}
.quote-section::before { left: -120px; top: -210px; }
.quote-section::after { right: -90px; bottom: -240px; }

.quote-section__inner {
  position: relative;
  z-index: 1;
  max-width: 960px;
  text-align: center;
}

.quote-mark {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 90px;
  line-height: .6;
}

.quote-section blockquote {
  margin: 25px 0 22px;
  font-family: var(--serif);
  font-size: clamp(29px, 4vw, 50px);
  font-weight: 700;
  line-height: 1.24;
}

.quote-section cite {
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.district-grid {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  align-items: center;
  gap: 95px;
}

.district-art {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  align-content: center;
  background:
    radial-gradient(circle at center, rgba(216,172,82,.26), transparent 38%),
    var(--navy-900);
  color: var(--white);
  border-radius: 50% 50% 50% 18%;
  box-shadow: var(--shadow);
}

.district-art::before,
.district-art::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: inherit;
}
.district-art::before { inset: 24px; }
.district-art::after { inset: 45px; }

.district-art__ring {
  position: absolute;
  width: 76%; height: 76%;
  border: 2px dashed rgba(216,172,82,.48);
  border-radius: 50%;
  animation: slow-spin 32s linear infinite;
}
@keyframes slow-spin { to { transform: rotate(360deg); } }

.district-art__number {
  position: relative;
  z-index: 2;
  font-family: var(--serif);
  font-size: clamp(90px, 11vw, 150px);
  font-weight: 900;
  line-height: .9;
}

.district-art__label {
  position: relative;
  z-index: 2;
  margin-top: 8px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .28em;
}

.district-grid p { color: #46515e; }
.district-links { display: flex; flex-wrap: wrap; gap: 25px; margin-top: 32px; }

.text-link {
  color: var(--red-600);
  font-weight: 900;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.get-involved {
  color: var(--white);
  background:
    radial-gradient(circle at 10% 10%, rgba(216,172,82,.14), transparent 28%),
    var(--navy-900);
}

.get-involved__grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 90px;
  align-items: center;
}

.get-involved h2 { color: var(--white); }
.get-involved p:not(.eyebrow) { max-width: 580px; color: rgba(255,255,255,.72); }

.action-panel {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
}

.action-row {
  display: grid;
  grid-template-columns: 45px 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 98px;
  padding: 18px 24px;
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.12);
  transition: background .18s ease, padding-left .18s ease;
}

.action-row:last-child { border-bottom: 0; }
.action-row:hover { background: rgba(255,255,255,.07); padding-left: 30px; }
.action-row__icon { color: var(--gold); font-family: var(--serif); font-size: 20px; font-weight: 900; }
.action-row strong { display: block; font-size: 17px; }
.action-row small { display: block; margin-top: 3px; color: rgba(255,255,255,.58); font-size: 13px; }

.final-cta {
  padding: 48px 0;
  color: var(--white);
  background: var(--red-600);
}

.final-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.final-cta__kicker { color: rgba(255,255,255,.74); font-size: 12px; font-weight: 900; letter-spacing: .16em; }
.final-cta h2 { margin-top: 8px; color: var(--white); font-size: clamp(34px, 5vw, 58px); }

.site-footer {
  padding: 55px 0;
  color: rgba(255,255,255,.7);
  background: var(--navy-950);
  font-size: 13px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr 1fr;
  gap: 50px;
  align-items: start;
}

.footer-brand { display: flex; gap: 14px; align-items: center; }
.footer-brand strong { display: block; color: var(--white); font-size: 17px; }
.footer-brand span:last-child { display: block; margin-top: 4px; }

.footer-nav { display: grid; grid-template-columns: repeat(2, max-content); gap: 10px 28px; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { color: var(--white); }

.footer-meta { text-align: right; }
.footer-meta p { margin: 0 0 6px; }

.config-notice {
  position: fixed;
  z-index: 2000;
  left: 16px; right: 16px; bottom: 16px;
  max-width: 680px;
  margin-inline: auto;
  padding: 12px 16px;
  color: var(--navy-900);
  background: #fff3cd;
  border: 1px solid #e5c65d;
  border-radius: 10px;
  box-shadow: 0 10px 35px rgba(0,0,0,.18);
  text-align: center;
  font-size: 13px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media (max-width: 1020px) {
  .menu-button { display: block; }
  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0; right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 20px 24px;
    background: var(--white);
    box-shadow: 0 22px 40px rgba(5,20,34,.14);
  }
  .main-nav.is-open { display: flex; }
  .main-nav > a:not(.button) { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .main-nav .button { margin-top: 14px; }

  .hero__grid { grid-template-columns: 1fr 380px; gap: 35px; }
  .about-grid,
  .district-grid,
  .get-involved__grid { gap: 55px; }
  .priority-grid { grid-template-columns: repeat(2, 1fr); }
  .about-facts { grid-template-columns: 1fr; }
  .about-facts > div { min-height: 105px; }
}

@media (max-width: 780px) {
  .election-bar__inner { justify-content: flex-start; overflow-x: auto; white-space: nowrap; }
  .election-bar__inner a { margin-left: 15px; }
  .brand__text small { display: none; }
  .nav-wrap { min-height: 70px; }

  .hero__grid {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 65px;
    padding-bottom: 120px;
  }
  .hero__visual { width: min(92%, 410px); justify-self: center; }
  .candidate-card { min-height: 470px; }
  .hero__seal { right: -13px; }
  .hero__wave { bottom: -78px; }

  .intro-strip__star { display: none; }
  .section { padding: 82px 0; }
  .about-grid,
  .district-grid,
  .get-involved__grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .priority-grid { grid-template-columns: 1fr; }
  .priority-card { min-height: auto; }
  .district-art { width: min(82vw, 430px); justify-self: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-meta { text-align: left; }
}

@media (max-width: 520px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  body { font-size: 16px; }
  .election-bar { font-size: 11px; }
  .election-bar__dot { display: none; }
  .election-bar__inner { gap: 12px; }
  .brand__mark { width: 42px; height: 42px; }
  .brand__text strong { font-size: 16px; }

  .hero h1 { font-size: 51px; }
  .hero__lead { font-size: 17px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .button { width: 100%; }
  .hero__values { gap: 12px; }
  .hero__values li:not(:first-child)::before { display: none; }

  .candidate-card { min-height: 420px; border-radius: 24px 24px 85px 24px; }
  .portrait-fallback { padding: 34px; }
  .portrait-fallback__small { font-size: 26px; }
  .portrait-fallback__large { font-size: 78px; }
  .hero__seal { width: 100px; height: 100px; }
  .hero__seal span { font-size: 41px; }

  .section-heading h2,
  .district-grid h2,
  .get-involved h2 { font-size: 42px; }

  .about-facts { grid-template-columns: 1fr; }
  .action-row { grid-template-columns: 38px 1fr auto; padding: 15px; }
  .action-row:hover { padding-left: 18px; }
  .final-cta__inner { align-items: flex-start; flex-direction: column; }
  .final-cta .button { width: 100%; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
}
