:root {
  --color-white: #ffffff;
  --color-yellow: #FFE000;
  --color-blue: #032D67;
  --color-cyan: #00A7E7;
  --color-text: #111111;
  --color-muted: #555555;
  --color-border: rgba(17, 17, 17, 0.12);
  --color-surface: #f7f7f7;
  --shadow-soft: 0 16px 40px rgba(0, 0, 0, 0.08);
  --radius: 1.25rem;
  --container: 1200px;
  --header-height: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Public Sans', Arial, Helvetica, sans-serif;
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: var(--color-yellow);
  color: var(--color-text);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex: 0 1 auto;
  min-width: 0;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
}

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

.brand-text {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  min-width: 0;
}

.brand-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  padding: 0.35rem 0.75rem;
  font-size: 1rem;
  line-height: 1;
  white-space: nowrap;
  font-weight: 800;
}

.brand-box-yellow {
  background: var(--color-yellow);
  color: var(--color-text);
}

.brand-box-blue {
  background: var(--color-blue);
  color: var(--color-white);
}

.site-nav {
  margin-left: auto;
}

.site-nav ul,
.footer-inner ul {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-nav a,
.footer-inner a {
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.footer-inner a:hover,
.footer-inner a:focus-visible {
  color: var(--color-blue);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0;
  margin-left: auto;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0;
  background: var(--color-text);
  border-radius: 2px;
}

.hero-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(130deg,
      var(--color-blue)  0%,
      var(--color-white) 7%,
      var(--color-yellow) 14%,
      var(--color-white) 22%
    ),
    var(--color-white);
}

.hero-section::after {
  content: "";
  position: absolute;
  right: -4rem;
  top: 8rem;
  width: 16rem;
  height: 16rem;
  background: var(--color-blue);
  opacity: 0.06;
  transform: rotate(12deg);
}

.hero-section .hero-copy h1 {
  color: var(--color-blue);
}

.hero-grid,
.section-grid,
.contact-grid {
  display: grid;
  gap: 2rem;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 440px);
  align-items: start;
  min-height: calc(100vh - var(--header-height));
  padding: 2.5rem 0 4rem;
  gap: 3rem;
}

.hero-copy {
  max-width: 720px;
}

.hero-copy h1,
.section-header h2,
.section-intro h2,
.legal-content h1,
.error-box h1 {
  line-height: 1.05;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 4.8vw, 4.8rem);
  max-width: 14ch;
}

.hero-text {
  max-width: 58ch;
}

.hero-title {
  color: var(--color-blue);
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1 / 1;
  align-self: start;
  justify-self: end;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2rem;
  box-shadow: var(--shadow-soft);
}

.eyebrow,
.section-kicker {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.35rem 0.7rem;
  background: var(--color-blue);
  color: var(--color-yellow) !important;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-text,
.section-header p,
.contact-copy p,
.section-content p,
.legal-content p,
.legal-content li,
.error-box p {
  color: var(--color-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-weight: 800;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

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

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

.hero-highlights {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-highlights li {
  position: relative;
  padding-left: 1.4rem;
  font-weight: 700;
}

.hero-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--color-yellow);
  box-shadow: 0 0 0 4px rgba(3, 45, 103, 0.18);
}

.section {
  padding: 6rem 0;
}

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

.section-grid {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
}

.section-grid.reverse {
  grid-template-columns: 1.1fr 0.9fr;
}

.about-grid {
  grid-template-columns: 0.8fr 0.9fr 1.3fr;
  align-items: start;
  gap: 2rem;
}

.about-image {
  background-color: var(--color-yellow);
  padding: 0;
  overflow: hidden;
  align-self: stretch;
  border-radius: var(--radius);
}

.about-image img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.centered {
  max-width: 760px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.card,
.topic-card,
.promise-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.card {
  padding: 2rem;
}

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

.accent-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 10px;
  background: linear-gradient(to bottom, var(--color-blue), var(--color-white), var(--color-yellow));
}

.support-cta {
  margin-top: 2.5rem;
  text-align: center;
}

.support-cta .hero-actions {
  justify-content: center;
}

.topics-grid,
.promise-grid {
  display: grid;
  gap: 1.5rem;
}

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

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

.topic-card,
.promise-card {
  padding: 1.75rem;
}

.topic-card h3,
.promise-card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.promise-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--color-blue);
  color: var(--color-yellow);
  font-weight: 800;
}

.events-grid {
  display: grid;
  gap: 1.5rem;
}

.event-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 1.5rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  padding: 1rem;
  border-radius: 1rem;
  background: var(--color-blue);
  border-top: 4px solid var(--color-yellow);
  text-align: center;
}

.event-day {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--color-white);
}

