/* ============================================
   FunnyBlood — shared stylesheet
   Look: modern & polished (Canva/Wix style).
   Clean type, soft diffuse shadows, gradient
   accents, generous whitespace, floating cards.
   ============================================ */

:root {
  --red: #e23d4e;
  --red-dark: #b92b3b;
  --red-soft: #ffe3e3;
  --cream: #fff8f3;
  --peach: #ffeee4;
  --ink: #3a2430;
  --ink-soft: #6d5560;
  --teal: #1d8a8a;
  --teal-soft: #dff3f1;
  --yellow: #ffc94d;
  --white: #ffffff;
  --radius: 20px;
  --grad: linear-gradient(135deg, #f0566a 0%, #e23d4e 55%, #c92f41 100%);
  --shadow-sm: 0 4px 16px rgba(58, 36, 48, 0.07);
  --shadow-md: 0 10px 34px rgba(58, 36, 48, 0.10);
  --shadow-red: 0 10px 26px rgba(226, 61, 78, 0.32);
  --font-head: "Poppins", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "DM Sans", "Avenir", "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 1.05rem;
}

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
}

h1 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.45rem, 2.8vw, 1.9rem); margin-bottom: 0.8rem; letter-spacing: -0.01em; }
h3 { font-size: 1.22rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }

a { color: var(--red-dark); }

/* gradient highlight, very "template hero" */
.accent {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.kicker {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
}

/* small human aside — plain and understated */
.scribble { font-style: italic; }

/* ---------- Header / nav ---------- */

.site-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 0 rgba(58, 36, 48, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink);
}

.brand em {
  font-style: normal;
  color: var(--red);
}

.brand svg { width: 34px; height: 34px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: var(--red-dark);
  cursor: pointer;
  line-height: 1;
}

.nav-links {
  display: flex;
  gap: 0.15rem;
  list-style: none;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  transition: background 0.15s, color 0.15s;
}

.nav-links a:hover { background: var(--red-soft); color: var(--red-dark); }

.nav-links a.active { background: var(--red); color: var(--white); font-weight: 600; }

.nav-links a.nav-cta {
  background: var(--grad);
  color: var(--white);
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(226, 61, 78, 0.30);
  margin-left: 0.3rem;
}

.nav-links a.nav-cta:hover, .nav-links a.nav-cta.active {
  background: var(--red-dark);
  color: var(--white);
}

/* secondary header CTA: teal outline so it reads differently from Walk 2026 */
.nav-links a.nav-cta-alt {
  border: 2px solid var(--teal);
  color: var(--teal);
  font-weight: 600;
  margin-left: 0.15rem;
}

.nav-links a.nav-cta-alt:hover, .nav-links a.nav-cta-alt.active {
  background: var(--teal);
  color: var(--white);
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 0.8rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; text-align: center; }
}

/* ---------- Announcement banner ---------- */

.banner {
  display: block;
  background: var(--grad);
  color: var(--white);
  text-align: center;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.7rem 1.4rem;
  text-decoration: none;
}

.banner:hover { filter: brightness(1.06); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 3.5rem 0 3rem;
  overflow: hidden;
  background:
    radial-gradient(600px 420px at 88% 8%, var(--peach) 0%, transparent 70%),
    radial-gradient(480px 380px at -6% 100%, var(--teal-soft) 0%, transparent 70%),
    var(--cream);
}

.hero .container {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-tag {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 34rem;
  margin-top: 1.2rem;
}

.hero-art { text-align: center; position: relative; }

.hero-art svg {
  width: min(230px, 55vw);
  margin: 0 auto;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 18px 30px rgba(226, 61, 78, 0.28));
}

/* soft circle behind the mascot */
.hero-art::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 320px;
  height: 320px;
  max-width: 80vw;
  transform: translate(-50%, -54%);
  border-radius: 50%;
  background: radial-gradient(circle, var(--white) 0%, var(--peach) 100%);
  box-shadow: var(--shadow-md);
}

/* Clotty's speech bubble */
.speech-bubble {
  position: absolute;
  top: -30px;
  left: 50%;
  margin-left: 52px;
  z-index: 2;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  white-space: nowrap;
  padding: 0.55rem 1.1rem;
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  transform: rotate(4deg);
  animation: bubble-pop 0.5s ease 0.4s backwards;
}

/* the little tail pointing at Clotty */
.speech-bubble::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 20px;
  width: 15px;
  height: 15px;
  background: var(--white);
  transform: rotate(45deg);
  border-radius: 0 0 4px 0;
}

@keyframes bubble-pop {
  from { opacity: 0; transform: rotate(4deg) scale(0.6) translateY(8px); }
  to   { opacity: 1; transform: rotate(4deg) scale(1) translateY(0); }
}

@media (max-width: 820px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-art { order: -1; padding-top: 1.4rem; }
  .hero-art svg { width: 150px; }
  .hero-art::before { width: 220px; height: 220px; }
  .speech-bubble { font-size: 0.88rem; margin-left: 24px; top: -6px; }
}

/* Simple page hero for inner pages */
.page-hero {
  padding: 2.6rem 0 1.6rem;
  background:
    radial-gradient(560px 380px at 92% 0%, var(--peach) 0%, transparent 70%),
    var(--cream);
}

.page-hero p { color: var(--ink-soft); max-width: 44rem; font-size: 1.05rem; margin-bottom: 0; }

/* Tighten the gap between a page hero and the section that follows it */
.page-hero + section { padding-top: 1.5rem; }


/* About-page intro: narrative text left, overlapping photo collage right */
.about-intro {
  padding: 3rem 0 1rem;
  background:
    radial-gradient(560px 380px at 92% 0%, var(--peach) 0%, transparent 70%),
    var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: start;
}

