/* Tu Sei Troppo Forte X Me APS — tema chiaro (mockup proprietario) */

:root {
  --ink: #1f2937;
  --muted: #5b6470;
  --paper: #ffffff;
  --paper-soft: #f7fafc;
  --paper-warm: #fff8f0;
  --paper-blue: #eef6fb;
  --line: rgba(31, 41, 55, 0.1);

  --pink: #e91e63;
  --pink-deep: #c2185b;
  --orange: #ff8f00;
  --orange-deep: #ef6c00;
  --green: #43a047;
  --green-deep: #2e7d32;
  --blue: #0288d1;
  --blue-deep: #01579b;
  --teal: #00acc1;
  --violet: #7e57c2;
  --red: #e53935;

  --font-display: "Fredoka", "Nunito", sans-serif;
  --font-script: "Caveat", cursive;
  --font-body: "Nunito", "Segoe UI", sans-serif;

  --max: 1120px;
  --header-h: 4.5rem;
  --radius: 1.1rem;
  --radius-sm: 0.75rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

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

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 18px rgba(2, 136, 209, 0.06);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  flex-shrink: 0;
}

.brand img {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
  object-position: center;
  background: #fff;
  border-radius: 50%;
  border: 1px solid var(--line);
  box-shadow: 0 2px 8px rgba(2, 136, 209, 0.1);
  padding: 0.15rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--blue-deep);
}

.brand-tag {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 700;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 0.65rem;
  cursor: pointer;
  place-items: center;
  gap: 0.28rem;
  flex-direction: column;
}

.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.site-header.is-open .nav-toggle span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
.site-header.is-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}
.site-header.is-open .nav-toggle span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.1rem 0.85rem;
}

.nav a {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.35rem 0;
  transition: color 0.2s;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--blue);
}

.nav a.nav-donate {
  background: var(--pink);
  color: #fff !important;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(233, 30, 99, 0.28);
}

.nav a.nav-donate:hover {
  background: var(--pink-deep);
}

.nav-social {
  display: flex;
  gap: 0.45rem;
  margin-left: 0.35rem;
}

