:root {
  --color-purple: #4A0080;
  --color-purple-dark: #2A0048;
  --color-green: #5BCC1F;
  --color-green-dark: #3F9315;
  --color-light: #F5F5F0;
  --color-white: #FFFFFF;
  --color-dark: #111111;
  --color-muted: #555555;
  --color-border: #E0E0E0;

  --font-heading: 'Anton', Impact, 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;

  --radius-sm: 4px;
  --radius: 6px;
  --radius-lg: 8px;

  --max-width: 1200px;
  --max-width-narrow: 800px;
  --max-width-form: 700px;

  --header-height: 80px;
  --header-height-scrolled: 64px;

  --shadow-sm: 0 1px 2px rgba(17, 17, 17, 0.06);
  --shadow: 0 4px 12px rgba(17, 17, 17, 0.08);
  --shadow-lg: 0 10px 30px rgba(17, 17, 17, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-dark);
  background: var(--color-white);
}

body.is-loaded {
  opacity: 1;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 20px;
}

a {
  color: var(--color-purple);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-green-dark);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.05;
  margin: 0 0 var(--space-4);
  text-transform: uppercase;
}

p {
  margin: 0 0 var(--space-4);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-5);
}

.container-narrow {
  max-width: var(--max-width-narrow);
}

.container-form {
  max-width: var(--max-width-form);
}

/* Header - always a floating pill */
.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1200px;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-radius: 50px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.10);
  padding: 12px 28px;
  z-index: 1000;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              max-width 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              padding 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: width, max-width, padding, background-color, box-shadow;
}

.site-header.is-scrolled {
  width: calc(100% - 80px);
  max-width: 900px;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.13);
}

.site-header .container {
  padding: 0;
  max-width: none;
  width: 100%;
  height: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--color-purple);
  letter-spacing: 0.04em;
  text-decoration: none;
  justify-self: start;
  transition: color 0.2s ease;
}

.brand:hover {
  color: var(--color-purple);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 4px;
  color: var(--color-purple);
  cursor: pointer;
  justify-self: end;
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
  display: block;
}

.site-nav {
  position: relative;
  justify-self: center;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 28px;
  position: relative;
  white-space: nowrap;
}

.site-nav a {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-dark);
  font-weight: 500;
  padding: 6px 0;
  transition: color 0.2s ease;
  display: inline-block;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--color-green);
}

.site-nav a.is-active {
  color: var(--color-purple);
  font-weight: 700;
}

.nav-indicator {
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 0;
  background: var(--color-green);
  transform: translateX(0);
  transition: transform 0.2s ease, width 0.2s ease;
  pointer-events: none;
  will-change: transform, width;
}

/* Body pad to clear fixed nav */
body {
  padding-top: 90px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: scale(1.03);
}

.btn-primary {
  background: var(--color-green);
  color: #0A2C00;
  border-color: var(--color-green);
}

.btn-primary:hover {
  background: #2F7909;
  border-color: #2F7909;
  color: var(--color-white);
}

.btn-outline-white {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn-outline-white:hover {
  background: var(--color-white);
  color: var(--color-purple);
}

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

.btn-purple:hover {
  background: var(--color-purple-dark);
  border-color: var(--color-purple-dark);
  color: var(--color-white);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

/* Sections */
.section {
  padding: var(--space-9) 0;
}

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

.section-purple h1,
.section-purple h2,
.section-purple h3,
.section-purple h4 {
  color: var(--color-white);
}

.section-light {
  background: var(--color-light);
  color: var(--color-dark);
}

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

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-green);
  margin-bottom: var(--space-4);
}

.section-heading {
  font-size: clamp(36px, 5vw, 56px);
  margin-bottom: var(--space-6);
}

.section-heading-center {
  text-align: center;
}

.section-lede {
  font-size: 19px;
  color: var(--color-muted);
  max-width: 620px;
  margin-bottom: var(--space-7);
}

.section-purple .section-lede {
  color: rgba(255,255,255,0.85);
}