.about-sub {
  color: var(--ink-soft);
  font-size: 1.1rem;
  margin: 0.4rem 0 1.8rem;
}

.about-grid h2 { margin-top: 1rem; }

.img-collage {
  position: relative;
  min-height: 660px;
  margin-top: 2.5rem;
}

.img-collage img {
  border-radius: 8px;
  box-shadow: 3px 3px 16px rgba(48, 48, 55, 0.2);
}

.collage-img1 {
  position: absolute;
  top: 0;
  right: 0;
  width: 82%;
  z-index: 1;
}

.collage-img2 {
  position: absolute;
  top: 24%;
  left: 0;
  width: 58%;
  z-index: 2;
}

.story-body { padding-top: 1.5rem; }

/* keep the story text flush with the intro column above, not centered */
.story-body .prose { margin-left: 0; }

@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .img-collage {
    position: static;
    min-height: 0;
    margin-top: 0.5rem;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 1rem;
  }
  .img-collage img {
    position: static;
    width: 100%;
    height: 230px;
    object-fit: cover;
  }
  .img-collage .collage-img2 { object-position: 50% 28%; }
}

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

.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  padding: 0.8rem 1.8rem;
  border-radius: 999px;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn-primary {
  background: var(--grad);
  color: var(--white);
  box-shadow: var(--shadow-red);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(226, 61, 78, 0.42); }

.btn-secondary {
  background: var(--white);
  color: var(--ink);
  border: 1.5px solid rgba(58, 36, 48, 0.14);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--red); color: var(--red-dark); }

.btn-row { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-top: 1.8rem; }

/* ---------- Sections ---------- */

section { padding: 4.5rem 0; }

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

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

.section-red h2, .section-red h3 { color: var(--white); }
.section-red a { color: var(--yellow); }

.section-head { text-align: center; max-width: 42rem; margin: 0 auto 2.8rem; }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }
.section-red .section-head p { color: var(--red-soft); }

/* ---------- Cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.8rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.1rem 1.9rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s, box-shadow 0.18s;
}

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

/* small accent bar above each card title */
.card h3::before {
  content: "";
  display: block;
  width: 44px;
  height: 6px;
  border-radius: 3px;
  background: var(--red);
  margin-bottom: 1.1rem;
}

.card.card-teal h3::before { background: var(--teal); }
.card.card-yellow h3::before { background: var(--yellow); }

.card p { color: var(--ink-soft); margin-bottom: 0.7rem; }

.card a { font-weight: 600; text-decoration: none; }
.card a:hover { text-decoration: underline; }

.section-alt .card { background: var(--cream); box-shadow: none; border: 1px solid rgba(58, 36, 48, 0.06); }
.section-alt .card:hover { box-shadow: var(--shadow-md); border-color: transparent; }

/* ---------- Stats strip ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.6rem;
  text-align: center;
}

.stat {
  background: rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 1.8rem 1.3rem;
}

.stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--yellow);
  margin-bottom: 0.3rem;
}

.stat span { color: var(--red-soft); font-size: 0.97rem; }

/* ---------- Fundraising progress ---------- */

.progress-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  margin: 2rem 0;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-head);
  font-weight: 600;
  margin-bottom: 0.7rem;
}

.progress-meta .raised { color: var(--red); font-size: 1.3rem; }
.progress-meta .goal { color: var(--ink-soft); align-self: flex-end; }

.progress-track {
  background: var(--red-soft);
  border-radius: 999px;
  height: 22px;
  overflow: hidden;
}

.progress-fill {
  background: var(--grad);
  height: 100%;
  border-radius: 999px;
  min-width: 22px;
}

/* ---------- Checklist ---------- */

.checklist {
  list-style: none;
  margin: 1rem 0 1.5rem;
}

.checklist li {
  padding: 0.75rem 1.1rem 0.75rem 2.7rem;
  position: relative;
  background: var(--white);
  border-radius: 14px;
  margin-bottom: 0.65rem;
  box-shadow: var(--shadow-sm);
}

.checklist li::before {
  content: "🩸";
  position: absolute;
  left: 0.95rem;
  top: 0.75rem;
}

/* ---------- Prose blocks (story, learn) ---------- */

.prose { max-width: 46rem; margin: 0 auto; }

.prose h2 { margin-top: 2.6rem; }
.prose h2:first-child { margin-top: 0; }

.prose blockquote {
  font-size: 1.18rem;
  font-style: italic;
  line-height: 1.6;
  background: var(--white);
  border-left: 4px solid var(--red);
  padding: 1.3rem 1.6rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow-sm);
  margin: 1.8rem 0;
  color: var(--ink);
}

.prose ul, .prose ol { margin: 0 0 1rem 1.4rem; }
.prose li { margin-bottom: 0.45rem; }

/* ---------- Callout ---------- */

.callout {
  background: var(--teal-soft);
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.4rem 1.7rem;
  margin: 2rem 0;
}

.callout.callout-red {
  background: var(--red-soft);
  border-left-color: var(--red);
}

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

/* ---------- Blog cards ---------- */

.post-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
  transition: transform 0.18s, box-shadow 0.18s;
}

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

.post-card .date {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
  background: var(--teal-soft);
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.6rem;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: #e9d9de;
  padding: 3.5rem 0 2rem;
  margin-top: 3rem;
}

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

.site-footer h4 {
  color: var(--white);
  font-family: var(--font-head);
  margin-bottom: 0.7rem;
}

.site-footer a { color: var(--yellow); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.4rem; }

.footer-note {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.3rem;
  font-size: 0.85rem;
  color: #b99aa6;
}

.footer-note .scribble { color: #d8b6c0; }

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