:root {
  --red: #ef1b2d;
  --lime: #d8ef16;
  --light-blue: #a8ddef;
  --purple: #351742;
  --black: #161616;
  --white: #ffffff;
  --off-white: #f8f8f6;
  --muted: #5d5d62;
  --border: #dedee3;
  --max-width: 1180px;
  --text-width: 760px;
  --radius: 20px;
  --shadow: 0 14px 38px rgba(22, 22, 22, 0.12);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--black);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
summary:focus-visible {
  outline: 4px solid var(--light-blue);
  outline-offset: 4px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--purple);
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  margin-bottom: 0.55rem;
  font-size: clamp(2.35rem, 6vw, 5.25rem);
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.55rem);
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

#hero-title {
  color: var(--red);
  font-size: clamp(32px,5vw,64px);
}

.container {
  width: min(calc(100% - 2rem), var(--max-width));
  margin-inline: auto;
}

.section {
  padding-block: clamp(4.5rem, 8vw, 7.5rem);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--purple);
  border-radius: 8px;
}

.skip-link:focus {
  top: 1rem;
}

.hero-art {
  overflow: hidden;
  background: var(--off-white);
}

.hero-art img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  object-position: center;
}

.hero {
  padding-block: clamp(3.5rem, 7vw, 6.5rem);
  text-align: center;
}

.eyebrow {
  margin-bottom: 0.7rem;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: var(--lime);
}

.hero-title {
  color: var(--red)
}

.hero-kicker {
  margin-bottom: 2rem;
  color: var(--purple);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 800;
}

.hero-copy {
  max-width: var(--text-width);
  margin-inline: auto;
  color: #343439;
  font-size: 1.08rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.25rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 0.93rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 10px 22px rgba(239, 27, 45, 0.2);
}

.button-primary:hover {
  background: #d91224;
}

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

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

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

.button-light:hover {
  background: var(--lime);
}

.btn-details {
  font-size: 0.8rem;
  margin-top: 20px;
  width: 100%;
}

.jump-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  border-block: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.jump-nav-inner {
  display: flex;
  gap: 0.4rem;
  justify-content: right;
  overflow-x: auto;
  padding-block: 0.75rem;
  scrollbar-width: thin;
}