/* Hero */
.hero {
  background: var(--color-purple);
  color: var(--color-white);
  min-height: calc(100vh - 90px);
  display: flex;
  align-items: center;
  padding: var(--space-7) 0 var(--space-9);
  position: relative;
  overflow: hidden;
}

.hero-texture {
  background-image: linear-gradient(rgba(74,0,128,0.85), rgba(74,0,128,0.95)), url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1600');
  background-size: cover;
  background-position: center;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: var(--space-8);
  align-items: center;
}

.hero-title {
  font-size: clamp(56px, 9vw, 96px);
  line-height: 0.95;
  margin: var(--space-4) 0 var(--space-5);
  color: var(--color-white);
}

.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 500;
  margin-bottom: var(--space-5);
  color: var(--color-white);
}

.hero-body {
  font-size: 18px;
  max-width: 560px;
  margin-bottom: var(--space-6);
  color: rgba(255,255,255,0.9);
}

.hero-photo {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 4 / 5;
  background: var(--color-purple-dark);
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}

.hero-photo svg {
  width: 60%;
  height: auto;
  color: var(--color-white);
  opacity: 0.85;
}

.hero-banner {
  min-height: auto;
  padding: var(--space-8) 0 var(--space-8);
  text-align: left;
}

.hero-banner .hero-title {
  font-size: clamp(48px, 7vw, 80px);
}

/* Issues strip — expandable */
.issues-strip .cards-scroll {
  display: flex;
  gap: var(--space-5);
  align-items: stretch;
}

.issue-card {
  flex: 1 1 0;
  min-width: 0;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: var(--space-5);
  cursor: pointer;
  transition: flex 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.2s ease,
              transform 0.2s ease;
  overflow: hidden;
}

.issue-card:hover {
  box-shadow: var(--shadow);
}

.issue-card.is-expanded {
  flex: 3 1 0;
  box-shadow: var(--shadow-lg);
}

@media (hover: hover) {
  .issue-card:hover {
    flex: 3 1 0;
    box-shadow: var(--shadow-lg);
  }
  .issue-card:hover .issue-card-extra {
    max-height: 500px;
    opacity: 1;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease 0.15s;
  }
}

.issue-icon {
  width: 40px;
  height: 40px;
  color: var(--color-purple);
  margin-bottom: var(--space-4);
}

.issue-card h3 {
  font-size: 22px;
  margin-bottom: var(--space-3);
  color: var(--color-purple);
}

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

.issue-card-extra {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
}

.issue-card.is-expanded .issue-card-extra {
  max-height: 500px;
  opacity: 1;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease 0.15s;
}

.issue-card-extra p {
  margin-top: var(--space-4);
  color: var(--color-dark);
  font-size: 15px;
  line-height: 1.6;
}

.issue-card-extra a {
  display: inline-block;
  margin-top: var(--space-3);
  color: var(--color-purple);
  font-weight: 700;
  text-decoration: underline;
}

/* Two-col split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}

.split-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.split-photo-wide {
  aspect-ratio: 4 / 3;
}

/* Callout */
.callout {
  text-align: center;
  padding: var(--space-9) var(--space-5);
}

.callout h2 {
  font-size: clamp(36px, 5vw, 56px);
  color: var(--color-purple);
  margin-bottom: var(--space-4);
}

.callout p {
  font-size: 20px;
  color: var(--color-muted);
  margin-bottom: var(--space-6);
}

/* Timeline */
.timeline {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  max-width: 900px;
  margin: 0 auto;
}

.timeline-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-left: 4px solid var(--color-green);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.timeline-item:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.09);
}

.timeline-item h3 {
  font-size: 24px;
  margin-bottom: var(--space-2);
  color: var(--color-white);
}

.timeline-meta {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-green);
  margin-bottom: var(--space-3);
  letter-spacing: 0.02em;
}

.timeline-item p {
  color: rgba(255,255,255,0.85);
  margin: 0;
}

/* Achievement grid */
.achievement-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}

.achievement-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-green);
  border-radius: 0;
  padding: var(--space-6);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.achievement-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.achievement-card p {
  font-size: 16px;
  color: var(--color-dark);
  margin: 0;
}

