:root {
  --paper: #fbf5ea;
  --paper-2: #f4ead6;
  --white: #fffdf8;
  --ink: #2b2620;
  --soft: #5e554a;
  --green: #2f4a3a;
  --green-2: #3d5f4a;
  --red: #b0412e;
  --red-2: #c9533d;
  --butter: #f2c768;
  --line: #e4d7bd;

  --display: "Young Serif", Georgia, serif;
  --hand: "Caveat", "Bradley Hand", cursive;
  --body: "Nunito Sans", system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1160px;
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 18px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400; line-height: 1.12; margin: 0;
  letter-spacing: -0.01em;
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }

.hello {
  font: 700 clamp(26px, 3vw, 32px)/1 var(--hand);
  color: var(--green-2);
  margin: 0 0 10px;
  transform: rotate(-2deg); transform-origin: left;
}
.hello--red { color: var(--red); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 800 17px/1.2 var(--body);
  padding: 15px 24px; border-radius: 999px; text-decoration: none; text-align: center;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--green { background: var(--green); color: #fff; box-shadow: 0 4px 0 #1d3126; }
.btn--green:hover { background: var(--green-2); }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 4px 0 #7f2d20; }
.btn--red:hover { background: var(--red-2); }
.btn--line { border: 2px solid var(--green); color: var(--green); background: transparent; }
.btn--line:hover { background: var(--green); color: #fff; }

/* ---------- announcement strip ---------- */
.strip {
  margin: 0; padding: 10px var(--gutter);
  background: var(--red); color: #fff;
  font-size: 15px; text-align: center; line-height: 1.4;
}
.strip a { color: var(--butter); font-weight: 700; margin-left: 4px; }

/* ---------- header ---------- */
.header {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px var(--gutter);
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo__badge { width: 56px; height: 56px; flex: none; }
.logo__text {
  font: 400 26px/1 var(--display); color: var(--green);
  display: flex; flex-direction: column;
}
.logo__text span {
  font: 700 14px/1.3 var(--body); color: var(--red);
  margin-top: 6px;
}
.header__cta {
  font: 800 15px/1 var(--body); text-decoration: none; color: var(--green);
  padding: 12px 18px; border-radius: 999px; border: 2px solid var(--green);
  transition: background .15s, color .15s;
}
.header__cta:hover { background: var(--green); color: #fff; }

/* ---------- hero ---------- */
.hero {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(16px, 3vw, 40px) var(--gutter) clamp(56px, 8vw, 96px);
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .85fr);
  gap: clamp(32px, 5vw, 72px); align-items: start;
}
.hero h1 { font-size: clamp(38px, 5vw, 62px); color: var(--ink); }
.hero h1 em { font-style: normal; color: var(--red); }
.lede { font-size: clamp(18px, 1.5vw, 20px); color: var(--soft); margin: 20px 0 0; max-width: 32em; }

.snapshot {
  position: relative; margin: 40px 0 0; max-width: 620px;
  background: var(--white); padding: 12px 12px 44px;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(60,40,20,.12), 0 18px 40px -18px rgba(60,40,20,.4);
  transform: rotate(-1.5deg);
}
.snapshot::before {
  content: ""; position: absolute; top: -12px; left: 50%; width: 110px; height: 26px;
  transform: translateX(-50%) rotate(2deg);
  background: rgba(242,199,104,.75);
}
.snapshot img {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 3px;
  filter: saturate(1.08) sepia(.12) contrast(1.02);
}
.snapshot figcaption {
  position: absolute; left: 0; right: 0; bottom: 8px; text-align: center;
  font: 700 26px/1 var(--hand); color: var(--soft);
}
.snapshot__note {
  position: absolute; right: -18px; top: -58px;
  font: 700 24px/1 var(--hand); color: var(--red); text-align: right;
  transform: rotate(4deg);
}
.snapshot__note svg { width: 64px; height: 40px; display: block; margin: 2px 0 0 auto; transform: scaleX(-1); }

/* ---------- signup card ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px -24px rgba(60,40,20,.35);
}
.signup { padding: 30px clamp(20px, 3vw, 32px) 24px; position: sticky; top: 20px; scroll-margin-top: 20px; border-top: 8px solid var(--green); }
.signup__tag {
  display: inline-block; margin: 0 0 12px; padding: 5px 12px; border-radius: 999px;
  background: #fbe9c0; color: #7a5311; font: 800 13px/1.2 var(--body); letter-spacing: .06em; text-transform: uppercase;
}
.signup h2 { font-size: clamp(30px, 3vw, 36px); color: var(--green); }
.signup__sub { margin: 8px 0 20px; font-size: 16px; color: var(--soft); line-height: 1.5; }
.signup__foot { margin: 16px 0 0; font-size: 14px; color: var(--soft); text-align: center; }
.fallback-link {
  display: block; text-align: center; padding: 16px; border-radius: 999px;
  background: var(--green); color: #fff; text-decoration: none; font-weight: 800;
}

/* MessageKit embed (light DOM) */
.mk-signup__heading, .mk-signup__intro { display: none; }
.mk-signup__field { margin-bottom: 16px; }
.mk-signup__label { display: block; margin-bottom: 6px; font-size: 16px; font-weight: 700; color: var(--ink); }
.mk-signup__input {
  width: 100%; font: 400 18px/1.2 var(--body); color: var(--ink);
  padding: 14px 16px; background: #fff;
  border: 2px solid var(--line); border-radius: 12px;
  transition: border-color .15s, box-shadow .15s;
}
.mk-signup__input:focus { outline: none; border-color: var(--green-2); box-shadow: 0 0 0 4px rgba(61,95,74,.18); }
.mk-signup__hint { display: block; font-size: 14px; color: var(--soft); margin-top: 5px; }
.mk-signup__error { display: block; font-size: 14px; color: var(--red); margin-top: 4px; font-weight: 600; }
.mk-signup__error:empty { display: none; }
.mk-signup__consent { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; margin: 4px 0 18px; }
.mk-signup__consent-label { font-size: 15px; line-height: 1.45; color: var(--soft); }
.mk-signup__checkbox { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--green); }
.mk-signup__consent .mk-signup__error { grid-column: 1 / -1; }
.mk-signup__button {
  width: 100%; margin-top: 4px; cursor: pointer; border: 0; border-radius: 999px;
  background: var(--green); color: #fff; box-shadow: 0 4px 0 #1d3126;
  font: 800 19px/1 var(--body);
  padding: 18px 20px;
  transition: background .15s, transform .15s;
}
.mk-signup__button:hover { background: var(--green-2); transform: translateY(-1px); }
.mk-signup__button:focus-visible { outline: 3px solid var(--butter); outline-offset: 3px; }
.mk-signup__alert:not(:empty) { padding: 12px 16px; margin-bottom: 16px; border-radius: 12px; background: #e6f0e3; color: #24502c; font-size: 16px; font-weight: 600; }
.mk-signup__disclosure, .mk-signup__disclosure-line { font-size: 12.5px; line-height: 1.5; color: #7c7266; margin: 10px 0 0; }
.mk-signup__disclosure a { color: var(--soft); }

/* ---------- what we'll carry ---------- */
.carry {
  background: var(--green); color: #f6efe1;
  padding: clamp(56px, 8vw, 96px) var(--gutter);
  text-align: center;
}
.carry h2 { font-size: clamp(32px, 4vw, 46px); color: #fff; margin-bottom: 40px; }
.carry__grid {
  list-style: none; margin: 0 auto; padding: 0; max-width: var(--max);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px;
}
.carry__grid li {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius); padding: 28px 22px 24px;
}
.carry__grid svg {
  width: 56px; height: 56px; margin: 0 auto 14px;
  fill: none; stroke: var(--butter); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
}
.carry__grid svg .fill { fill: rgba(242,199,104,.3); stroke: none; }
.carry__grid h3 { font-size: 26px; color: #fff; margin-bottom: 8px; }
.carry__grid p { margin: 0; font-size: 16px; color: #d7e0d6; line-height: 1.5; }
.carry__note { margin: 28px 0 0; font: 700 24px/1.2 var(--hand); color: var(--butter); }

/* ---------- referendum ---------- */
.vote { padding: clamp(64px, 9vw, 110px) var(--gutter); scroll-margin-top: 0; }
.vote__inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(40px, 6vw, 84px); align-items: center;
}
.vote h2 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 20px; }
.vote__copy > p { color: var(--soft); margin: 0 0 24px; max-width: 34em; }
.vote__copy strong { color: var(--ink); }

.dates { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 14px; }
.dates li {
  display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 12px 18px 12px 12px;
  font-size: 17px; line-height: 1.45; color: var(--soft);
}
.dates__day {
  width: 64px; height: 64px; border-radius: 12px; background: var(--red); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font: 400 28px/1 var(--display);
}
.dates__day b { font: 800 12px/1 var(--body); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 3px; }
.count {
  display: inline-block; font-style: normal; font-weight: 800; font-size: 13px; color: var(--green);
  background: #e3ecdf; border-radius: 999px; padding: 2px 10px; margin-left: 4px; white-space: nowrap;
}
.count:empty { display: none; }
.vote__links { display: flex; flex-wrap: wrap; gap: 12px; }

.ballot {
  margin: 0; position: relative;
  background: #fffef7; padding: 34px 28px 26px;
  border: 1px solid #ddd5c0; border-radius: 6px;
  box-shadow: 0 18px 40px -20px rgba(60,40,20,.45);
  transform: rotate(1.2deg);
  font-family: "Helvetica Neue", Arial, sans-serif; color: #2b2b2b;
}
.ballot figcaption {
  position: absolute; top: -22px; left: 18px;
  font: 700 26px/1 var(--hand); color: var(--red);
  background: var(--paper); padding: 2px 10px; border-radius: 6px;
  transform: rotate(-2deg);
}
.ballot__title { font-weight: 700; font-size: 20px; line-height: 1.2; margin: 0 0 2px; color: #444; }
.ballot__vote { margin: 0 0 16px; color: #555; font-size: 15px; }
.ballot blockquote { margin: 0 0 12px; font-size: 17px; line-height: 1.4; }
.ballot__instr { margin: 0; font-size: 14px; color: #555; line-height: 1.45; }
.ballot__opts { display: grid; justify-items: end; gap: 12px; margin-top: 18px; font-weight: 700; font-size: 18px; color: #444; }
.ballot__opts span { display: inline-flex; align-items: center; gap: 12px; }
.ballot__opts i { width: 30px; height: 20px; border: 1.5px solid #555; border-radius: 50%; display: inline-block; }

/* ---------- closing ---------- */
.closing { background: var(--paper-2); padding: clamp(64px, 9vw, 110px) var(--gutter); }
.closing__inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px); align-items: center;
}
.closing__photo {
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3;
  box-shadow: 0 20px 50px -24px rgba(60,40,20,.5);
}
.closing__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 45%; filter: saturate(.95) sepia(.1); }
.closing h2 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 16px; }
.closing p:not(.hello) { color: var(--soft); margin: 0 0 28px; }

/* ---------- footer ---------- */
.footer {
  background: var(--green); color: #d7e0d6;
  text-align: center; padding: 48px var(--gutter) 56px; font-size: 16px;
}
.footer p { margin: 0 auto 8px; max-width: 46em; }
.footer__name { font: 400 26px/1.2 var(--display); color: #fff; margin-bottom: 10px !important; }
.footer__fine { font-size: 14px; color: #aebdad; }

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

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .hero, .vote__inner, .closing__inner { grid-template-columns: minmax(0, 1fr); }
  .signup { position: static; }
  /* phones: headline, then form, then photo */
  .hero { gap: 0; }
  .hero__copy { display: contents; }
  .signup { order: 1; margin-top: 28px; }
  .snapshot { order: 2; }
  .carry__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .snapshot { margin-top: 64px; }
  .snapshot__note { right: 4px; }
  .ballot { transform: none; }
}
@media (max-width: 560px) {
  .header__cta { display: none; }
  .logo__badge { width: 48px; height: 48px; }
  .logo__text { font-size: 22px; }
  .carry__grid { grid-template-columns: minmax(0, 1fr); }
  .btn { width: 100%; }
  .snapshot__note { font-size: 21px; top: -54px; }
}
