/* ==========================================================================
   Padel4Good — shared stylesheet
   Design tokens and components per the design handoff (README.md)
   ========================================================================== */

:root {
  --navy: #0F1842;          /* deep background */
  --navy-2: #16225B;        /* structural / text */
  --lime: #C9E63A;          /* accent / CTA */
  --lime-hover: #D8F04A;
  --olive: #8FA815;         /* eyebrows / link hover on light */
  --muted: #5A6285;         /* body text muted */
  --on-lime: #3A4470;       /* body text on lime */
  --off-white: #F7F8F3;
  --hairline: #E6E8DE;
  --input-border: #D9DCCE;
  --transition: all 140ms ease-out;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Archivo', sans-serif;
  color: var(--navy-2);
  background: #FFFFFF;
  min-width: 320px;
}

body.page-sub { background: var(--off-white); }

a { color: var(--navy-2); text-decoration: none; }
a:hover { color: var(--olive); }
::selection { background: var(--lime); color: var(--navy-2); }

img { max-width: 100%; }

h1, h2, h3, p, blockquote { margin: 0; }

/* ---------- Layout ---------- */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography ---------- */

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

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

.eyebrow--bar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow--bar::before {
  content: "";
  width: 32px;
  height: 3px;
  background: var(--lime);
  display: inline-block;
}

.section-title {
  font-size: 40px;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.05;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 16px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn--lime {
  background: var(--lime);
  color: var(--navy-2);
}
.btn--lime:hover {
  background: var(--lime-hover);
  color: var(--navy-2);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(201, 230, 58, 0.3);
}

.btn--navy {
  background: var(--navy-2);
  color: var(--lime);
  padding: 16px 30px;
}
.btn--navy:hover {
  background: var(--navy);
  color: var(--lime);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 24, 66, 0.3);
}

.btn--ghost-light {
  border: 2px solid rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
  font-weight: 700;
  background: transparent;
  transition: border-color 140ms ease-out, color 140ms ease-out;
}
.btn--ghost-light:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.btn--outline-navy {
  border: 2px solid var(--navy-2);
  color: var(--navy-2);
  background: transparent;
  font-size: 14px;
  letter-spacing: 0.06em;
  padding: 14px 26px;
}
.btn--outline-navy:hover {
  background: rgba(22, 34, 91, 0.08);
  color: var(--navy-2);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(22, 34, 91, 0.15);
}

.btn--outline-navy.btn--flat:hover {
  transform: none;
  box-shadow: none;
}

/* ---------- Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 24, 66, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 3px solid var(--lime);
}

.site-header__inner {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header__logo { display: flex; align-items: center; gap: 12px; }
.site-header__logo img { height: 72px; width: auto; display: block; }

/* desktop: large crest hanging over the header edge (not on utility pages) */
@media (min-width: 821px) {
  body:not(.page-upload) .site-header__logo img {
    height: 124px;
    margin-top: 70px;
  }
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.site-nav a { color: rgba(255, 255, 255, 0.85); padding: 8px 0; }
.site-nav a:hover { color: var(--lime); }

.site-nav a.is-active {
  color: var(--lime);
  border-bottom: 2px solid var(--lime);
}

.site-nav .nav-donate {
  background: var(--lime);
  color: var(--navy-2);
  font-weight: 800;
  padding: 12px 22px;
  border-radius: 8px;
  letter-spacing: 0.06em;
  border-bottom: none;
  transition: var(--transition);
}
.site-nav .nav-donate:hover {
  background: var(--lime-hover);
  color: var(--navy-2);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(201, 230, 58, 0.35);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 10px;
  margin-right: -10px;
  cursor: pointer;
  color: #FFFFFF;
}
.nav-toggle:hover { color: var(--lime); }

/* Mobile nav */
@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy);
    border-bottom: 3px solid var(--lime);
    padding: 8px 24px 20px;
  }

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

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-nav a.is-active { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }

  .site-nav .nav-donate {
    margin-top: 16px;
    text-align: center;
    justify-content: center;
    display: inline-flex;
  }
  .site-nav .nav-donate:hover { transform: none; box-shadow: none; }
}

/* ---------- Decorative slashes ---------- */

.slash {
  position: absolute;
  background: var(--lime);
  transform: skewX(-18deg);
  pointer-events: none;
}

.slash--navy { background: var(--navy-2); }

/* ---------- Subpage header band ---------- */

.page-hero {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.page-hero .slash-a { top: -60px; bottom: -60px; right: -30px; width: 220px; opacity: 0.12; }
.page-hero .slash-b { top: -60px; bottom: -60px; right: 170px; width: 44px; opacity: 0.16; }

.page-hero__ball {
  position: absolute;
  right: 60px;
  bottom: -46px;
  width: 130px;
  height: 130px;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.35));
  pointer-events: none;
}

.page-hero__inner {
  padding-top: 64px;
  padding-bottom: 72px;
  position: relative;
}

/* desktop: start subpage headings at the same depth as the homepage,
   clear of the hanging crest logo */