/* Platform sections */
.platform-block {
  padding: var(--space-10) 0;
  position: relative;
}

.platform-block .split {
  align-items: center;
}

.platform-num {
  font-family: var(--font-heading);
  font-size: clamp(90px, 14vw, 180px);
  line-height: 0.9;
  color: currentColor;
  opacity: 0.08;
  margin: 0 0 var(--space-3);
  display: block;
}

.section-purple .platform-num {
  opacity: 0.18;
}

.platform-icon {
  width: 56px;
  height: 56px;
  margin-bottom: var(--space-4);
  color: var(--color-green);
}

.platform-block h2 {
  font-size: clamp(36px, 5vw, 56px);
  margin-bottom: var(--space-5);
}

.section-light .platform-block h2 {
  color: var(--color-purple);
}

.platform-block p {
  font-size: 17px;
  line-height: 1.7;
}

/* Donate cards */
.donate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  margin-top: var(--space-7);
}

.donate-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.donate-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--color-green);
}

.donate-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-4);
  color: var(--color-purple);
}

.donate-card h3 {
  font-size: 26px;
  color: var(--color-purple);
  margin-bottom: var(--space-3);
}

.donate-email {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: clamp(16px, 2.5vw, 22px);
  color: var(--color-dark);
  background: var(--color-light);
  border: 1px solid var(--color-border);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius);
  margin: var(--space-3) 0;
  letter-spacing: 0.02em;
  min-width: min(100%, 320px);
  max-width: 100%;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
}

.donate-note {
  font-size: 14px;
  color: var(--color-muted);
  margin-top: var(--space-4);
}

.donate-footnote {
  text-align: center;
  font-size: 14px;
  color: var(--color-muted);
  margin-top: var(--space-7);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Contact */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-5);
}

.contact-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 17px;
}

.contact-row svg {
  width: 22px;
  height: 22px;
  color: var(--color-purple);
  flex-shrink: 0;
}

.form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-dark);
}

.form input,
.form textarea {
  font-family: var(--font-body);
  font-size: 16px;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-white);
  color: var(--color-dark);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--color-purple);
  box-shadow: 0 0 0 3px rgba(74,0,128,0.12);
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.form-error {
  color: #a30000;
  font-size: 14px;
  min-height: 1em;
}

.form-success {
  padding: var(--space-6);
  background: var(--color-white);
  border: 1px solid var(--color-green);
  border-left: 4px solid var(--color-green);
  border-radius: 0;
  color: var(--color-dark);
  font-size: 17px;
}

/* Countdown */
.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  max-width: 800px;
  margin: var(--space-6) auto 0;
  text-align: center;
}

.countdown-unit {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-3);
}

.countdown-digit {
  font-family: var(--font-heading);
  font-size: clamp(48px, 8vw, 88px);
  color: var(--color-green-dark);
  line-height: 1;
  display: block;
}

.countdown-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-top: var(--space-3);
  display: block;
}

/* Ward map */
.map-frame {
  width: 100%;
  height: 500px;
  border: none;
  border-radius: 16px;
  background: var(--color-white);
  margin-top: var(--space-5);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  counter-reset: step;
}

.step-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.step-num {
  font-family: var(--font-heading);
  font-size: 48px;
  color: var(--color-green);
  line-height: 1;
  margin-bottom: var(--space-3);
  display: block;
}

.step-card h3 {
  font-size: 22px;
  color: var(--color-purple);
  margin-bottom: var(--space-2);
}

/* Legal doc pages */
.legal {
  max-width: 800px;
  margin: 0 auto;
}

.legal h2 {
  font-size: 28px;
  color: var(--color-purple);
  margin-top: var(--space-7);
  margin-bottom: var(--space-3);
}

.legal p {
  font-size: 17px;
  color: var(--color-dark);
}

.legal-meta {
  font-size: 14px;
  color: var(--color-muted);
  margin-bottom: var(--space-6);
}

/* Footer */
.site-footer {
  background: var(--color-purple);
  color: var(--color-white);
  padding: var(--space-9) 0 var(--space-5);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.5fr;
  gap: var(--space-7);
  margin-bottom: var(--space-7);
}

