:root {
  --forest: #1c3a27;
  --leaf: #3b7a4d;
  --fern: #5f9a62;
  --moss: #a9cba0;
  --sage: #e3eedc;
  --mist: #f3f8ef;
  --ink: #15281c;
  --ink-soft: #3d5646;
  --radius: 14px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--mist);
}

a { color: var(--leaf); }
a:hover { color: var(--forest); }

:focus-visible {
  outline: 3px solid var(--fern);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Navigation ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--forest);
  color: #fff;
  border-bottom: 4px solid var(--fern);
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}
.brand:hover { color: var(--moss); }
.brand { display: inline-flex; align-items: center; gap: 0.65rem; }

/* Small nav logo slot (about 40px). Swap the icon for an <img> when you have a logo. */
.brand-logo {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border: 2px dashed var(--moss);
  border-radius: 50%;
  color: var(--moss);
  font-size: 1rem;
  overflow: hidden;
}
.brand-logo img { width: 100%; height: 150%; object-fit: contain; }

.nav-links i { margin-right: 0.35rem; }

.nav-links {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: block;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  color: #dcebd6;
  text-decoration: none;
  font-weight: 600;
}
.nav-links a:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.nav-links a[aria-current="page"] { background: var(--moss); color: var(--forest); }

/* ---------- Layout ---------- */
.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero .wrap img {
    width: min(500px, 80vw);
    aspect-ratio: 1 / 1;
    place-items: center;
    text-align: center;
    padding: 1rem;
}

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--forest);
  line-height: 1.2;
  margin: 0 0 0.75rem;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.1rem); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--sage) 0%, var(--mist) 100%);
  padding: 4rem 0 3rem;
  text-align: center;
}

.logo-placeholder {
  width: min(360px, 80vw);
  aspect-ratio: 1 / 1;
  margin: 0 auto 1.5rem;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.5rem;
  border: 3px dashed var(--fern);
  border-radius: 50%;
  background: #fff;
  color: var(--leaf);
  font-weight: 600;
}
.logo-placeholder small {
  display: block;
  margin-top: 0.35rem;
  font-weight: 400;
  color: var(--ink-soft);
}
.logo-placeholder img { width: 100%; height: 100%; object-fit: contain; }

.hero .subtitle {
  margin: 0 auto;
  max-width: 34ch;
  font-size: 1.2rem;
  color: var(--ink-soft);
}

/* ---------- Sections ---------- */
section { padding: 3rem 0; }

.mission {
  max-width: 68ch;
  margin: 0 auto;
  text-align: left;
}
.mission p { font-size: 1.15rem; }

.band {
  background: var(--forest);
  color: #e8f2e3;
}
.band h2 { color: #fff; }

/* ---------- Meet the team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.team-copy p { margin: 0; max-width: 56ch; }

.team-card {
  display: block;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  padding: 1.25rem;
  text-align: left;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--moss);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s;
}
.team-card:hover { border-color: var(--fern); }
.team-card:active { transform: scale(0.985); }
.team-card:focus-visible { outline-color: var(--moss); }

.team-photo {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  margin-bottom: 0.9rem;
  border-radius: 50%;
  background: var(--sage);
  border: 2px dashed var(--fern);
  color: var(--leaf);
  font-size: 0.75rem;
  text-align: center;
  overflow: hidden;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }

.team-title {
  display: block;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--forest);
}
.team-desc {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.team-hint {
  display: block;
  margin-top: 0.9rem;
  font-size: 0.85rem;
  color: var(--leaf);
  font-weight: 600;
}

.team-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.85rem;
}
.team-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #c9dcc2;
}
.team-dots span.on { background: var(--leaf); }

/* ---------- Inner pages ---------- */
.page-head {
  background: var(--sage);
  padding: 3rem 0 2rem;
}
.page-head p { margin: 0; max-width: 60ch; color: var(--ink-soft); }

.event-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.event {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 1.25rem;
  align-items: center;
  background: #fff;
  border-left: 6px solid var(--fern);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}
.event-date {
  text-align: center;
  font-family: var(--serif);
  color: var(--forest);
  line-height: 1.1;
}
.event-date strong { display: block; font-size: 2rem; }
.event h3 { font-size: 1.15rem; margin-bottom: 0.2rem; }
.event p { margin: 0; color: var(--ink-soft); font-size: 0.97rem; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2.5rem;
  align-items: start;
}
.contact-details { display: grid; gap: 1rem; }
.contact-details dt {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  color: var(--forest);
}
.contact-details dt .icon {
  flex: none;
  box-sizing: border-box;
  width: 40px;
  height: 40px;
  padding: 10px;
  border-radius: 50%;
  background: var(--leaf);
  color: #fff;
}
.contact-details dd { margin: 0.2rem 0 0 calc(40px + 0.75rem); color: var(--ink-soft); }

form.contact-form {
  background: #fff;
  border: 2px solid var(--moss);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: grid;
  gap: 1rem;
}
.contact-form label { display: grid; gap: 0.3rem; font-weight: 600; color: var(--forest); }
.contact-form input,
.contact-form textarea {
  font: inherit;
  padding: 0.65rem 0.8rem;
  border: 2px solid var(--moss);
  border-radius: 10px;
  background: var(--mist);
  color: var(--ink);
}
.contact-form textarea { min-height: 140px; resize: vertical; }

.btn {
  justify-self: start;
  font: inherit;
  font-weight: 700;
  color: #fff;
  background: var(--leaf);
  border: 0;
  border-radius: 999px;
  padding: 0.7rem 1.6rem;
  cursor: pointer;
}
.btn:hover { background: var(--forest); }

/* ---------- Survey break ---------- */
.survey-break {
  background: var(--leaf);
  color: #fff;
  padding: 1.25rem 0;
}
.survey-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
  text-align: center;
}
.survey-inner p { margin: 0; font-weight: 600; font-size: 1.1rem; }
.btn-light { background: #fff; color: var(--forest); text-decoration: none; display: inline-block; }
.btn-light:hover { background: var(--sage); color: var(--forest); }
.btn-light:focus-visible { outline-color: #fff; }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: auto; /* keeps the footer at the bottom of the screen on short pages */
  background: var(--forest);
  color: #cfe2c8;
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.92rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .team-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 2.5rem; }
  .event { grid-template-columns: 70px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
