:root {
  --bg: #f5eee6;
  --bg-soft: #fff8f2;
  --ink: #172224;
  --ink-soft: rgba(23, 34, 36, 0.72);
  --mut: #e25593;
  --mut-deep: #be3c75;
  --teal: #4b2a41;
  --teal-deep: #351b2d;
  --mint: #f1bad1;
  --sand: #f7d8e7;
  --paper: rgba(255, 249, 243, 0.68);
  --paper-strong: rgba(255, 252, 248, 0.88);
  --line: rgba(23, 34, 36, 0.1);
  --shadow: 0 24px 60px rgba(23, 34, 36, 0.14);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Trebuchet MS", "Aptos", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(226, 85, 147, 0.2), transparent 30%),
    radial-gradient(circle at 85% 20%, rgba(241, 186, 209, 0.36), transparent 22%),
    linear-gradient(180deg, #fff8fb 0%, var(--bg) 48%, #eddce4 100%);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(26px);
  opacity: 0.58;
  z-index: 0;
}

body::before {
  width: 18rem;
  height: 18rem;
  top: 6%;
  right: -5rem;
  background: rgba(226, 85, 147, 0.24);
}

body::after {
  width: 16rem;
  height: 16rem;
  bottom: 10%;
  left: -4rem;
  background: rgba(241, 186, 209, 0.3);
}

a {
  color: inherit;
}

.page-shell,
.legal-wrapper {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.page-shell {
  padding-bottom: 3rem;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  padding: 1.2rem 0 0.9rem;
  position: sticky;
  top: 0;
  z-index: 12;
  backdrop-filter: blur(14px);
}

.site-header-home {
  justify-content: center;
  padding: 0.1rem 0 0;
  margin-bottom: -0.3rem;
  position: relative;
  top: auto;
  backdrop-filter: none;
}

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

.brand-text-only {
  padding: 0.3rem 0;
}

.hero-logo {
  display: block;
  width: min(100%, 28rem);
  line-height: 0;
  text-decoration: none;
}

.hero-logo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.brand-mark {
  width: 2.7rem;
  height: 2.7rem;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--mut), #f39fc3);
  color: #fff;
  box-shadow: 0 16px 34px rgba(226, 85, 147, 0.28);
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.site-nav,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.site-nav a,
.footer-links a,
.back-link {
  text-decoration: none;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.34);
}

.hero,
.section,
.cta,
.legal-main {
  position: relative;
}

.team-hero {
  padding: 0 0 3.2rem;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.2rem;
  align-items: end;
}

.hero-copy,
.candidate-card,
.principle-card,
.topic-card,
.cta,
.legal-card,
.legal-warning {
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: var(--paper);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.candidate-card,
.principle-card,
.topic-card,
.legal-card,
.legal-warning {
  border-radius: var(--radius);
}

.hero-copy {
  padding: 1.7rem;
  border-radius: 36px;
}

.legal-card,
.legal-warning {
  padding: 1.5rem;
}

.eyebrow {
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(23, 34, 36, 0.62);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.7rem);
  line-height: 0.98;
  max-width: 14ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1;
  max-width: 18ch;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.1;
}

.hero-text,
.section-intro,
.candidate-card blockquote,
.principle-card p,
.topic-card p,
.cta p,
.legal-card p,
.legal-list li {
  font-size: 1.04rem;
  line-height: 1.7;
}

.hero-text {
  max-width: 58ch;
  margin: 1.4rem 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible,
.candidate-card:hover,
.principle-card:hover,
.topic-card:hover {
  transform: translateY(-3px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--mut-deep), var(--mut));
  box-shadow: 0 18px 36px rgba(226, 85, 147, 0.3);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid var(--line);
}

.hero-actions .button-secondary {
  min-width: 10.5rem;
}

.button-large {
  margin-top: 1rem;
  padding-inline: 2.3rem;
}

.hero-rotator {
  display: inline-grid;
  grid-template-rows: auto minmax(1.5em, auto);
  gap: 0.35rem;
  width: min(100%, 38rem);
  margin-top: 1.4rem;
  padding: 0.85rem 1rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.44);
  align-items: start;
}

.rotator-label {
  display: block;
  font-weight: 700;
  white-space: nowrap;
}

.rotator-text {
  display: block;
  width: 100%;
  min-height: 1.5em;
  line-height: 1.5;
  transition: opacity 180ms ease;
}

@media (min-width: 761px) {
  .rotator-text {
    white-space: nowrap;
  }
}

.card-label {
  margin: 0 0 1rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.spark-list,
.legal-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.spark-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.spark-list li::before {
  content: "";
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--mut), #f5bad4);
  box-shadow: 0 0 0 6px rgba(226, 85, 147, 0.12);
}

.candidate-grid,
.principle-grid,
.topic-grid {
  display: grid;
  gap: 1rem;
}

.candidate-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2rem;
}

.candidate-grid-standalone {
  margin-top: 0;
}