@media (min-width: 821px) {
  .page-hero__inner { padding-top: 88px; }
}

.page-hero .eyebrow--bar { margin-bottom: 18px; }

.page-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(36px, 4.5vw, 54px);
  line-height: 1.03;
  font-weight: 900;
  text-transform: uppercase;
  color: #FFFFFF;
  max-width: 640px;
}

.page-hero h1 .accent { color: var(--lime); }

.page-hero p {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  max-width: 520px;
}

/* ---------- Photo placeholders (awaiting real photography) ---------- */

.photo-placeholder {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(-45deg, rgba(22, 34, 91, 0.035) 0 14px, transparent 14px 28px),
    #EDEFE3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #8A90A8;
  overflow: hidden;
}

.photo-placeholder span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.photo-placeholder--rounded { border-radius: 16px; }
.photo-placeholder--tile { border-radius: 12px; }

/* ---------- Offset photo frame (lime backing plate) ---------- */

.photo-frame { position: relative; }

.photo-frame__plate {
  position: absolute;
  inset: 18px -18px -18px 18px;
  background: var(--lime);
  border-radius: 16px;
}

.photo-frame__media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
}

.photo-frame__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

/* Brand gradient + lime squiggles so a real photo sits on-brand */
.photo-frame--decorated .photo-frame__media { z-index: 1; }

.photo-frame__overlay {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  pointer-events: none;
  background:
    linear-gradient(160deg, rgba(201, 230, 58, 0.22) 0%, rgba(15, 24, 66, 0) 40%),
    linear-gradient(0deg, rgba(15, 24, 66, 0.55) 0%, rgba(15, 24, 66, 0) 45%);
}

.photo-frame__squiggle {
  position: absolute;
  z-index: 3;
  width: 92px;
  height: auto;
  color: var(--lime);
  pointer-events: none;
}
.photo-frame__squiggle--tr { top: -12px; right: 18px; transform: rotate(8deg); }
.photo-frame__squiggle--bl { bottom: 30px; left: 18px; width: 112px; transform: rotate(-10deg); }

/* Small vertical photo credit, over the image at the bottom-right */
.photo-frame__credit {
  position: absolute;
  bottom: 14px;
  right: 12px;
  transform: rotate(180deg);
  writing-mode: vertical-rl;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  white-space: nowrap;
  color: #FFFFFF;
  z-index: 4;
  pointer-events: none;
}

/* ---------- Event cards ---------- */