.jump-nav a {
  flex: 0 0 auto;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  color: var(--purple);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.jump-nav a:hover {
  background: var(--light-blue);
}

.event-section {
  color: var(--white);
  background: var(--purple);
}

.event-section h2,
.support-section h2 {
  color: var(--white);
}

.event-grid,
.president-grid,
.share-grid,
.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.event-title {
  color: var(--lime);
  font-size: 1.18rem;
  font-weight: 800;
}

.event-note {
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.event-card {
  padding: clamp(1.4rem, 4vw, 2.4rem);
  color: var(--black);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.event-card dl {
  margin: 0;
}

.event-card dl > div + div {
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
}

.event-card dt {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.event-card dd {
  margin: 0.25rem 0 0;
  color: var(--purple);
  font-size: 1.15rem;
  font-weight: 800;
}

.president-grid {
  grid-template-columns: minmax(260px, 0.45fr) minmax(0, 1fr);
  align-items: start;
}

.portrait-card {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--off-white);
  box-shadow: var(--shadow);
}

.portrait-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.prose {
  max-width: 780px;
}

.message-details {
  margin-top: 1.5rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.message-details summary {
  cursor: pointer;
  padding-block: 1rem;
  color: var(--purple);
  font-weight: 800;
}

.details-body {
  padding-bottom: 0.5rem;
}

.timeline-section {
  background: var(--off-white);
}

.section-heading {
  max-width: 820px;
  margin-inline: auto;
  margin-bottom: 3.5rem;
  text-align: center;
}

.timeline {
  position: relative;
  display: grid;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(var(--red), var(--lime), var(--light-blue), var(--purple));
}

.timeline-item {
  position: relative;
  width: calc(50% - 2.5rem);
}

.timeline-item:nth-child(odd) {
  justify-self: start;
}

.timeline-item:nth-child(even) {
  justify-self: end;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 2rem;
  width: 18px;
  height: 18px;
  border: 5px solid var(--white);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 1px rgba(22, 22, 22, 0.08);
}

.timeline-item:nth-child(odd)::before {
  right: -3.08rem;
}

.timeline-item:nth-child(even)::before {
  left: -3.08rem;
}

.timeline-item article {
  position: relative;
  padding: 1.55rem;
  border-top: 7px solid var(--accent);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(22, 22, 22, 0.08);
}

.timeline-year {
  margin-bottom: 0.35rem;
  color: var(--accent-text, var(--purple));
  font-size: clamp(1.45rem, 2.4vw, 2.1rem);
  font-weight: 900;
  line-height: 1;
}

.accent-red { --accent: var(--red); --accent-text: var(--red); }
.accent-lime { --accent: var(--lime); --accent-text: #607000; }
.accent-blue { --accent: var(--light-blue); --accent-text: #236378; }
.accent-purple { --accent: var(--purple); --accent-text: var(--purple); }

.share-section {
  background: linear-gradient(135deg, rgba(168, 221, 239, 0.5), rgba(216, 239, 22, 0.24));
}

.share-grid {
  grid-template-columns: minmax(0, 0.8fr) minmax(340px, 1.2fr);
}

.photo-collage {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.photo-collage img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(22, 22, 22, 0.09);
}

.photo-collage img:nth-child(1),
.photo-collage img:nth-child(3) {
  transform: translateY(1.75rem);
}

.check-back {
  color: var(--purple);
  font-weight: 800;
}

.event-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.event-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(53, 23, 66, 0.12);
  border-radius: 18px;
  padding: 28px;
  min-height: 220px;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.event-card-link {
  text-decoration: none;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.10);
}

.event-card .date {
  display: inline-flex;
  align-items: center;
  width: fit-content;

  margin-bottom: 20px;
  padding: 8px 14px;

  border-radius: 999px;

  background: #351742;
  color: #fff;

  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
}

.event-card h3 {
  margin: 0 0 12px;

  color: #351742;

  font-size: 1.35rem;
  line-height: 1.25;
}

.event-card p {
  margin: 0;

  color: #444;
  font-size: 1rem;
  line-height: 1.6;
}

.event-card:nth-child(1) {
  border-top: 6px solid var(--red);
}

.event-card:nth-child(2) {
  border-top: 6px solid var(--lime);
}

.event-card:nth-child(3) {
  border-top: 6px solid var(--light-blue);
}

.border-red { border-top: 6px solid var(--red) !important; }
.border-lime { border-top: 6px solid var(--lime) !important; }
.border-blue { border-top: 6px solid var(--light-blue) !important; }

/* Tablet */
@media (max-width: 991px) {
  .event-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile */
@media (max-width: 700px) {
  .event-cards {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .event-card {
    padding: 24px;
    min-height: auto;
  }
}

.support-section {
  color: var(--white);
  background: var(--red);
}

.support-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
}

.support-photo {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.15);
}

.campaign-footer {
  padding-block: 4rem;
  color: var(--purple);
  text-align: center;
  background: var(--white);
}

.footer-title {
  margin-bottom: 0.35rem;
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.campaign-footer p:last-child {
  color: var(--purple);
  max-width: 750px;
  margin-inline: auto;
}

.footer-image {
  margin: 0;
}

.footer-image img {
  margin: auto;
  border-radius: var(--radius);
}

.image-caption {
    color: var(--muted);
    font-size: 0.82rem;
    font-style: italic;
    text-align: left;
    max-width: 900px;
    margin: 0 auto 25px;
}

.motif {
  display: grid;
  grid-template-columns: repeat(4, minmax(45px, 120px));
  justify-content: center;
  gap: 0.45rem;
  margin-bottom: 1.35rem;
}

.motif span {
  height: 12px;
  border-radius: 999px;
}

.motif span:nth-child(1) { background: var(--red); }
.motif span:nth-child(2) { background: var(--lime); }
.motif span:nth-child(3) { background: var(--light-blue); }
.motif span:nth-child(4) { background: var(--purple); }

.sticky-register {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.75rem 1.1rem;
  border: 3px solid var(--white);
  border-radius: 999px;
  color: var(--white);
  background: var(--red);
  box-shadow: var(--shadow);
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

@media (max-width: 820px) {
  .event-grid,
  .president-grid,
  .share-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .event-card {
    max-width: 560px;
  }

  .portrait-card {
    max-width: 440px;
  }

  .timeline {
    padding-left: 2.1rem;
  }

  .timeline::before {
    left: 0.55rem;
    transform: none;
  }

  .timeline-item,
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    width: 100%;
    justify-self: stretch;
  }

  .timeline-item:nth-child(odd)::before,
  .timeline-item:nth-child(even)::before {
    left: -2.08rem;
    right: auto;
  }

  .photo-collage img:nth-child(1),
  .photo-collage img:nth-child(3) {
    transform: none;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 0.98rem;
  }

  .container {
    width: min(calc(100% - 1.25rem), var(--max-width));
  }

  .section {
    padding-block: 4rem;
  }

  .button,
  .button-row .button {
    width: 100%;
  }

  .jump-nav-inner {
    justify-content: flex-start;
  }

  .photo-collage {
    grid-template-columns: 1fr;
  }

  .sticky-register {
    right: 0.75rem;
    bottom: 0.75rem;
    min-height: 46px;
    padding: 0.65rem 0.95rem;
    font-size: 0.82rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (min-width: 992px) {
  .jump-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
  }
} 