.nav-social a {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 0.65rem;
  border: 1px solid transparent;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0;
  padding: 0;
  background: linear-gradient(135deg, #f58529 0%, #dd2a7b 50%, #8134af 100%);
  box-shadow: 0 4px 12px rgba(221, 42, 123, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.nav-social a:hover {
  transform: translateY(-1px) scale(1.04);
  box-shadow: 0 6px 16px rgba(221, 42, 123, 0.38);
  filter: brightness(1.05);
  color: #fff;
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
  background: #7ec8e8;
}

.hero-visual {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 50% at 78% 35%, rgba(255, 255, 255, 0.35), transparent 60%),
    radial-gradient(ellipse 45% 40% at 18% 75%, rgba(67, 160, 71, 0.28), transparent 55%),
    linear-gradient(135deg, #4fc3f7 0%, #81d4fa 35%, #ffcc80 78%, #f48fb1 100%);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 12% 22%, rgba(255, 255, 255, 0.45) 0 8px, transparent 9px),
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.35) 0 6px, transparent 7px),
    radial-gradient(circle at 70% 72%, rgba(255, 255, 255, 0.3) 0 10px, transparent 11px);
  opacity: 0.9;
}

.hero-logo-mark {
  position: absolute;
  right: clamp(4%, 7vw, 10%);
  top: 48%;
  transform: translateY(-50%);
  width: min(38vw, 320px);
  height: min(38vw, 320px);
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  background: #fff;
  border-radius: 1.5rem;
  padding: 1rem;
  box-shadow: 0 24px 50px rgba(1, 87, 155, 0.22);
  animation: float-in 1.1s var(--ease) both;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: clamp(2.5rem, 8vh, 5rem) 0 clamp(3rem, 9vh, 5.5rem);
  max-width: 38rem;
}

.hero-kicker {
  font-family: var(--font-script);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 0.55rem;
  animation: rise 0.8s var(--ease) 0.1s both;
}

.hero h1 {
  font-family: var(--font-script);
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  line-height: 1.02;
  font-weight: 700;
  margin-bottom: 0.85rem;
  text-shadow: 0 4px 18px rgba(1, 87, 155, 0.25);
  animation: rise 0.85s var(--ease) 0.2s both;
}

.hero h1 em {
  font-style: normal;
  color: #fff59d;
}

.hero-lead {
  font-size: clamp(1.05rem, 2.2vw, 1.18rem);
  color: rgba(255, 255, 255, 0.95);
  max-width: 30rem;
  margin-bottom: 1.6rem;
  font-weight: 700;
  animation: rise 0.85s var(--ease) 0.32s both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 0.85s var(--ease) 0.42s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border: 2px solid transparent;
  transition: transform 0.2s var(--ease), background 0.2s, box-shadow 0.2s;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-heart,
.btn-pink {
  background: var(--pink);
  color: #fff;
}
.btn-heart:hover,
.btn-pink:hover {
  background: var(--pink-deep);
}

.btn-orange {
  background: var(--orange);
  color: #fff;
}
.btn-orange:hover {
  background: var(--orange-deep);
}

.btn-teal,
.btn-green {
  background: var(--green);
  color: #fff;
}
.btn-teal:hover,
.btn-green:hover {
  background: var(--green-deep);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.75);
  color: #fff;
  backdrop-filter: blur(4px);
}
.btn-outline:hover {
  background: #fff;
  color: var(--blue-deep);
}

.btn-outline-dark {
  background: #fff;
  border-color: var(--blue);
  color: var(--blue-deep);
  box-shadow: none;
}
.btn-outline-dark:hover {
  background: var(--blue);
  color: #fff;
}

/* —— Sections —— */
.section {
  padding: clamp(3.25rem, 7vw, 5rem) 0;
}

.section-dark {
  background: linear-gradient(160deg, #0277bd, #0288d1 55%, #26c6da);
  color: #fff;
}

.section-warm {
  background: var(--paper-soft);
}

.section-head {
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
  max-width: 38rem;
}

.section-head h2 {
  font-family: var(--font-script);
  font-size: clamp(2.1rem, 4.8vw, 3.1rem);
  line-height: 1.1;
  color: var(--blue-deep);
  margin-bottom: 0.45rem;
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-dark .section-head h2 {
  color: #fff;
}

.section-dark .section-head p {
  color: rgba(255, 255, 255, 0.88);
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 0.45rem;
}

/* —— Values —— */
.values {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.value {
  text-align: center;
  padding: 1.35rem 0.85rem;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(2, 136, 209, 0.06);
}

.value-icon {
  width: 3.4rem;
  height: 3.4rem;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
}

.value:nth-child(1) .value-icon { background: var(--pink); }
.value:nth-child(2) .value-icon { background: var(--blue); }
.value:nth-child(3) .value-icon { background: var(--orange); }
.value:nth-child(4) .value-icon { background: var(--teal); }
.value:nth-child(5) .value-icon { background: var(--violet); }

.value h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
  color: var(--ink);
}

.value p {
  font-size: 0.88rem;
  color: var(--muted);
}

/* —— Activity grid —— */
.activity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.activity {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 15.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.35rem;
  color: #fff;
  isolation: isolate;
  box-shadow: 0 12px 28px rgba(31, 41, 55, 0.12);
}

.activity::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--act-bg, #0288d1);
}

.activity::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.08) 55%, transparent 100%);
}