.event-month {
  display: block;
  margin-top: 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.event-content h3 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.event-meta {
  margin: 0 0 0.5rem;
  color: var(--color-blue);
  font-weight: 700;
}

.event-content p:last-child {
  margin-bottom: 0;
}

.section-contact {
  background: linear-gradient(180deg, var(--color-white) 0%, rgba(3, 45, 103, 0.06) 100%);
}

.contact-grid {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
}

.contact-box {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.form-row {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

label {
  font-weight: 700;
}

textarea {
  resize: none;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(17, 17, 17, 0.18);
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  font: inherit;
  background: var(--color-white);
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(0, 167, 231, 0.18);
  border-color: var(--color-cyan);
}

.honeypot-field {
  position: absolute;
  left: -9999px;
}

.site-footer {
  padding: 1.5rem 0;
  border-top: none;
  background: var(--color-blue);
  color: var(--color-white);
}

.footer-inner p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

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

.site-footer .footer-inner a:hover,
.site-footer .footer-inner a:focus-visible {
  color: var(--color-yellow);
}

.site-footer li {
  color: var(--color-white);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.inner-header {
  position: relative;
}

.legal-page,
.error-page {
  min-height: calc(100vh - var(--header-height));
  display: grid;
  align-items: center;
  padding: 4rem 0;
}

.legal-content {
  max-width: 900px;
}

.legal-content h2 {
  margin-top: 2rem;
}

.error-page {
  background: linear-gradient(145deg, rgba(255, 224, 0, 0.35), rgba(3, 45, 103, 0.08), rgba(0, 167, 231, 0.15));
}

.error-box {
  max-width: 700px;
  text-align: center;
  padding: 3rem;
}

li {
  color: var(--color-blue)
}

li span {
 color: var(--color-text);
}

@media (max-width: 960px) {
  .site-header {
    backdrop-filter: none;
  }

  .header-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    position: relative;
  }

  .brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 0;
    min-width: 0;
  }

  .brand-text {
    display: none;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
  }

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

  .nav-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    margin-left: auto;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    z-index: 1002;
    line-height: 0;
  }

  .nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 0;
    background: var(--color-text);
    border-radius: 2px;
    flex: 0 0 auto;
  }

  .site-nav {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  left: auto;
  width: min(50vw, 280px);
  margin-left: 0;
  display: none;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 1rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
  z-index: 1001;
}

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .site-nav li {
    width: 100%;
  }

  .site-nav a {
    display: block;
    width: 100%;
    padding: 0.65rem 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    min-height: auto;
    padding: 3rem 0;
  }

  .hero-copy,
  .hero-copy h1,
  .hero-text {
    max-width: 100%;
  }

  .hero-visual {
    width: 100%;
    max-width: 520px;
    aspect-ratio: 1 / 1;
    justify-self: start;
  }

  .hero-visual img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
  }

  .section-grid,
  .section-grid.reverse,
  .contact-grid,
  .topics-grid,
  .promise-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-image {
    max-width: 520px;
  }

  .about-image img {
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .event-card {
    grid-template-columns: 1fr;
  }

  .event-date {
    width: 100%;
    max-width: 120px;
  }

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

/* ===== Cookie Banner ===== */
@keyframes cookie-slide-up-center {
  from { transform: translateX(-50%) translateY(130%); opacity: 0; }
  to   { transform: translateX(-50%) translateY(0);    opacity: 1; }
}

@keyframes cookie-slide-up-mobile {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 2rem), 960px);
  z-index: 9000;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.14);
  overflow: hidden;
  animation: cookie-slide-up-center 0.45s 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.cookie-banner::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(to bottom, var(--color-blue), var(--color-white), var(--color-yellow));
}

.cookie-banner.is-hidden {
  display: none;
}

.cookie-banner-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.25rem 1.5rem 1.25rem 2rem;
}

.cookie-banner-body {
  flex: 1;
  min-width: 0;
}

.cookie-banner-title {
  display: block;
  margin: 0 0 0.3rem;
  font-size: 1rem;
  color: var(--color-text);
}

.cookie-banner-desc {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.5;
}

.cookie-banner-desc a {
  color: var(--color-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner-desc a:hover,
.cookie-banner-desc a:focus-visible {
  color: var(--color-text);
}

.cookie-banner-actions {
  flex-shrink: 0;
}

/* ===== End Cookie Banner ===== */

@media (max-width: 640px) {
  .cookie-banner {
    bottom: 0;
    left: 0;
    right: 0;
    transform: none;
    width: 100%;
    border-radius: var(--radius) var(--radius) 0 0;
    animation: cookie-slide-up-mobile 0.45s 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .cookie-banner-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding-left: 1.75rem;
  }

  .cookie-banner-actions {
    width: 100%;
  }

  .cookie-banner-actions .button {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .section,
  .legal-page,
  .error-page {
    padding: 4rem 0;
  }

  .hero-copy h1 {
    max-width: none;
    font-size: clamp(2.2rem, 9vw, 3.4rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
  }

  .about-image,
  .hero-visual {
    max-width: 100%;
  }

  .event-content h3 {
    font-size: 1.2rem;
  }

  .promise-card,
  .topic-card,
  .card,
  .event-card {
    padding: 1.25rem;
  }
}