.events-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.event-card--featured {
  background: var(--navy-2);
  border-radius: 16px;
  padding: 32px;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

/* Single "date to be confirmed" card: span the full grid, centered content */
.event-card--solo {
  grid-column: 1 / -1;
  text-align: center;
  padding: 44px 32px;
}
.event-card--solo .event-card__pill { align-self: center; }
.event-card--solo .event-card__meta { max-width: 520px; margin: 0 auto; }
.event-card--solo .event-card__cta-row { justify-content: center; }

.event-card--featured .slash {
  top: -40px;
  right: -30px;
  width: 120px;
  height: 240px;
  opacity: 0.15;
}

.event-card__pill {
  align-self: flex-start;
  background: var(--lime);
  color: var(--navy-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 6px 12px;
  border-radius: 999px;
}

.event-card__title {
  font-size: 28px;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 8px;
}

.event-card__meta {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

.event-card__cta-row {
  margin-top: auto;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.event-card__cta-row .btn {
  font-size: 14px;
  letter-spacing: 0.04em;
  padding: 13px 22px;
}
.event-card__cta-row .btn--lime:hover { box-shadow: 0 8px 18px rgba(201, 230, 58, 0.3); }

.event-card__note { font-size: 13px; color: rgba(255, 255, 255, 0.6); }

.event-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 4px 20px rgba(22, 34, 91, 0.06);
}

.event-card__month {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--olive);
  text-transform: uppercase;
}

.event-card__name {
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.2;
}

.event-card p { font-size: 14px; line-height: 1.6; color: var(--muted); }

.text-link {
  margin-top: auto;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 140ms ease-out;
}
.text-link:hover {
  color: var(--olive);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- Donation cards (navy sections) ---------- */

.donation-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.donation-card__date {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.donation-card__amount {
  font-size: 30px;
  font-weight: 900;
  color: var(--lime);
}

.donation-card__charity {
  display: flex;
  align-items: center;
  gap: 10px;
}

.donation-card__logo {
  width: 36px;
  height: 36px;
  flex: none;
  background: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.donation-card__logo img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  border-radius: 50%;
}

.donation-card__logo--placeholder {
  background: rgba(255, 255, 255, 0.12);
  border: 1px dashed rgba(255, 255, 255, 0.35);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-opacity='0.55' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='18' x='3' y='3' rx='2' ry='2'/%3E%3Ccircle cx='9' cy='9' r='2'/%3E%3Cpath d='m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.donation-card__charity a {
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.3;
}
.donation-card__charity a:hover { color: var(--lime); }

.donation-card__desc {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- Blockquote ---------- */

.brand-quote {
  border-left: 3px solid var(--lime);
  padding: 4px 0 4px 20px;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 500;
  font-style: italic;
}

.brand-quote footer {
  margin-top: 12px;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.08em;
}

/* ---------- Social icon buttons ---------- */

.social-row { display: flex; gap: 12px; }

.social-btn {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}
.social-btn:hover { border-color: var(--lime); color: var(--lime); }

/* ---------- Lime CTA bands ---------- */

.cta-band {
  background: var(--lime);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
}

.cta-band h2 {
  font-size: 30px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--navy-2);
}

.cta-band__ball {
  position: absolute;
  right: -50px;
  bottom: -60px;
  width: 190px;
  height: 190px;
  filter: drop-shadow(0 18px 30px rgba(15, 24, 66, 0.3));
  pointer-events: none;
}

/* ---------- Forms ---------- */

.field { display: flex; flex-direction: column; gap: 6px; }

.field label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--olive);
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  border: 1px solid var(--input-border);
  border-radius: 10px;
  font-size: 15px;
  font-family: 'Archivo', sans-serif;
  color: var(--navy-2);
  background: #FFFFFF;
}

.field input, .field select { height: 48px; padding: 0 16px; }
.field select { padding: 0 12px; }
.field textarea { padding: 14px 16px; resize: vertical; }

input:focus, textarea:focus, select:focus {
  outline: 3px solid rgba(201, 230, 58, 0.5);
  border-color: var(--lime) !important;
}

.form-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 16px 48px rgba(22, 34, 91, 0.12);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-card__title {
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.form-card__sub { font-size: 14px; line-height: 1.6; color: var(--muted); }

.form-msg {
  display: none;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  border-radius: 10px;
  padding: 14px 16px;
}

.form-msg.is-visible { display: block; }

.form-msg--success {
  background: rgba(201, 230, 58, 0.25);
  color: var(--navy-2);
}

.form-msg--error {
  background: rgba(196, 65, 65, 0.08);
  color: #A03434;
}

/* ---------- Footer strip (subpages) ---------- */

.footer-strip { background: var(--navy); padding: 20px 0; }

.footer-strip__inner,
.footer-bar__inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
}

/* ---------- Hashtag marquee band ---------- */

.hashtag-band {
  background: var(--lime);
  padding: 14px 0;
  white-space: nowrap;
}

.hashtag-band__inner { overflow: hidden; }

.hashtag-band__track {
  display: inline-flex;
  animation: marquee 40s linear infinite;
}

.hashtag-band span {
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 0.18em;
  color: var(--navy-2);
  padding-right: 0.5em;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .hashtag-band__track { animation: none; }
}

/* ==========================================================================
   Homepage
   ========================================================================== */

.hero {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.hero .slash-a { top: -80px; bottom: -80px; right: -40px; width: 340px; opacity: 0.12; }
.hero .slash-b { top: -80px; bottom: -80px; right: 240px; width: 60px; opacity: 0.18; }

.hero__inner {
  padding-top: 88px;
  padding-bottom: 72px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
  position: relative;
}

.hero .eyebrow--bar { margin-bottom: 24px; color: var(--lime); }

.hero h1 {
  margin-bottom: 24px;
  font-size: clamp(40px, 5vw, 62px);
  line-height: 1.02;
  font-weight: 900;
  text-transform: uppercase;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}

.hero h1 .accent { color: var(--lime); }

.hero__lede {
  margin-bottom: 36px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  max-width: 480px;
}

.hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__media { position: relative; }

.hero__ball {
  position: absolute;
  bottom: -34px;
  right: -30px;
  width: 110px;
  height: 110px;
  filter: drop-shadow(0 14px 22px rgba(15, 24, 66, 0.45));
  z-index: 2;
  pointer-events: none;
}

.hero__stat-card {
  position: absolute;
  top: -20px;
  left: -20px;
  background: #FFFFFF;
  border-radius: 12px;
  padding: 14px 20px;
  box-shadow: 0 12px 32px rgba(15, 24, 66, 0.35);
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 2;
}

.hero__stat-card strong { font-size: 26px; font-weight: 900; color: var(--navy-2); }

.hero__stat-card span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #6B7396;
}

.hero__stats {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
}

.hero__stats-inner {
  padding-top: 28px;
  padding-bottom: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

.hero__stat { display: flex; flex-direction: column; gap: 4px; }
.hero__stat strong { font-size: 30px; font-weight: 900; color: var(--lime); }
.hero__stat span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
}

.hero__stats-ball {
  position: absolute;
  left: 24px;
  top: -18px;
  width: 56px;
  height: 56px;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.35));
  pointer-events: none;
}

/* Section shells */

