/* BADGE website. Red, navy and yellow, as Candy likes them. */
@font-face { font-family: "Bricolage Grotesque"; font-weight: 500; font-display: swap; src: url("../fonts/bricolage-500.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 700; font-display: swap; src: url("../fonts/bricolage-700.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 800; font-display: swap; src: url("../fonts/bricolage-800.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 200 900; font-display: swap; src: url("../fonts/source-sans-3.woff2") format("woff2"); }

:root {
  --red: #C8102E;
  --red-dark: #B00E28;
  --red-deep: #7A0A1C;
  --navy: #16206B;
  --navy-deep: #0B1240;
  --navy-line: #3A4590;
  --yellow: #FFC72C;
  --yellow-soft: #FFF3D1;
  --cream: #FFFBF3;
  --ink: #1A1A2E;
  --muted: #4A4A5E;
  --pale: #E2E5FF;
  --line: #ECE4D3;
  --input: #8F8676;
  --display: "Bricolage Grotesque", "Arial Black", sans-serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
[hidden] { display: none !important; }
body { margin: 0; font-family: var(--sans); font-size: 18px; line-height: 1.6; color: var(--ink); background: var(--cream); }
img, video { max-width: 100%; height: auto; display: block; }
p { margin: 0; }
a { color: var(--red-dark); }
a:hover { color: var(--red-deep); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
.on-light :focus-visible, .section--light :focus-visible, form :focus-visible { outline-color: var(--navy); }
h1, h2, h3 { font-family: var(--display); margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding-inline: 24px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 50; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; color: #fff; }

.eyebrow { margin: 0 0 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-size: 14px; color: var(--red); }
.eyebrow--dark { color: var(--red-dark); }
.eyebrow--yellow { color: var(--yellow); }
.h2 { font-weight: 800; font-size: clamp(32px, 4.4vw, 44px); line-height: 1.1; color: var(--navy); }
.h2--light { color: #fff; }
.lead { color: var(--muted); }
.section { padding-block: 96px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 40px 56px; }
.align-end { align-items: end; }
.stack { display: flex; flex-direction: column; gap: 18px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 26px; border-radius: 999px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; border: 2px solid transparent; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); color: #fff; }
.btn--ghost { border-color: var(--yellow); color: #fff; }
.btn--ghost:hover { background: rgba(255, 199, 44, 0.15); color: #fff; }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn svg { flex-shrink: 0; }

/* Header */
.site-header { background: #fff; border-bottom: 4px solid var(--yellow); position: relative; z-index: 10; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand__mark { width: 48px; height: 48px; border-radius: 14px; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 22px; transform: rotate(-6deg); flex-shrink: 0; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: 0.04em; color: var(--red); }
.brand__tag { font-size: 13px; color: var(--muted); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; padding: 10px 0; }
.nav a:hover { color: var(--red); text-decoration: underline; text-underline-offset: 4px; }
.nav .btn { color: #fff; padding: 10px 22px; min-height: 44px; }
.nav .btn:hover { color: #fff; text-decoration: none; }
.menu-btn { display: none; width: 48px; height: 48px; border-radius: 12px; border: 2px solid var(--navy); background: #fff; color: var(--navy); cursor: pointer; align-items: center; justify-content: center; padding: 0; }
.menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after { display: block; width: 22px; height: 3px; background: currentColor; border-radius: 2px; position: relative; }
.menu-btn__bars::before, .menu-btn__bars::after { content: ""; position: absolute; left: 0; }
.menu-btn__bars::before { top: -7px; } .menu-btn__bars::after { top: 7px; }
.menu-btn[aria-expanded="true"] .menu-btn__bars { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-btn__bars::before { top: 0; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars::after { top: 0; transform: rotate(-45deg); }
@media (max-width: 860px) {
  .js .menu-btn { display: inline-flex; }
  .js .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 4px 0 8px; }
  .js .nav.is-open { display: flex; }
  .js .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .js .nav .btn { margin-top: 12px; border-bottom: 0; }
}

/* Hero */
.hero { background: var(--navy); color: #fff; }
.hero .wrap { padding-block: 72px 112px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 56px; align-items: center; }
.hero h1 { font-weight: 800; font-size: clamp(40px, 6vw, 78px); line-height: 1.02; }
.hero__intro { font-size: 21px; max-width: 34em; color: var(--pale); }
.hero__text { display: flex; flex-direction: column; gap: 24px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.hero__media { position: relative; margin: 0; }
.hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 28px; border: 6px solid var(--red); }
.hero__media figcaption { position: absolute; left: -12px; bottom: -22px; background: var(--yellow); color: var(--ink); font-weight: 700; font-size: 15px; padding: 10px 18px; border-radius: 12px; transform: rotate(-2deg); max-width: calc(100% - 12px); }

/* Facts */
.facts { margin-top: -56px; position: relative; }
.facts__box { background: #fff; border-radius: 24px; box-shadow: 0 14px 40px rgba(22, 32, 107, 0.16); padding: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 32px; margin: 0; }
.fact dt { font-family: var(--display); font-weight: 800; font-size: 48px; line-height: 1.1; color: var(--red); }
.fact dt::after { content: ""; display: block; width: 40px; height: 5px; background: var(--yellow); border-radius: 3px; margin: 8px 0; }
.fact dd { margin: 0; color: var(--muted); }

/* Value cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.card h3 { font-size: 24px; color: var(--navy); }
.card p { color: var(--muted); }
.icon { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.icon--red { background: var(--red); } .icon--navy { background: var(--navy); } .icon--yellow { background: var(--yellow); }
.note { background: var(--yellow-soft); border-radius: 14px; padding: 16px 20px; font-size: 17px; }

/* Carousel */
.carousel { display: flex; flex-direction: column; gap: 16px; }
.carousel__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.slide { flex: 0 0 min(88%, 900px); scroll-snap-align: start; margin: 0; position: relative; background: var(--navy); border-radius: 24px; overflow: hidden; }
.slide img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.slide figcaption { position: absolute; left: 20px; bottom: 20px; right: 20px; width: fit-content; background: var(--yellow); color: var(--ink); font-weight: 700; font-size: 16px; padding: 8px 16px; border-radius: 10px; }
.js-carousel .carousel__track { display: block; overflow: hidden; padding: 0; }
.js-carousel .slide { display: none; }
.js-carousel .slide.is-current { display: block; animation: fade 0.5s ease; }
@keyframes fade { from { opacity: 0.3; } to { opacity: 1; } }
.carousel__controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.dots { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.dot { width: 30px; height: 44px; border: 0; padding: 0; background: none; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.dot::before { content: ""; width: 14px; height: 14px; border-radius: 999px; background: #A69E8D; transition: width 0.2s; }
.dot[aria-current="true"] { width: 44px; }
.dot[aria-current="true"]::before { width: 32px; background: var(--red); }
.arrows { display: flex; gap: 12px; }
.round { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--navy); background: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--navy); }
.round--red { border-color: var(--red); background: var(--red); color: #fff; }
.round--play { border-color: var(--navy); }

/* Stage */
.stage { background: var(--navy); color: #fff; }
.stage .wrap { display: flex; flex-direction: column; gap: 40px; }
.stage p { color: var(--pale); }
.pills { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 12px; }
.pills li { background: var(--yellow); color: var(--ink); font-weight: 700; padding: 8px 18px; border-radius: 999px; }
.videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.videos figure { margin: 0; }
.videos video { width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; background: var(--navy-deep); border-top: 6px solid var(--red); object-fit: cover; }
.videos figcaption { font-size: 15px; color: var(--pale); margin-top: 8px; }
.stage__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--navy-line); padding-top: 32px; }

/* Testimonials */
.voices { background: var(--yellow-soft); }
.voices .wrap { display: flex; flex-direction: column; gap: 40px; }
.tcard { background: #fff; border-radius: 20px; overflow: hidden; border-top: 6px solid var(--red); margin: 0; }
.tcard__video { aspect-ratio: 16 / 9; background: var(--navy); width: 100%; border: 0; display: block; }
.tcard figcaption { padding: 18px 20px; }
.tcard strong { display: block; }
.tcard span { color: var(--muted); font-size: 16px; }

/* Impact */
.impact { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 24px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.stat__art { height: 180px; display: flex; align-items: flex-end; justify-content: center; }
.stat__art--yellow { background: var(--yellow-soft); } .stat__art--blue { background: #E3E6FA; } .stat__art--pink { background: #FBE3E6; }
.stat__body { padding: 24px 28px 28px; }
.stat__num { font-family: var(--display); font-weight: 800; font-size: 48px; color: var(--red); line-height: 1.2; }
.stat__num--navy { color: var(--navy); }
.stat__body p:last-child { color: var(--muted); }
.quote { margin: 0; background: var(--red); color: #fff; border-radius: 28px; padding: clamp(28px, 5vw, 48px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 32px; align-items: center; }
.quote blockquote { margin: 0; font-family: var(--display); font-size: clamp(22px, 3vw, 30px); line-height: 1.3; font-weight: 500; }
.quote figcaption { display: flex; align-items: center; gap: 16px; }
.quote__dot { width: 72px; height: 72px; border-radius: 50%; background: var(--yellow); flex-shrink: 0; }
.quote strong { display: block; font-size: 20px; }

/* Projects */
.projects { background: #fff; border-block: 1px solid var(--line); }
.projects .wrap { display: flex; flex-direction: column; gap: 48px; }
.pcard { background: var(--cream); border: 1px solid var(--line); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.pcard__num { align-self: flex-start; background: var(--yellow); font-weight: 800; padding: 2px 10px; border-radius: 8px; }
.pcard h3 { font-size: 22px; color: var(--navy); }
.pcard p { color: var(--muted); }
.who { background: var(--navy); color: #fff; border-radius: 28px; padding: clamp(28px, 4vw, 40px); display: flex; flex-direction: column; gap: 28px; }
.who h3 { font-size: 28px; }
.who__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 24px; }
.who__grid div { display: flex; flex-direction: column; gap: 8px; }
.who__grid strong { font-size: 20px; }
.who__grid span { color: var(--pale); }
.bar { width: 40px; height: 6px; border-radius: 3px; display: block; }
.bar--red { background: var(--red); } .bar--yellow { background: var(--yellow); } .bar--white { background: #fff; }
.who .btn { align-self: flex-start; }

/* Ways */
.ways { background: var(--red); color: #fff; }
.ways .wrap { display: flex; flex-direction: column; gap: 40px; }
.ways .card { border: 0; border-top: 8px solid var(--yellow); color: var(--ink); }
.ways .card--navy { border-top-color: var(--navy); }

/* Contact */
.contact { background: var(--yellow-soft); }
.contact__photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; border: 6px solid #fff; }
.form { background: #fff; border-radius: 24px; padding: clamp(22px, 4vw, 32px); display: flex; flex-direction: column; gap: 18px; align-self: start; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; }
.field input, .field select, .field textarea { font: inherit; padding: 12px 14px; border: 1px solid var(--input); border-radius: 10px; min-height: 48px; width: 100%; background: #fff; color: var(--ink); }
.field textarea { resize: vertical; min-height: 120px; }
.consent { display: flex; gap: 12px; align-items: flex-start; }
.consent input { width: 22px; height: 22px; margin: 3px 0 0; accent-color: var(--red); flex-shrink: 0; }
.consent label { font-size: 16px; color: var(--muted); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.status { border-radius: 12px; padding: 12px 16px; font-weight: 600; }
.status--ok { background: #DDF0E3; color: #1E5A35; }
.status--error { background: #FBE3E6; color: #8E1020; }
.cf-turnstile { min-height: 65px; }

/* Footer */
.site-footer { background: var(--navy); color: var(--pale); border-top: 6px solid var(--red); }
.site-footer .wrap { padding-block: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 15px; }
.site-footer a { color: var(--pale); padding: 10px 0; display: inline-block; }
.site-footer a:hover { color: #fff; }
.site-footer strong { color: var(--yellow); font-family: var(--display); letter-spacing: 0.04em; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0 24px; width: 100%; }

/* Simple pages */
.prose { max-width: 760px; margin: 0 auto; padding: 64px 24px 96px; }
.prose h1 { font-size: clamp(34px, 5vw, 52px); color: var(--navy); margin: 0 0 16px; line-height: 1.1; }
.prose h2 { font-size: 26px; color: var(--navy); margin: 36px 0 10px; }
.prose p, .prose li { color: var(--muted); }
.prose p + p { margin-top: 12px; }

@media (max-width: 640px) {
  body { font-size: 17px; }
  .section { padding-block: 64px; }
  .hero .wrap { padding-block: 48px 96px; }
  .hero__intro { font-size: 19px; }
  .brand__name { font-size: 22px; }
  .slide img { aspect-ratio: 4 / 3; }
  .facts__box { padding: 24px; gap: 20px; }
  .fact dt { font-size: 40px; }
}

.section--tight { padding-bottom: 48px; }
.pb-96 { padding-bottom: 96px; }
.measure { max-width: 36em; }
.intro { max-width: 760px; }
.intro--gap { margin-bottom: 40px; }
.mb-16 { margin-bottom: 16px; }
.m-0 { margin: 0; }
.full { width: 100%; }
@media (max-width: 640px) { .pb-96 { padding-bottom: 64px; } }
.js .nav--simple { display: flex; width: auto; flex-direction: row; padding: 0; }
.js .nav--simple .btn { margin: 0; }

.pills .pill--more { background: transparent; color: #fff; border: 2px solid var(--yellow); padding: 6px 16px; }
.supporters { display: flex; flex-direction: column; gap: 18px; }
.supporters h3 { font-size: 24px; color: var(--navy); }
.supporters__list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 12px; }
.supporters__list li { background: var(--cream); border: 1px solid var(--line); border-left: 0; border-radius: 14px; padding: 16px 20px; font-weight: 700; color: var(--navy); display: flex; align-items: center; gap: 12px; }
.supporters__list li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--yellow); flex-shrink: 0; }
.quotes { display: flex; flex-direction: column; gap: 20px; }
.quotes__next { align-self: flex-start; }

/* Contact: form is compact and both columns finish level on wide screens */
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 14px 16px; }
.contact .form { gap: 14px; }
.contact .field textarea { min-height: 104px; }
@media (min-width: 900px) {
  .contact__grid { align-items: stretch; }
  .contact__side { height: 100%; }
  .contact__side .contact__photo { flex: 1 1 auto; min-height: 240px; height: 0; aspect-ratio: auto; }
  .contact .form { align-self: stretch; }
}
.note--about { margin-top: 28px; }
.voices__more { align-self: flex-start; }
