@import url('https://fonts.googleapis.com/css2?family=Fraunces:wght@400;600;700&family=Manrope:wght@300;400;600;700&display=swap');

:root {
  --ink: #23312a;
  --ink-soft: #3a4c43;
  --ocean: #6aa486;
  --ocean-deep: #4b7b64;
  --card: rgb(255 255 255 / 88%);
  --shadow: 0 22px 50px rgb(35 49 42 / 12%);
  --radius-lg: 34px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Manrope, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: linear-gradient(130deg, #f7f0e6 0%, #e8f0e4 35%, #e1ebe3 60%, #f1efe7 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 12% 18%, rgb(106 164 134 / 18%), transparent 55%),
    radial-gradient(circle at 88% 12%, rgb(217 181 139 / 20%), transparent 50%),
    radial-gradient(circle at 82% 86%, rgb(200 143 122 / 18%), transparent 55%),
    radial-gradient(circle at 15% 82%, rgb(183 211 192 / 22%), transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgb(255 255 255 / 35%), transparent 60%);
  pointer-events: none;
  z-index: -2;
}

img {
  max-width: 100%;
  height: auto;
}

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

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 28px);
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: none;
  background: #f6f2ec;
  border-bottom: 1px solid rgb(35 49 42 / 8%);
}

main {
  padding: 0 clamp(16px, 4vw, 36px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  height: 54px;
  width: auto;
  max-width: 180px;
  border-radius: 14px;
  object-fit: contain;
  display: block;
  background: #fff;
  padding: 3px;
  border: 1px solid rgb(35 49 42 / 12%);
}

.brand .title {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  background: var(--ink);
  color: white;
  border: none;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 600;
  cursor: pointer;
}

nav {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #f6f2ec;
}

nav a,
nav summary {
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 999px;
  transition: all 0.2s ease;
}


nav a[data-page],
nav summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

body[data-page] nav a[data-page] {
  opacity: 0.7;
}

body[data-page] nav a[data-page].active {
  background: rgb(200 143 122 / 18%);
  color: var(--ink);
  opacity: 1;
}

details {
  position: relative;
}

details > summary {
  list-style: none;
  cursor: pointer;
}

details > summary::-webkit-details-marker {
  display: none;
}

.programs-menu {
  position: absolute;
  top: 52px;
  right: 0;
  width: min(520px, 90vw);
  background: #f6f2ec;
  opacity: 1;
  backdrop-filter: none;
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
  border: 1px solid rgb(20 35 58 / 8%);
  z-index: 20;
}

.programs-menu a {
  background: rgb(183 211 192 / 30%);
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.92rem;
}

.hero {
  padding: 72px 0 48px;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 36px;
  align-items: center;
}

.hero-card {
  background: var(--card);
  padding: 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid rgb(22 20 49 / 8%);
}

.founder-photo {
  display: block;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgb(35 49 42 / 12%);
  margin-bottom: 18px;
}

.hero h1 {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  margin: 0 0 16px;
}

.hero p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.hero-visual {
  position: relative;
  min-height: 320px;
}

.hero-visual .bubble {
  position: absolute;
  border-radius: 50%;
  opacity: 0.7;
  animation: float 10s ease-in-out infinite;
}

.hero-visual .bubble.one {
  width: 180px;
  height: 180px;
  background: linear-gradient(145deg, rgb(200 143 122 / 70%), rgb(106 164 134 / 75%));
  top: 20px;
  left: 10px;
}

.hero-visual .bubble.two {
  width: 140px;
  height: 140px;
  background: linear-gradient(145deg, rgb(217 181 139 / 75%), rgb(183 211 192 / 75%));
  bottom: 20px;
  right: 10px;
  animation-delay: -2s;
}

.hero-visual .bubble.three {
  width: 90px;
  height: 90px;
  background: linear-gradient(145deg, rgb(215 229 220 / 90%), rgb(106 164 134 / 70%));
  top: 140px;
  right: 70px;
  animation-delay: -4s;
}

.hero-visual .badge {
  position: absolute;
  bottom: 40px;
  left: 40px;
  background: white;
  border-radius: 18px;
  padding: 14px 18px;
  box-shadow: var(--shadow);
  font-weight: 600;
}

.section {
  padding: 56px 0;
}

.section h2 {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 12px;
}

.section p.lead {
  font-size: 1.1rem;
  color: var(--ink-soft);
}

.quote-of-day {
  background: var(--card);
  border: 1px solid rgb(20 35 58 / 8%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(18px, 3vw, 30px);
}

.quote-text {
  margin: 14px 0 8px;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.25rem, 2.5vw, 1.8rem);
  line-height: 1.45;
  color: var(--ink);
}

.quote-meta {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.95rem;
}

.kindness-challenge {
  background: linear-gradient(120deg, rgb(106 164 134 / 14%), rgb(200 143 122 / 12%), rgb(217 181 139 / 16%));
  border: 1px solid rgb(20 35 58 / 8%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(18px, 3vw, 30px);
}

.challenge-text {
  margin: 14px 0 0;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  line-height: 1.45;
  color: var(--ink);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.card {
  background: var(--card);
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgb(20 35 58 / 8%);
  box-shadow: var(--shadow);
  transform: translateY(12px);
  opacity: 0;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 55px rgb(20 35 58 / 16%);
}

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

.card h3 {
  margin-top: 0;
  font-size: 1.15rem;
}

.image-link {
  display: grid;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.image-link img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgb(20 35 58 / 12%);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.image-link:hover img {
  transform: scale(1.02);
  box-shadow: 0 18px 32px rgb(20 35 58 / 12%);
}


.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgb(200 143 122 / 20%);
  color: var(--ink);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.stat {
  background: rgb(106 164 134 / 18%);
  padding: 16px;
  border-radius: var(--radius-sm);
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  align-items: center;
}

.cta {
  background: linear-gradient(120deg, rgb(106 164 134 / 20%), rgb(200 143 122 / 18%), rgb(217 181 139 / 20%));
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}

button.primary,
.cta a.primary {
  background: linear-gradient(120deg, #4b7b64, #6aa486);
  color: white;
  padding: 12px 22px;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 12px 24px rgb(35 49 42 / 18%);
}

.secondary {
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-weight: 600;
}

footer {
  padding: 32px 0 48px;
  color: var(--ink-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.footer-grid a {
  display: block;
  margin-bottom: 8px;
}

a:hover {
  color: var(--ocean-deep);
}

nav a:hover,
nav summary:hover {
  background: rgb(106 164 134 / 18%);
}

.image-link:focus-visible,
nav a:focus-visible,
button:focus-visible {
  outline: 3px solid rgb(42 167 167 / 45%);
  outline-offset: 3px;
  border-radius: 999px;
}

.form {
  display: grid;
  gap: 12px;
}

.form-status {
  display: none;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  margin-bottom: 12px;
  font-weight: 600;
}

.form-status.show {
  display: block;
}

.form-status.success {
  background: rgb(106 164 134 / 15%);
  border-color: rgb(106 164 134 / 35%);
  color: #284233;
}

.form-status.error {
  background: rgb(200 143 122 / 16%);
  border-color: rgb(200 143 122 / 35%);
  color: #5c3528;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgb(20 35 58 / 20%);
  font-family: inherit;
}

.form textarea {
  min-height: 120px;
  resize: vertical;
}

.email-image {
  display: block;
  max-width: 100%;
  height: auto;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-16px);
  }
}

@media (width <= 880px) {
  .nav-toggle {
    display: inline-flex;
  }

  nav {
    position: fixed;
    inset: 0 0 0 30%;
    background: #f6f2ec;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 24px 24px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    gap: 8px;
  }

  body.nav-open nav {
    transform: translateX(0);
    background: #f6f2ec;
    opacity: 1;
    backdrop-filter: none;
  }

  .programs-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    border: none;
    padding: 0;
    background: transparent;
  }

  details[open] > summary {
    background: rgb(106 164 134 / 20%);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
pre {
  background: #0f172a; /* nice dark contrast */
  color: #e2e8f0;
  padding: 1rem;
  border-radius: 8px;
  overflow-x: auto; /* allows horizontal scroll if needed */
  white-space: pre-wrap; /* THIS FIXES OVERFLOW */
  word-break: break-word; /* breaks long URLs */
  font-size: 0.85rem;
  line-height: 1.4;
}

code {
  font-family: monospace;
  white-space: pre-wrap;
}