.activity[data-tone="heart"] { --act-bg: linear-gradient(145deg, #ad1457, #e91e63 55%, #f48fb1); }
.activity[data-tone="teal"] { --act-bg: linear-gradient(145deg, #00695c, #26a69a 55%, #80cbc4); }
.activity[data-tone="orange"] { --act-bg: linear-gradient(145deg, #ef6c00, #ffb300 55%, #ffe082); }
.activity[data-tone="blue"] { --act-bg: linear-gradient(145deg, #0277bd, #29b6f6 55%, #81d4fa); }
.activity[data-tone="green"] { --act-bg: linear-gradient(145deg, #2e7d32, #66bb6a 55%, #a5d6a7); }
.activity[data-tone="pink"] { --act-bg: linear-gradient(145deg, #6a1b9a, #ab47bc 55%, #ce93d8); }

.activity-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: 0.3rem;
}

.activity h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.15;
  margin-bottom: 0.35rem;
}

.activity p {
  font-size: 0.92rem;
  opacity: 0.95;
  max-width: 18rem;
}

/* —— Split / events —— */
.split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.25rem;
  align-items: start;
}

.event-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.35rem 1.15rem;
  box-shadow: 0 10px 28px rgba(2, 136, 209, 0.07);
}

.event-item {
  display: grid;
  grid-template-columns: 4.75rem 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.event-item:last-child {
  border-bottom: 0;
}

.section-dark .event-item {
  border-color: rgba(255, 255, 255, 0.18);
}

.event-date {
  font-family: var(--font-display);
  font-size: 0.88rem;
  color: #fff;
  line-height: 1.2;
  background: var(--green);
  border-radius: 0.75rem;
  padding: 0.55rem 0.4rem;
  text-align: center;
}

.event-item:nth-child(2) .event-date { background: var(--orange); }
.event-item:nth-child(3) .event-date { background: var(--blue); }
.event-item:nth-child(4) .event-date { background: var(--pink); }

.event-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
  color: var(--ink);
}

.event-item p {
  font-size: 0.9rem;
  color: var(--muted);
}

.section-dark .event-item h3 {
  color: #fff;
}

.section-dark .event-item p {
  color: rgba(255, 255, 255, 0.8);
}

/* —— 5x1000 band —— */
.band-5x {
  background: linear-gradient(120deg, #0288d1, #26c6da 50%, #66bb6a);
  color: #fff;
  padding: clamp(3rem, 6vw, 4.25rem) 0;
}

.band-5x-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.band-5x h2 {
  font-family: var(--font-script);
  font-size: clamp(2rem, 4.2vw, 2.9rem);
  line-height: 1.1;
  margin-bottom: 0.65rem;
}

.band-5x p {
  color: rgba(255, 255, 255, 0.92);
  max-width: 34rem;
  font-weight: 600;
}

.cf-box {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  text-align: center;
  min-width: 14rem;
  backdrop-filter: blur(6px);
}

.cf-box span {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.35rem;
}

.cf-box strong {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  color: #fff;
}

/* —— Page hero (inner) —— */
.page-hero {
  background:
    radial-gradient(ellipse 50% 80% at 90% 20%, rgba(255, 204, 128, 0.55), transparent 55%),
    linear-gradient(135deg, #4fc3f7, #81d4fa 45%, #ce93d8);
  color: #fff;
  padding: clamp(3rem, 8vw, 4.5rem) 0;
  position: relative;
  overflow: hidden;
}

.page-hero .container {
  position: relative;
}

.page-hero h1 {
  font-family: var(--font-script);
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  line-height: 1.05;
  margin-bottom: 0.65rem;
}

.page-hero p {
  max-width: 38rem;
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.1rem;
  font-weight: 600;
}

.page-hero .eyebrow {
  color: #fff59d;
}

/* —— Prose / team —— */
.prose {
  max-width: 42rem;
}

.prose p + p {
  margin-top: 1rem;
}

.prose a {
  color: var(--pink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-doc {
  max-width: 46rem;
}

.legal-doc h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
}

.legal-doc ul {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
}

.legal-doc li + li {
  margin-top: 0.45rem;
}

.legal-doc code {
  font-size: 0.9em;
  background: rgba(2, 136, 209, 0.08);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

.legal-updated {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem !important;
}

.legal-disclaimer {
  margin-top: 2rem !important;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  margin-top: 2rem;
}

.team-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 8px 22px rgba(2, 136, 209, 0.06);
}

.team-card .role {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 0.35rem;
}

.team-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--blue-deep);
}

/* —— Forms —— */
.form {
  display: grid;
  gap: 1rem;
  max-width: 32rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: 0 10px 28px rgba(2, 136, 209, 0.07);
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 700;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper-soft);
  color: var(--ink);
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: 2px solid var(--pink);
  outline-offset: 1px;
  background: #fff;
}

.form textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
}

.form-success {
  display: none;
  padding: 1rem;
  background: rgba(67, 160, 71, 0.12);
  border: 1px solid rgba(67, 160, 71, 0.35);
  border-radius: var(--radius-sm);
  color: #1b5e20;
  font-weight: 700;
}

.form.is-sent .form-success {
  display: block;
}

.form.is-sent .form-fields {
  display: none;
}

/* —— Donate —— */
.donate-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}

.donate-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 8px 22px rgba(2, 136, 209, 0.06);
}

.donate-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--blue-deep);
  margin-bottom: 0.5rem;
}

.donate-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.donate-card code {
  display: block;
  font-family: ui-monospace, monospace;
  font-size: 0.85rem;
  background: var(--paper-blue);
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  word-break: break-all;
  color: var(--blue-deep);
  font-weight: 700;
}

/* —— Gallery —— */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

.gallery-item {
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 24px rgba(31, 41, 55, 0.12);
}

.gallery-item span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: end start;
  padding: 1rem;
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.45), transparent 50%);
}