.footer-col h4 {
  font-size: 20px;
  color: var(--color-white);
  margin-bottom: var(--space-4);
}

.footer-col p {
  color: rgba(255,255,255,0.85);
  margin: 0 0 var(--space-2);
  font-size: 15px;
}

.footer-col a {
  color: var(--color-white);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--color-green);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-contact .contact-row {
  color: rgba(255,255,255,0.9);
  font-size: 15px;
}

.footer-contact svg {
  color: var(--color-green);
  width: 18px;
  height: 18px;
}

.footer-socials {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.footer-socials a:hover {
  background: var(--color-green);
  border-color: var(--color-green);
}

.footer-socials svg {
  width: 18px;
  height: 18px;
  color: var(--color-white);
}

.land-ack {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,0.8);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: var(--space-5);
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
}

.footer-bottom a {
  color: rgba(255,255,255,0.85);
}

.footer-bottom a:hover {
  color: var(--color-green);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

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

/* Utility */
.text-center {
  text-align: center;
}

.mt-6 {
  margin-top: var(--space-6);
}

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

/* Responsive */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .hero-photo {
    order: 2;
    margin: var(--space-6) 0 0;
    max-width: 320px;
  }

  .split {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .split-photo {
    aspect-ratio: 16 / 10;
    max-height: 380px;
  }

  .issues-strip .cards-scroll {
    flex-direction: column;
  }

  .issue-card,
  .issue-card.is-expanded {
    flex: 1 1 auto;
  }

  .issue-card.is-expanded .issue-card-extra {
    max-height: 600px;
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

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

  .contact-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
  }

  /* Mobile: pill still floats but with 24px margins each side */
  .site-header,
  .site-header.is-scrolled {
    top: 16px;
    width: calc(100% - 48px);
    max-width: none;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.10);
  }

  .site-header .container {
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: var(--space-3);
    position: relative;
  }

  .brand {
    font-size: 20px;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    justify-self: stretch;
  }

  .site-nav.is-open {
    max-height: 640px;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 20px;
    white-space: normal;
  }

  .site-nav li {
    border-bottom: 1px solid var(--color-border);
  }

  .site-nav li:last-child {
    border-bottom: none;
  }

  .site-nav a {
    display: block;
    padding: 14px 0;
    font-weight: 600;
    color: var(--color-dark);
    font-size: 15px;
  }

  .site-nav a.is-active {
    color: var(--color-green-dark);
  }

  .nav-indicator {
    display: none;
  }

  .section {
    padding: var(--space-8) 0;
  }

  .hero {
    min-height: auto;
    padding: var(--space-7) 0 var(--space-8);
  }

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

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Hero staggered entrance */
.hero-anim {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

body.is-loaded .hero-anim {
  opacity: 1;
  transform: translateY(0);
}

.hero-anim-1 { transition-duration: 0.5s; transition-delay: 0s; }
.hero-anim-2 { transition-delay: 0.15s; }
.hero-anim-3 { transition-delay: 0.3s; }
.hero-anim-4 { transition-delay: 0.45s; }
.hero-anim-5 { transition-delay: 0.6s; }
.hero-anim-image {
  opacity: 0;
  transform: none;
  transition: opacity 0.8s ease-out;
  transition-delay: 0.4s;
}
body.is-loaded .hero-anim-image {
  opacity: 1;
}

/* Extra reveal variants */
.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

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

.reveal-scale {
  opacity: 0;
  transform: scale(0.96) translateY(16px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

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

/* Hero carousel: track + slides, translateX autoplay */
.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 3 / 4;
  max-width: 380px;
  width: 100%;
  margin-left: auto;
  background: #3D0070;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.carousel-slide {
  flex-shrink: 0;
  position: relative;
  background: #3D0070;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 16px;
}

@media (max-width: 768px) {
  .hero-carousel {
    max-width: 240px !important;
    margin: 0 auto !important;
  }
}

.carousel-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}

.carousel-slide .carousel-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #3D0070;
  color: var(--color-white);
  z-index: 1;
}

.carousel-slide .carousel-fallback svg {
  width: 55%;
  height: auto;
  color: var(--color-white);
  opacity: 0.9;
}

.carousel-slide-label {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--color-white);
  opacity: 0.6;
}