.candidate-card,
.principle-card,
.topic-card {
  padding: 1rem;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.candidate-card {
  position: relative;
  overflow: hidden;
}

.candidate-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--mut), var(--mint));
}

.candidate-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(240, 224, 232, 0.68)),
    linear-gradient(135deg, rgba(226, 85, 147, 0.18), rgba(241, 186, 209, 0.22));
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.candidate-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.candidate-photo::after {
  content: "";
  position: absolute;
  inset: auto -20% -22% auto;
  width: 70%;
  height: 46%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  transform: rotate(-16deg);
  pointer-events: none;
}

.candidate-body {
  padding: 1rem 0 0.2rem;
}

.candidate-name {
  margin: 0;
  font-size: 1.28rem;
  font-weight: 700;
}

.candidate-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.75rem;
}

.candidate-chip {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid var(--line);
  font-size: 0.92rem;
}

.candidate-card blockquote {
  margin: 1rem 0 0;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(23, 34, 36, 0.08);
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.55;
}

.section {
  padding: 4rem 0;
}

.section-heading {
  margin-bottom: 2rem;
}

.section-heading-wide h2 {
  max-width: 22ch;
}

.section-intro {
  max-width: 62ch;
  margin: 1rem 0 0;
  color: var(--ink-soft);
}

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

.principle-icon {
  width: 3.6rem;
  height: 3.6rem;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(226, 85, 147, 0.16), rgba(241, 186, 209, 0.24));
}

.principle-icon svg {
  width: 1.85rem;
  height: 1.85rem;
  fill: none;
  stroke: var(--teal);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.principle-card p,
.topic-card p {
  margin: 0.85rem 0 0;
}

.principles-outro {
  max-width: 62ch;
  margin: 1.5rem 0 0;
  font-size: 1.04rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.section-contrast {
  padding: 4.4rem 2rem;
  border-radius: 38px;
  background:
    radial-gradient(circle at top right, rgba(241, 186, 209, 0.2), transparent 23%),
    linear-gradient(135deg, rgba(53, 27, 45, 0.98), rgba(75, 42, 65, 0.94));
  color: #f8f1eb;
}

.section-contrast .eyebrow,
.section-contrast .section-intro {
  color: rgba(248, 241, 235, 0.72);
}

.topic-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.topic-card {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.cta {
  margin-top: 1rem;
  padding: 3rem 2rem;
  border-radius: 38px;
  text-align: center;
  background:
    radial-gradient(circle at top, rgba(226, 85, 147, 0.18), transparent 36%),
    rgba(255, 248, 242, 0.8);
}

.cta h2 {
  max-width: none;
}

.cta p {
  max-width: 56ch;
  margin: 1rem auto 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.4rem;
  margin-top: 2rem;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
  color: var(--ink-soft);
}

.legal-page {
  background:
    radial-gradient(circle at top left, rgba(226, 85, 147, 0.16), transparent 28%),
    linear-gradient(180deg, var(--bg-soft) 0%, #f4ebe0 100%);
}

.legal-wrapper {
  padding-bottom: 3.2rem;
}

.legal-main {
  padding-top: 2rem;
  width: min(760px, 100%);
  margin: 0 auto;
}

.legal-hero {
  padding: 1.1rem 0 0.7rem;
}

.legal-hero h1 {
  max-width: none;
  font-size: clamp(2rem, 4vw, 2.9rem);
}

.legal-warning {
  margin-top: 1rem;
}

.legal-card {
  margin-top: 1rem;
  background: var(--paper-strong);
  padding: 1.2rem 1.3rem;
  box-shadow: 0 14px 34px rgba(23, 34, 36, 0.1);
}

.legal-card h2 {
  max-width: none;
  margin-bottom: 0.8rem;
}

.legal-card p {
  margin: 0.45rem 0;
}

.legal-spacer {
  height: 0.4rem;
}

.legal-list li {
  padding-left: 1.2rem;
  position: relative;
}

.legal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: var(--mut);
}

.back-link {
  display: inline-flex;
  margin-top: 1.25rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@media (max-width: 980px) {
  .hero-layout,
  .candidate-grid,
  .principle-grid,
  .topic-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .candidate-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .site-footer {
    display: grid;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    flex-direction: column;
    align-items: flex-start;
  }

  .section-contrast,
  .cta {
    padding-inline: 1.25rem;
  }

  .site-header-home {
    align-items: center;
    padding-top: 0.1rem;
    margin-bottom: -0.5rem;
  }

  .hero-logo {
    width: min(100%, 20rem);
  }
}

@media (max-width: 640px) {
  .page-shell,
  .legal-wrapper {
    width: min(100% - 1rem, 100%);
  }

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

  .hero-actions .button {
    width: 100%;
    min-width: 0;
    min-height: 3rem;
    padding: 0.78rem 0.85rem;
    font-size: 0.94rem;
  }

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

  .section {
    padding: 3rem 0;
  }

  h1 {
    max-width: 9ch;
  }

  .site-footer {
    padding-bottom: 1rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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