.section { padding: 88px 0; }
.section--offwhite { background: var(--off-white); }
.section--white { background: #FFFFFF; }

.section--navy {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.section--navy .slash-bl {
  bottom: -100px;
  left: -60px;
  width: 280px;
  height: 480px;
  opacity: 0.08;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.section-head .eyebrow { margin-bottom: 12px; }

.section-head__intro {
  max-width: 380px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.section-head--center {
  display: block;
  text-align: center;
  margin-bottom: 52px;
}

/* How it works */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-card {
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.step-card__num {
  font-size: 44px;
  font-weight: 900;
  color: var(--lime);
  line-height: 1;
}

.step-card__title {
  font-size: 19px;
  font-weight: 800;
  text-transform: uppercase;
}

.step-card p { font-size: 15px; line-height: 1.65; color: var(--muted); }

/* Impact */

.impact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
  position: relative;
}

.impact-grid .eyebrow { margin-bottom: 12px; }

.impact-grid h2 {
  margin-bottom: 20px;
  color: #FFFFFF;
}

.impact-grid > div > p {
  margin-bottom: 28px;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.75);
}

.impact-grid .brand-quote { color: #FFFFFF; }
.impact-grid .brand-quote footer { color: rgba(255, 255, 255, 0.55); }

.impact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Sponsors */

.sponsors { text-align: center; }

.sponsors .eyebrow { margin-bottom: 12px; }
.sponsors h2 { margin-bottom: 16px; }

.sponsors__intro {
  margin: 0 auto 44px;
  max-width: 520px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.sponsors__row {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.sponsors__row--last { margin-bottom: 40px; }

.sponsor-tile {
  border: 1px solid var(--hairline);
  border-radius: 10px;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 84px;
  transition: var(--transition);
}
.sponsor-tile:hover {
  border-color: var(--lime);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(22, 34, 91, 0.1);
}

.sponsor-tile img { width: auto; max-width: 170px; object-fit: contain; }

/* ---------- Partnership carousel ---------- */

.partnership-carousel {
  position: relative;
  background: var(--navy);
  overflow: hidden;
}

.partnership-carousel__viewport { overflow: hidden; }

.partnership-carousel__track {
  display: flex;
  transition: transform 500ms ease;
}

.partnership-slide {
  position: relative;
  min-height: 560px;          /* both bands share the same height */
  display: flex;
  flex-direction: column;
  justify-content: center;    /* content vertically centered within that height */
  padding: 72px 0;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.partnership-slide--rb { background-image: url("../assets/banner-bree-overlay.webp"); }
.partnership-slide--nordee { background-color: var(--navy); }

.partnership-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(15, 24, 66, 0.92) 0%, rgba(15, 24, 66, 0.78) 42%, rgba(15, 24, 66, 0.35) 100%);
}

/* Three apparel shots lined up edge-to-edge as the slide background */
.partnership-slide__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
}
.partnership-slide__bg img {
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.partnership-slide > .container { position: relative; z-index: 2; width: 100%; }

/* Staggered right-aligned variant (NORdee): push content right + mirror the gradient */
.partnership-slide--right .partnership__inner { margin-left: auto; text-align: right; }
.partnership-slide--right .partnership__logo { margin-left: auto; }
.partnership-slide--right .partnership__brand-row { justify-content: flex-end; }
.partnership-slide--right::before {
  background: linear-gradient(270deg, rgba(15, 24, 66, 0.92) 0%, rgba(15, 24, 66, 0.78) 42%, rgba(15, 24, 66, 0.35) 100%);
}

/* NORdee inverted lime scheme lives after the base rules below (so it wins the cascade) */

.partnership__inner { max-width: 620px; color: #FFFFFF; }

.partnership__logo {
  display: block;
  height: 58px;
  width: auto;
  margin-bottom: 24px;
}

.partnership__title {
  margin: 14px 0 20px;
  font-size: 40px;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.06;
}

.partnership__title .accent { color: var(--lime); }

/* NORdee wordmark is black on transparent — render white to sit on the navy slide */
.partnership__logo--invert { height: 48px; filter: brightness(0) invert(1); }

.partnership__accent { color: var(--lime); font-weight: 800; }

.partnership__lead {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 16px;
  color: #FFFFFF;
}

/* Mimic the site's native mouse text-selection highlight (see ::selection) */
.partnership__lead .partnership__mark {
  background: var(--lime);
  color: var(--navy-2);
  padding: 2px 0;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* Keep this lead on a single line on desktop; allow wrapping below */
@media (min-width: 900px) {
  .partnership__lead--nowrap { white-space: nowrap; }
}

.partnership-slide p {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.8);
}

/* NORdee: soft white scheme — placed after the base rules so it wins the cascade */
.partnership-slide--nordee::before {
  background: linear-gradient(270deg, rgba(247, 248, 243, 0.94) 0%, rgba(247, 248, 243, 0.82) 48%, rgba(247, 248, 243, 0.25) 100%);
}
.partnership-slide--nordee .partnership__inner,
.partnership-slide--nordee .partnership__title,
.partnership-slide--nordee .eyebrow--lime,
.partnership-slide--nordee p { color: var(--navy-2); }
.partnership-slide--nordee .partnership__lead { color: var(--navy-2); }
.partnership-slide--nordee .partnership__logo--invert { filter: none; }  /* black NORdee wordmark reads on the light wash */
.partnership-slide--nordee .partnership__cta { background: var(--navy-2); color: var(--lime); }
.partnership-slide--nordee .partnership__cta:hover { background: #0F1842; color: var(--lime); box-shadow: 0 10px 24px rgba(15, 24, 66, 0.3); }

.partnership__tagline {
  margin-top: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime) !important;
}

.partnership__brand-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.partnership__logo-plate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  border-radius: 10px;
  padding: 12px 18px;
}

.partnership__logo-plate img { height: 34px; width: auto; display: block; }

.partnership__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--lime);
  color: var(--navy-2);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.06em;
  padding: 14px 26px;
  border-radius: 8px;
  transition: transform 140ms ease-out, box-shadow 140ms ease-out, background 140ms ease-out;
}
.partnership__cta:hover {
  background: #D8F04A;
  color: var(--navy-2);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(201, 230, 58, 0.3);
}

/* Arrows */
.partnership-carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(15, 24, 66, 0.5);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 140ms ease-out, color 140ms ease-out;
}
.partnership-carousel__arrow:hover { border-color: var(--lime); color: var(--lime); }
.partnership-carousel__arrow--prev { left: 20px; }
.partnership-carousel__arrow--next { right: 20px; }

/* Dots */
.partnership-carousel__dots {
  position: absolute;
  bottom: 22px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 3;
}
.partnership-carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 140ms ease-out, transform 140ms ease-out;
}
.partnership-carousel__dot.is-active { background: var(--lime); transform: scale(1.2); }

@media (max-width: 700px) {
  .partnership-slide { min-height: 0; padding: 64px 0 72px; }
  .partnership__title { font-size: 30px; }
  .partnership-carousel__arrow { display: none; }
}

/* Instagram */

/* Elfsight Instagram feed: hide the widget's own title and follow button —
   the section header above already provides both */
.insta-embed .eapps-instagram-feed-header,
.insta-embed .eapps-instagram-feed-title-container,
.insta-embed .eapps-instagram-feed-title,
.insta-embed .eapps-instagram-feed-follow-button,
.insta-embed .eapps-instagram-feed-header-follow-button,
.insta-embed .eapps-instagram-feed-posts-grid-load-more,
.insta-embed .eapps-instagram-feed-posts-load-more {
  display: none !important;
}

/* round the feed tiles like the site's other photo tiles */
.insta-embed .eapps-instagram-feed-posts-item,
.insta-embed .eapps-instagram-feed-posts-item-image-wrapper,
.insta-embed .eapps-instagram-feed-posts-item-link {
  border-radius: 12px !important;
  overflow: hidden !important;
}

.insta-follow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy-2);
}
.insta-follow:hover { color: var(--olive); }