/* Certificates */
.certificates {
  margin-top: var(--space-8);
}

.certificates h3 {
  font-family: var(--font-heading);
  font-size: 32px;
  color: #4A0080;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.cert-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}

.cert-card {
  background: #fff;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  padding: 20px;
  max-width: 480px;
  flex: 1 1 380px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.cert-card img {
  width: 100%;
  object-fit: contain;
  border-radius: 4px;
  max-height: 340px;
}

.cert-placeholder {
  width: 100%;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-6);
  background: var(--color-light);
  border: 1px dashed var(--color-border);
  border-radius: 4px;
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--color-purple);
  text-transform: uppercase;
  line-height: 1.2;
}

/* Checkbox cards (join.html) */
.check-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.check-card {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  background: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  font-weight: 500;
  color: var(--color-dark);
}

.check-card:hover {
  border-color: var(--color-purple);
}

.check-card input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.check-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  transition: background-color 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
}

.check-box svg {
  width: 16px;
  height: 16px;
  color: var(--color-white);
  opacity: 0;
  transition: opacity 0.15s ease;
}

.check-card:has(input:checked) {
  border-color: var(--color-green);
  background: #F1FAEB;
}

.check-card:has(input:checked) .check-box {
  background: var(--color-green);
  border-color: var(--color-green);
}

.check-card:has(input:checked) .check-box svg {
  opacity: 1;
}

.check-card:focus-within {
  border-color: var(--color-purple);
  box-shadow: 0 0 0 3px rgba(74,0,128,0.12);
}

.check-other {
  margin-top: var(--space-3);
}

.check-other[hidden] {
  display: none;
}

/* Lawn sign hero (optional bg image) */
.hero-lawnsign {
  background-color: var(--color-purple);
  background-image: linear-gradient(rgba(42,0,72,0.55), rgba(42,0,72,0.65)), url('images/lawnsign-hero.jpg');
  background-size: cover;
  background-position: center;
}

.lawnsign-preview {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--color-purple);
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 32px;
  text-transform: uppercase;
  text-align: center;
  padding: var(--space-5);
  overflow: hidden;
}

.lawnsign-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lawnsign-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
  padding: 8px 14px;
  background: var(--color-green);
  color: #0A2C00;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
}

.small-note {
  font-size: 14px;
  color: var(--color-muted);
  margin-top: var(--space-3);
}

/* Purple strip section */
.strip-purple {
  background: var(--color-purple);
  color: var(--color-white);
  padding: var(--space-8) 0;
  text-align: center;
}

.strip-purple h2 {
  color: var(--color-white);
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: var(--space-3);
}

.strip-purple p {
  color: rgba(255,255,255,0.9);
  margin: 0 auto;
  max-width: 640px;
  font-size: 18px;
}

.strip-purple a {
  color: var(--color-green);
  font-weight: 600;
}

.strip-purple a:hover {
  color: var(--color-white);
}

/* Certificate captions */
.cert-caption {
  margin-top: 12px;
  font-size: 13px;
  color: #555;
  text-align: center;
  line-height: 1.5;
}

.cert-card-media {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-light);
  border-radius: 4px;
  overflow: hidden;
}

.cert-card-media img {
  width: 100%;
  max-height: 340px;
  object-fit: contain;
}

/* Belt (conveyor) - pure CSS continuous scroll */
.hero-belt {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  height: 520px;
  padding: 0;
  background: var(--color-purple);
  display: flex;
  align-items: center;
}

.hero-belt::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(74, 0, 128, 0.35);
  z-index: 2;
  pointer-events: none;
}

.hero-belt .container {
  position: relative;
  z-index: 3;
  padding-top: 0;
}