.gallery-item:nth-child(1) { background: linear-gradient(135deg, #ad1457, #f48fb1); }
.gallery-item:nth-child(2) { background: linear-gradient(135deg, #00695c, #4db6ac); }
.gallery-item:nth-child(3) { background: linear-gradient(135deg, #0277bd, #4fc3f7); }
.gallery-item:nth-child(4) { background: linear-gradient(135deg, #ef6c00, #ffb74d); }
.gallery-item:nth-child(5) { background: linear-gradient(135deg, #6a1b9a, #ce93d8); }
.gallery-item:nth-child(6) { background: linear-gradient(135deg, #2e7d32, #81c784); }

/* —— Contact —— */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.25rem;
}

.contact-info dt {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pink);
  margin-top: 1.25rem;
}

.contact-info dt:first-child {
  margin-top: 0;
}

.contact-info dd {
  margin-top: 0.25rem;
  font-size: 1.05rem;
}

.map-embed {
  margin-top: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 9;
  background: var(--paper-blue);
  box-shadow: 0 8px 22px rgba(2, 136, 209, 0.08);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* —— Footer —— */
.site-footer {
  background: linear-gradient(180deg, #e3f2fd, #bbdefb);
  color: var(--ink);
  padding: 3rem 0 2rem;
  border-top: 1px solid rgba(2, 136, 209, 0.12);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.25rem;
}

.footer-brand {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.footer-brand img {
  width: 3.6rem;
  height: 3.6rem;
  object-fit: contain;
  object-position: center;
  background: #fff;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1px solid var(--line);
  padding: 0.2rem;
}

.footer-brand strong {
  display: block;
  color: var(--blue-deep);
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--muted);
}

.footer-col h3 {
  color: var(--blue-deep);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.footer-col a {
  display: block;
  padding: 0.25rem 0;
  font-size: 0.95rem;
  color: var(--muted);
  transition: color 0.2s;
}

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

.footer-col a[href="privacy.html"] {
  color: var(--pink);
  font-weight: 700;
  margin-top: 0.35rem;
}

.footer-bottom {
  border-top: 1px solid rgba(2, 136, 209, 0.15);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--muted);
}

.footer-bottom a {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--pink);
  font-weight: 700;
}

/* —— Quote strip —— */
.quote-strip {
  text-align: center;
  padding: 2.75rem 1rem;
  background: var(--paper-blue);
}

.quote-strip blockquote {
  font-family: var(--font-script);
  font-size: clamp(1.55rem, 3.4vw, 2.2rem);
  line-height: 1.25;
  max-width: 42rem;
  margin: 0 auto;
  color: var(--blue-deep);
}

/* —— Motion —— */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(-42%) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero h1,
  .hero-lead,
  .hero-kicker,
  .cta-row,
  .hero-logo-mark,
  .reveal {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* —— Responsive —— */
@media (max-width: 960px) {
  .values {
    grid-template-columns: repeat(3, 1fr);
  }
  .activity-grid,
  .gallery-grid,
  .donate-grid,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .split,
  .band-5x-inner,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-logo-mark {
    width: min(42vw, 240px);
    height: min(42vw, 240px);
    right: 4%;
    top: 26%;
    transform: none;
    animation: rise 1s var(--ease) both;
  }
}

@media (max-width: 780px) {
  .nav-toggle {
    display: grid;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.5rem;
    gap: 0;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 28px rgba(2, 136, 209, 0.12);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.25s;
  }

  .site-header.is-open .nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.92rem;
  }

  .nav a.nav-donate {
    margin-top: 0.75rem;
    text-align: center;
    border-bottom: none;
  }

  .nav-social {
    margin: 1rem 0 0;
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .values,
  .activity-grid,
  .gallery-grid,
  .donate-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 1.5rem;
  }

  .hero-logo-mark {
    position: relative;
    right: auto;
    top: auto;
    width: 10.5rem;
    height: 10.5rem;
    margin: 0 auto 1.25rem;
    display: block;
  }

  .hero {
    align-items: start;
  }

  .hero .container {
    display: flex;
    flex-direction: column;
  }

  .cta-row {
    flex-direction: column;
  }

  .cta-row .btn {
    width: 100%;
  }
}