/* Homepage donate band */

.donate-band {
  background: var(--lime);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}

.donate-band .slash-a { top: -60px; right: 80px; width: 90px; height: 320px; opacity: 0.08; }
.donate-band .slash-b { top: -60px; right: 190px; width: 34px; height: 320px; opacity: 0.08; }

.donate-band__ball {
  position: absolute;
  right: -70px;
  bottom: -80px;
  width: 260px;
  height: 260px;
  filter: drop-shadow(0 18px 30px rgba(15, 24, 66, 0.3));
  pointer-events: none;
}

.donate-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
}

.donate-band h2 {
  margin-bottom: 10px;
  font-size: 38px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--navy-2);
  line-height: 1.05;
}

.donate-band p {
  font-size: 17px;
  font-weight: 500;
  color: var(--on-lime);
}

.donate-band__ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.donate-band .btn--outline-navy {
  font-size: 15px;
  letter-spacing: 0.05em;
  padding: 16px 30px;
}
.donate-band .btn--outline-navy:hover { transform: none; box-shadow: none; }

/* Full footer (homepage) */

.site-footer {
  background: var(--navy);
  color: #FFFFFF;
  padding: 64px 0 0;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
}

.site-footer__brand { display: flex; flex-direction: column; gap: 16px; }
.site-footer__brand img { height: 90px; width: auto; align-self: flex-start; }

.site-footer__mission {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.6);
  max-width: 320px;
}

.site-footer__col { display: flex; flex-direction: column; gap: 12px; }

.site-footer__heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--lime);
  margin-bottom: 4px;
  text-transform: uppercase;
}

.site-footer__col a,
.site-footer__col span {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  line-height: 1.6;
}
.site-footer__col a:hover { color: var(--lime); }

.footer-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 48px;
}

.footer-bar__inner { padding-top: 20px; padding-bottom: 20px; }

/* ==========================================================================
   Tournaments
   ========================================================================== */

.past-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.past-card {
  background: var(--off-white);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.past-card__photo { aspect-ratio: 3 / 2; position: relative; display: block; overflow: hidden; }

.past-card__photo .past-card__img { transition: transform 140ms ease-out; }
a.past-card__photo:hover .past-card__img { transform: scale(1.03); }

.past-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.past-card__body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.past-card__title {
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--navy-2);
}