.hero-belt .hero-title,
.hero-belt .hero-sub {
  color: var(--color-white);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.belt-viewport {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}

.belt-track {
  display: flex;
  height: 100%;
  width: fit-content;
  animation: belt-scroll 12s linear infinite;
}

.belt-slide {
  flex-shrink: 0;
  height: 100%;
  background: var(--color-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.belt-slide img {
  height: 520px;
  width: auto;
  object-fit: cover;
  display: block;
}

@keyframes belt-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .hero-belt {
    height: 300px;
    min-height: 300px;
  }
  .belt-slide img {
    height: 300px;
  }
}

/* Lawn-sign preview card grid (3 up) */
.lawnsign-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.lawnsign-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  color: var(--color-dark);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

.lawnsign-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  color: var(--color-dark);
}

.lawnsign-card-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--color-purple);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lawnsign-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lawnsign-card-media--placeholder {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 22px;
  text-transform: uppercase;
  padding: var(--space-5);
}

.lawnsign-card .lawnsign-badge {
  margin-top: 0;
}

.lawnsign-cta {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--color-purple);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0;
}

@media (max-width: 720px) {
  .lawnsign-card-grid {
    grid-template-columns: 1fr;
  }
}

/* Page transition overlay */
#page-transition {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: #4A0080;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-out;
}

#page-transition.is-visible {
  opacity: 1;
  pointer-events: all;
}

#page-transition.is-fading-in {
  transition: opacity 0.2s ease-in;
}

/* Cert grid responsive */
@media (max-width: 768px) {
  .cert-grid {
    flex-direction: column;
  }
  .cert-card {
    max-width: 100%;
    flex-basis: auto;
  }
}

/* Cookie consent banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #111;
  color: #fff;
  padding: 16px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transform: translateY(100%);
  opacity: 1;
  transition: transform 0.4s ease, opacity 0.3s ease;
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-banner.is-dismissing {
  opacity: 0;
}

.cookie-text {
  margin: 0;
  font-size: 14px;
  color: #fff;
  flex: 1 1 340px;
  line-height: 1.5;
}

.cookie-text a {
  color: #5BCC1F;
  text-decoration: underline;
}

.cookie-text a:hover {
  color: #fff;
}

.cookie-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-accept,
.cookie-decline {
  padding: 10px 24px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.cookie-accept {
  background: #5BCC1F;
  color: #000;
  border: 0;
}

.cookie-accept:hover {
  transform: scale(1.03);
  background: #4fb418;
}

.cookie-decline {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
  margin-left: 8px;
}

.cookie-decline:hover {
  background: #fff;
  color: #111;
}

@media (max-width: 640px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px;
  }
  .cookie-actions {
    justify-content: stretch;
  }
  .cookie-decline {
    margin-left: 0;
  }
  .cookie-accept,
  .cookie-decline {
    flex: 1;
  }
}

/* Terms checkbox error */
.terms-error {
  display: none;
  color: #b42318;
  font-size: 13px;
  margin: -8px 0 16px 30px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

/* Achievements ticker */
.ticker {
  width: 100%;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.ticker-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: ticker 35s linear infinite;
  will-change: transform;
}

.ticker-track:hover {
  animation-play-state: paused;
}

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  flex-shrink: 0;
  min-width: 280px;
  max-width: 320px;
  background: var(--color-white);
  border-left: 4px solid var(--color-green);
  border-radius: 20px;
  padding: 24px 28px;
  color: var(--color-dark);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
}

.ticker-item p {
  margin: 0;
}

/* Timeline image pair (about.html Parliament entry) */
.timeline-item-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.timeline-item-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
}

@media (max-width: 640px) {
  .timeline-item-media {
    grid-template-columns: 1fr;
  }
}

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

  .reveal,
  .reveal-left,
  .reveal-scale,
  .hero-anim,
  .hero-anim-image {
    opacity: 1;
    transform: none;
  }

  .carousel-track,
  .belt-track,
  .ticker-track,
  #page-transition {
    transition: none !important;
    animation: none !important;
  }

  #page-transition {
    display: none;
  }
}

@media (max-width: 768px) {
  .platform-cards {
    flex-direction: column;
  }
  .platform-card,
  .platform-card.expanded,
  .platform-card.shrunk {
    flex: none;
    width: 100%;
    min-width: 0;
  }
}
