:root {
  --purple-950: #1a0718;
  --purple-900: #2e0c2b;
  --purple-800: #471140;
  --purple-700: #67127f;
  --violet: #a22bc1;
  --lavender: #f0e2f4;
  --ice: #f8f5f8;
  --white: #ffffff;
  --ink: #18131c;
  --muted: #635b68;
  --line: rgba(71, 17, 64, 0.18);
  --shadow: 0 28px 80px rgba(26, 7, 24, 0.3);
  --display: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --sans: "Poppins", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ice);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.65rem 1rem;
  color: var(--white);
  background: var(--purple-950);
  border-radius: 0.5rem;
  transform: translateY(-150%);
}

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

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 1.35rem 0;
  color: var(--white);
}

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

.brand-mark {
  display: grid;
  width: 2.9rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 700;
}

.brand-copy {
  display: grid;
  line-height: 1.2;
}

.brand-copy strong {
  font-family: var(--display);
  font-size: 1.08rem;
}

.brand-copy span {
  margin-top: 0.18rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

nav a {
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-contact {
  padding: 0.6rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
  min-height: 760px;
  padding: 9.5rem max(1.5rem, calc((100vw - 1180px) / 2)) 6rem;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 28%, rgba(162, 43, 193, 0.54), transparent 30%),
    linear-gradient(126deg, var(--purple-950) 4%, var(--purple-800) 58%, #6d1688 100%);
}

.hero::before,
.hero::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
}

.hero::before {
  width: 46rem;
  height: 46rem;
  right: -19rem;
  top: -15rem;
}

.hero::after {
  width: 28rem;
  height: 28rem;
  right: -4rem;
  bottom: -17rem;
}

.hero-copy,
.campaign-card {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 1.25rem;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 800px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.6rem, 7.4vw, 7.2rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.93;
}

.hero-intro {
  max-width: 680px;
  margin: 2rem 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.2rem;
}

.button {
  display: inline-flex;
  justify-content: center;
  padding: 0.9rem 1.3rem;
  border: 1px solid var(--white);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.button-primary {
  color: var(--purple-950);
  background: var(--white);
}

.button-secondary {
  color: var(--white);
  background: transparent;
}

.button:hover,
.button:focus-visible,
.nav-contact:hover,
.nav-contact:focus-visible {
  transform: translateY(-1px);
}

.campaign-card {
  min-height: 540px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.campaign-card::after {
  position: absolute;
  inset: 1rem;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1.35rem;
  pointer-events: none;
}

.campaign-photo {
  position: absolute;
  inset: 0 0 auto;
  height: 62%;
  margin: 0;
  overflow: hidden;
  background: var(--purple-900);
}

.campaign-photo::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(to bottom, transparent 58%, var(--purple-900) 100%);
}

.campaign-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
  filter: contrast(1.04);
}

.campaign-card-copy {
  position: absolute;
  right: 2.2rem;
  bottom: 4.8rem;
  left: 2.2rem;
  z-index: 1;
}

.campaign-card p {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.campaign-card h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3rem, 5vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.9;
}

.campaign-card > span {
  position: absolute;
  right: 2.2rem;
  bottom: 2rem;
  left: 2.2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.statement {
  padding: clamp(4.5rem, 8vw, 8rem) max(1.5rem, calc((100vw - 1000px) / 2));
  background: var(--white);
}

.statement p {
  margin: 0;
  color: var(--purple-900);
  font-family: var(--display);
  font-size: clamp(2rem, 4.2vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
  text-align: center;
}

.section {
  padding: clamp(4.5rem, 8vw, 8rem) max(1.5rem, calc((100vw - 1180px) / 2));
}

.section-heading {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  column-gap: 4rem;
  align-items: start;
  margin-bottom: 3.25rem;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  color: var(--purple-700);
}

.section-heading h2,
.about-copy h2,
.vote-copy h2,
.contact h2 {
  margin: 0;
  color: var(--purple-950);
  font-family: var(--display);
  font-size: clamp(2.7rem, 5vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.section-heading > p:last-child {
  max-width: 580px;
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.framework-origin {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  margin-bottom: 1.25rem;
  padding: clamp(2rem, 5vw, 4rem);
  color: var(--white);
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at 12% 18%, rgba(162, 43, 193, 0.48), transparent 34%),
    var(--purple-950);
}

.framework-rules {
  display: grid;
  gap: 1rem;
}

.framework-rules div {
  display: grid;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.framework-rules span {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.framework-rules strong {
  margin-top: 0.2rem;
  font-family: var(--display);
  font-size: clamp(2.3rem, 4.5vw, 4.2rem);
  line-height: 1;
}

.framework-story .eyebrow {
  color: var(--violet);
}

.framework-story > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

.text-link.framework-link {
  color: var(--white);
}

.priority-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.priority-card {
  min-height: 520px;
  padding: clamp(2rem, 4vw, 3.5rem);
  border-radius: 1.5rem;
}

.priority-safe {
  color: var(--white);
  background: var(--purple-900);
}

.priority-fun {
  color: var(--purple-950);
  background: var(--lavender);
}

.card-number {
  margin: 0 0 4.5rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.priority-card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
}

.priority-card > p:not(.card-number) {
  margin: 1rem 0 1.75rem;
  font-size: 1.05rem;
}

.priority-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.priority-card li {
  padding: 0.78rem 0;
  border-top: 1px solid currentColor;
  border-color: color-mix(in srgb, currentColor 24%, transparent);
}

.about {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(3rem, 9vw, 9rem);
  color: var(--white);
  background: var(--purple-950);
}

.about-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 1rem;
}

.about-feature-photo {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 4 / 5;
  margin: 0 0 1rem;
  overflow: hidden;
  border-radius: 1.35rem;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.28);
}

.about-feature-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.about-feature-photo::after {
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  content: "";
  background: linear-gradient(to top, rgba(26, 7, 24, 0.88), transparent);
}

.about-feature-photo figcaption {
  position: absolute;
  right: 1rem;
  bottom: 0.9rem;
  left: 1rem;
  z-index: 1;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
}

.about-label span {
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 700;
}

.about-label span:nth-child(2) {
  margin-left: 3rem;
}

.about-label span:nth-child(3) {
  margin-left: 1rem;
}

.about-label span:nth-child(4) {
  margin-left: 3.75rem;
}

.about-label span:nth-child(5) {
  margin-left: 1.75rem;
}

.about-label span:nth-child(6) {
  margin-left: 0.5rem;
}

.about-copy .eyebrow,
.vote-copy .eyebrow,
.contact .eyebrow {
  color: var(--violet);
}

.about-copy h2 {
  color: var(--white);
}

.about-copy > p:not(.eyebrow) {
  max-width: 730px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
}

.community {
  background: var(--ice);
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  grid-auto-rows: 180px;
  gap: 1rem;
}

.community-photo {
  position: relative;
  grid-column: span 3;
  margin: 0;
  overflow: hidden;
  border-radius: 1.35rem;
  background: var(--purple-900);
  box-shadow: 0 20px 45px rgba(26, 7, 24, 0.14);
}

.community-photo:nth-child(1),
.community-photo:nth-child(2),
.community-photo:nth-child(8),
.community-photo:nth-child(9),
.community-photo:nth-child(10),
.community-photo:nth-child(12) {
  grid-row: span 2;
}

.community-photo:nth-child(5),
.community-photo:nth-child(7),
.community-photo:nth-child(11) {
  grid-column: span 6;
  grid-row: span 2;
}

.community-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease;
}

.community-photo:nth-child(1) img,
.community-photo:nth-child(4) img,
.community-photo:nth-child(8) img,
.community-photo:nth-child(9) img,
.community-photo:nth-child(11) img,
.community-photo:nth-child(12) img {
  object-position: center top;
}

.community-photo::after {
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  content: "";
  background: linear-gradient(to top, rgba(26, 7, 24, 0.82), transparent);
  pointer-events: none;
}

.community-photo figcaption {
  position: absolute;
  right: 1rem;
  bottom: 0.85rem;
  left: 1rem;
  z-index: 1;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.community-photo:hover img {
  transform: scale(1.025);
}

.vote {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(3rem, 10vw, 10rem);
  align-items: center;
  background: var(--white);
}

.vote-date {
  display: grid;
  padding: 2.5rem;
  color: var(--white);
  background: var(--purple-800);
  border-radius: 1.5rem;
}

.vote-date span {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.vote-date strong {
  margin: 0.65rem 0;
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 5.4rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.vote-copy p:not(.eyebrow) {
  max-width: 660px;
  color: var(--muted);
  font-size: 1.08rem;
}

.text-link {
  display: inline-block;
  margin-top: 0.75rem;
  color: var(--purple-700);
  font-weight: 800;
  text-underline-offset: 0.25rem;
}

.contact {
  text-align: center;
}

.contact > p:not(.eyebrow) {
  margin: 1.2rem auto 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 2.2rem;
}

.contact-links a {
  padding: 0.8rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--purple-900);
  font-weight: 800;
  text-decoration: none;
  background: var(--white);
}

footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 2rem;
  align-items: end;
  padding: 2.5rem max(1.5rem, calc((100vw - 1180px) / 2));
  color: rgba(255, 255, 255, 0.68);
  background: var(--purple-950);
  font-size: 0.75rem;
}

footer div {
  display: grid;
}

footer strong {
  color: var(--white);
  font-family: var(--display);
  font-size: 1.1rem;
}

footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .site-header {
    width: min(100% - 2rem, 1180px);
  }

  nav a:not(.nav-contact) {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 9rem;
  }

  .campaign-card {
    min-height: 520px;
  }

  .section-heading,
  .about,
  .vote,
  .framework-origin {
    grid-template-columns: 1fr;
  }

  .priority-card {
    min-height: auto;
  }

  .community-grid {
    grid-auto-rows: 150px;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: start;
  }
}

@media (max-width: 680px) {
  body {
    line-height: 1.55;
  }

  .brand-copy span {
    display: none;
  }

  .hero {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .hero h1 {
    font-size: clamp(3.25rem, 16vw, 5.2rem);
  }

  .hero-actions {
    display: grid;
  }

  .campaign-card {
    padding: 1.5rem;
  }

  .campaign-card > span {
    right: 1.5rem;
    left: 1.5rem;
  }

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

  .section-heading {
    gap: 1rem;
  }

  .about-label span {
    display: none;
  }

  .about-feature-photo {
    max-width: none;
    aspect-ratio: 16 / 10;
    margin-bottom: 0;
  }

  .contact-links {
    display: grid;
  }
}

@media (max-width: 680px) {
  .community-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 180px;
  }

  .community-photo,
  .community-photo:nth-child(3),
  .community-photo:nth-child(4),
  .community-photo:nth-child(6) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .community-photo:nth-child(1),
  .community-photo:nth-child(2),
  .community-photo:nth-child(8),
  .community-photo:nth-child(9),
  .community-photo:nth-child(12) {
    grid-column: span 1;
    grid-row: span 2;
  }

  .community-photo:nth-child(5),
  .community-photo:nth-child(7) {
    grid-column: span 2;
    grid-row: span 1;
  }

  .community-photo:nth-child(11) {
    grid-column: span 2;
    grid-row: span 2;
  }
}

@media (max-width: 520px) {
  .community-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }

  .community-photo,
  .community-photo:nth-child(n) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .community-photo:nth-child(12) {
    grid-row: span 2;
  }
}

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

  .community-photo img {
    transition: none;
  }
}