a.past-card__title:hover { color: var(--olive); }

.past-card p { font-size: 14px; line-height: 1.6; color: var(--muted); }

/* Past-event photo gallery (thumbnails + lightbox trigger) */

.past-card__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 8px;
}

.past-card__thumb {
  position: relative;
  aspect-ratio: 1;
  border: none;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: var(--hairline);
}

.past-card__thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 140ms ease-out;
}

.past-card__thumb:hover img { transform: scale(1.05); }

.past-card__more {
  margin-top: 4px;
  border: none;
  background: none;
  padding: 0;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Archivo', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-2);
  cursor: pointer;
  transition: color 140ms ease-out;
}
.past-card__more:hover {
  color: var(--olive);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Charity post cards: logo shown contained on white */

.charity-card__logo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 28px;
  background: #FFFFFF;
}

/* Charity post header: cover banner with overlapping logo block
   (LinkedIn-profile style) */

.charity-head {
  position: relative;
  margin-bottom: 84px;
}

.charity-head__cover {
  position: relative;
  aspect-ratio: 3 / 1;
  border-radius: 16px;
  overflow: hidden;
  background: var(--navy);
}

.charity-head__cover--brand .slash-a {
  top: -60px;
  right: 60px;
  width: 220px;
  height: 500px;
  opacity: 0.14;
}

.charity-head__cover--brand .slash-b {
  top: -60px;
  right: 320px;
  width: 50px;
  height: 500px;
  opacity: 0.18;
}

.charity-head__cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.charity-head__logo {
  position: absolute;
  left: 40px;
  bottom: -44px;
  background: #FFFFFF;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 16px 24px;
  box-shadow: 0 12px 32px rgba(15, 24, 66, 0.18);
  max-width: min(340px, 70%);
}

.charity-head__logo img {
  display: block;
  max-height: 80px;
  max-width: 100%;
  object-fit: contain;
}

@media (max-width: 640px) {
  .charity-head__cover { aspect-ratio: 2 / 1; }
  .charity-head__logo { left: 20px; padding: 12px 16px; }
  .charity-head__logo img { max-height: 56px; }
}

/* Past-event detail page */

.container--article { max-width: 860px; }

.event-detail { padding: 56px 0 88px; }

.event-detail__back { display: inline-flex; margin-bottom: 28px; }

.event-detail__cover {
  width: 100%;
  height: auto;          /* scale by width only — never upscale a short/low-res cover */
  max-height: 480px;     /* tall, high-res photos crop to this; short banners show in full */
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 12px 36px rgba(22, 34, 91, 0.14);
  margin-bottom: 36px;
}

.event-detail__body p {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}

.event-detail__body strong { color: var(--navy-2); }

.event-detail__body h2,
.event-detail__body h3 {
  margin: 32px 0 14px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--navy-2);
  line-height: 1.15;
}

.event-detail__body h2 { font-size: 24px; }
.event-detail__body h3 { font-size: 19px; }

.event-detail__body ul,
.event-detail__body ol {
  margin: 0 0 18px;
  padding-left: 22px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}

.event-detail__body img { border-radius: 12px; }

.event-detail__gallery-title {
  margin: 44px 0 20px;
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
}

/* Masonry gallery: photos keep their natural aspect ratio, no cropping */
.event-gallery {
  columns: 3;
  column-gap: 12px;
}

.event-gallery__thumb {
  display: block;
  width: 100%;
  margin-bottom: 12px;
  border: none;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: var(--hairline);
  break-inside: avoid;
}

.event-gallery__thumb img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 140ms ease-out;
}

.event-gallery__thumb:hover img { transform: scale(1.03); }

@media (max-width: 640px) {
  .event-gallery { columns: 2; }
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(15, 24, 66, 0.94);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox[hidden] { display: none; }

.lightbox__img {
  max-width: min(90vw, 1100px);
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.lightbox__caption {
  position: absolute;
  bottom: 28px;
  left: 0;
  right: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  background: rgba(15, 24, 66, 0.6);
  color: rgba(255, 255, 255, 0.85);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }

@media (max-width: 640px) {
  .lightbox__prev { left: 8px; }
  .lightbox__next { right: 8px; }
  .lightbox__close { right: 8px; }
  .lightbox__img { max-width: 96vw; }
}

.subpage-title {
  font-size: 34px;
  font-weight: 900;
  text-transform: uppercase;
}

/* ==========================================================================
   Charity
   ========================================================================== */

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.mission-grid h2 {
  margin-bottom: 20px;
  font-size: 34px;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.08;
}

.mission-grid p {
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}

.mission-grid p:last-of-type { margin-bottom: 28px; }

.mission-grid .brand-quote footer { color: #8A90A8; }

.donations-head {
  text-align: center;
  margin-bottom: 48px;
}

.donations-head .eyebrow { margin-bottom: 12px; }

.donations-head h2 {
  font-size: 36px;
  font-weight: 900;
  text-transform: uppercase;
  color: #FFFFFF;
}

.donations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}

.donations-grid .donation-card { gap: 10px; }
.donations-grid .donation-card__amount { font-size: 28px; }
.donations-grid .donation-card__charity a { font-size: 14px; }

/* Donations list (charity page) — dated rows, no logos */
.donations-list { display: flex; flex-direction: column; }

.donation-row {
  display: grid;
  grid-template-columns: 160px 130px minmax(0, 1fr);
  gap: 24px;
  align-items: baseline;
  padding: 20px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.donation-row:first-child { border-top: 1px solid rgba(255, 255, 255, 0.12); }

.donation-row__date {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.donation-row__amount {
  font-size: 22px;
  font-weight: 900;
  color: var(--lime);
}

.donation-row__body { display: flex; flex-direction: column; gap: 4px; }

.donation-row__name {
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.3;
}

@media (max-width: 640px) {
  .donation-row { grid-template-columns: 1fr; gap: 6px; }
}

.partners-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.partners-grid h2 {
  margin-bottom: 16px;
  font-size: 30px;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.1;
}

.partners-grid > div > p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

.partners-list { display: flex; flex-direction: column; gap: 16px; }

.partner-card {
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.partner-card strong {
  font-size: 17px;
  font-weight: 800;
  text-transform: uppercase;
}

.partner-card span { font-size: 14px; line-height: 1.6; color: var(--muted); }

/* ==========================================================================
   Donate page
   ========================================================================== */

.donate-main {
  padding: 64px 0 88px;
}

.donate-main__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.donate-left { display: flex; flex-direction: column; gap: 32px; }

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--navy-2);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(22, 34, 91, 0.18);
}

.donate-points { display: flex; flex-direction: column; gap: 20px; }

.donate-points h2 {
  font-size: 28px;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.1;
}

.donate-point { display: flex; gap: 14px; align-items: flex-start; }

.donate-point::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  margin-top: 7px;
  background: var(--lime);
  border-radius: 50%;
}

.donate-point p { font-size: 15px; line-height: 1.65; color: var(--muted); }
.donate-point strong { color: var(--navy-2); }

.donate-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 16px 48px rgba(22, 34, 91, 0.12);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.donate-card__title {
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.donate-card__sub { font-size: 14px; line-height: 1.6; color: var(--muted); }

.amount-group { display: flex; flex-direction: column; gap: 10px; }

.amount-chips {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.amount-chip {
  height: 48px;
  border-radius: 10px;
  border: 1px solid var(--input-border);
  background: #FFFFFF;
  color: var(--navy-2);
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
}

.amount-chip:hover {
  border-color: var(--navy-2);
  box-shadow: 0 4px 12px rgba(22, 34, 91, 0.12);
}

.amount-chip.is-active {
  border: 2px solid var(--navy-2);
  background: var(--navy-2);
  color: var(--lime);
}

.amount-custom {
  height: 48px;
  border: 1px solid var(--input-border);
  border-radius: 10px;
  padding: 0 16px;
  font-size: 15px;
  font-family: 'Archivo', sans-serif;
  color: var(--navy-2);
  background: #FFFFFF;
}

.donate-optin {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
  background: var(--off-white);
  border-radius: 12px;
  padding: 16px;
  transition: background 140ms ease-out;
}
.donate-optin:hover { background: #EFF1E6; }

.donate-optin input {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--navy-2);
  cursor: pointer;
  flex: none;
}

.donate-optin__text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--navy-2);
  font-weight: 500;
}

.donate-optin__fine {
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
}

.donate-pay {
  height: 56px;
  background: var(--lime);
  color: var(--navy-2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.05em;
  transition: var(--transition);
}
.donate-pay:hover {
  background: var(--lime-hover);
  color: var(--navy-2);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(201, 230, 58, 0.4);
}

.donate-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  color: #8A90A8;
}

/* ==========================================================================
   Contact page
   ========================================================================== */

.contact-main { padding: 64px 0 88px; }

.contact-main__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: stretch;
}

/* Let the form card match the left column's height; the message box fills the slack */
.contact-main__grid .form-card { height: 100%; }
.field--grow { flex: 1 1 auto; display: flex; flex-direction: column; }
.field--grow textarea { flex: 1 1 auto; min-height: 200px; }

.contact-left { display: flex; flex-direction: column; gap: 20px; justify-content: space-between; }

.contact-card {
  background: var(--navy-2);
  border-radius: 20px;
  padding: 32px;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.contact-card .slash {
  top: -40px;
  right: -30px;
  width: 110px;
  height: 260px;
  opacity: 0.12;
}

.contact-card h2 {
  margin-bottom: 24px;
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
  position: relative;
}

.contact-card__rows {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #FFFFFF;
}
a.contact-row:hover { color: var(--lime); }

.contact-row__icon {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  background: rgba(201, 230, 58, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lime);
}

.contact-row span:last-child {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

.contact-card .social-row { margin-top: 28px; position: relative; }

.whatsapp-note {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.3);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  transition: border-color 140ms ease-out, background 140ms ease-out;
}
.whatsapp-note:hover { border-color: rgba(37, 211, 102, 0.6); background: rgba(37, 211, 102, 0.15); color: #FFFFFF; }

/* Speech-bubble pointer aimed up at the WhatsApp icon (4th icon in the social row) */
.whatsapp-note::before,
.whatsapp-note::after {
  content: "";
  position: absolute;
  left: 176px;
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
}
.whatsapp-note::before {
  top: -9px;
  border-bottom: 9px solid rgba(37, 211, 102, 0.3);
  transform: translateX(-9px);
}
.whatsapp-note::after {
  top: -7px;
  border-left-width: 8px;
  border-right-width: 8px;
  border-bottom: 8px solid rgba(37, 211, 102, 0.1);
  transform: translateX(-8px);
}
.whatsapp-note:hover::before { border-bottom-color: rgba(37, 211, 102, 0.6); }
.whatsapp-note:hover::after { border-bottom-color: rgba(37, 211, 102, 0.15); }

.contact-person {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(22, 34, 91, 0.06);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-person__tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--olive);
  text-transform: uppercase;
}

.contact-person strong { font-size: 17px; font-weight: 800; }
.contact-person span:last-child { font-size: 14px; color: var(--muted); }

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-submit {
  height: 56px;
  background: var(--lime);
  color: var(--navy-2);
  border: none;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: var(--transition);
}
.contact-submit:hover {
  background: var(--lime-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(201, 230, 58, 0.4);
}

/* ==========================================================================
   Staff photo uploader
   ========================================================================== */

.upload-unlock {
  display: flex;
  gap: 10px;
}

.upload-unlock input { flex: 1; }
.upload-unlock .btn { padding: 0 22px; }

.upload-drop {
  border: 2px dashed var(--input-border);
  border-radius: 12px;
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  color: var(--muted);
  cursor: pointer;
  transition: var(--transition);
}

.upload-drop:hover,
.upload-drop.is-over {
  border-color: var(--lime);
  background: rgba(201, 230, 58, 0.08);
}

.upload-drop strong { color: var(--navy-2); font-size: 15px; }
.upload-drop span { font-size: 13px; }

.upload-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid var(--hairline);
  border-radius: 10px;
}

.upload-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 14px;
  font-size: 13px;
  border-bottom: 1px solid var(--hairline);
}

.upload-list li:last-child { border-bottom: none; }

.upload-list__name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--navy-2);
}

.upload-list__status { color: var(--muted); flex: none; }
.upload-list__status--done { color: var(--olive); font-weight: 700; }

/* ==========================================================================
   About section (contact page)
   ========================================================================== */

.about-section {
  background: #FFFFFF;
  padding: 80px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.about-grid .eyebrow { margin-bottom: 12px; }

.about-grid h2 {
  margin-bottom: 20px;
  font-size: 34px;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.08;
}

.about-grid h3 {
  margin: 28px 0 10px;
  font-size: 19px;
  font-weight: 800;
  text-transform: uppercase;
}

.about-grid p {
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}

.about-grid__closer {
  font-weight: 700;
  color: var(--navy-2);
}

.about-quote {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  border-radius: 20px;
  padding: 44px 40px;
  color: #FFFFFF;
}

.about-quote .slash {
  top: -50px;
  right: -30px;
  width: 120px;
  height: 300px;
  opacity: 0.12;
}

.about-quote__mark {
  display: block;
  font-size: 88px;
  font-weight: 900;
  line-height: 0.6;
  color: var(--lime);
  margin-bottom: 18px;
}

.about-quote p {
  position: relative;
  margin: 0 0 24px;
  font-size: 22px;
  line-height: 1.5;
  font-weight: 500;
  font-style: italic;
}

.about-quote footer {
  position: relative;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--lime);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1020px) {
  .events-grid { grid-template-columns: 1fr 1fr; }
  .event-card--featured { grid-column: 1 / -1; }
  .past-grid { grid-template-columns: 1fr 1fr; }
  .donations-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 940px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 64px;
    padding-bottom: 56px;
  }

  .hero__media { margin: 20px 30px 40px 20px; }

  .impact-grid,
  .mission-grid,
  .partners-grid,
  .donate-main__grid,
  .contact-main__grid,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .mission-grid .photo-frame { margin: 0 18px 18px 0; }

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

  .section { padding: 64px 0; }

  .site-footer__grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 640px) {
  .events-grid,
  .past-grid,
  .donations-grid,
  .impact-cards { grid-template-columns: 1fr; }

  .hero__stats-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: left;
    padding-left: 24px;
  }

  .hero__stats-ball { display: none; }

  .section-title { font-size: 32px; }

  .donate-band h2 { font-size: 30px; }

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

  .form-card, .donate-card { padding: 28px 24px; }

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