/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-dark:   #2d4a2d;
  --green-mid:    #4a7c59;
  --green-light:  #8fb89a;
  --green-pale:   #eef4ee;
  --bark:         #6b4f35;
  --text:         #1e2a1e;
  --text-muted:   #5a6e5a;
  --border:       #c8d8c8;
  --white:        #ffffff;
  --radius:       10px;
  --shadow:       0 2px 12px rgba(45,74,45,.10);
  --font:         system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--green-pale);
  min-height: 100dvh;
}

/* ── Header ── */
.site-header {
  background: var(--green-dark);
  color: var(--white);
  padding: 2.5rem 1.25rem 2rem;
  text-align: center;
}
.org-badge {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: .75rem;
}
.site-header h1 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: .5rem;
}
.subtitle {
  font-size: .95rem;
  color: var(--green-light);
  max-width: 42ch;
  margin: 0 auto;
}

/* ── Layout ── */
main {
  max-width: 680px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* ── Cards ── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.section-heading {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--green-mid);
  margin-bottom: 1rem;
}

/* ── Detail list ── */
.detail-list { display: flex; flex-direction: column; gap: .6rem; }
.detail-row  { display: flex; gap: .75rem; }
.detail-row dt {
  flex: 0 0 110px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-muted);
  padding-top: .05em;
}
.detail-row dd { font-size: .95rem; }

.map-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--green-mid);
  text-decoration: none;
  border-bottom: 1px solid var(--green-light);
}
.map-link:hover { color: var(--green-dark); }

/* ── What to bring ── */
.bring-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 480px) {
  .bring-columns { grid-template-columns: 1fr; }
}
.bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .45rem;
  font-size: .9rem;
}
.bullet-list li::before {
  content: "·";
  color: var(--green-mid);
  font-weight: 700;
  margin-right: .5rem;
}

/* ── RSVP form ── */
.rsvp-note {
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.field-group {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  margin-bottom: 1.1rem;
}
label {
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
}
.req { color: var(--bark); }

input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: .6rem .75rem;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-family: inherit;
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color .15s;
  appearance: none;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(74,124,89,.15);
}
textarea { resize: vertical; }

/* native select arrow */
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234a7c59' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  padding-right: 2.25rem;
}

.submit-btn {
  width: 100%;
  padding: .75rem 1rem;
  background: var(--green-mid);
  color: var(--white);
  border: none;
  border-radius: 7px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s, transform .1s;
  margin-top: .25rem;
}
.submit-btn:hover  { background: var(--green-dark); }
.submit-btn:active { transform: scale(.98); }
.submit-btn:disabled { opacity: .6; cursor: not-allowed; }

/* ── Success / error states ── */
.form-success, .form-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1rem;
  gap: .75rem;
}
.success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--green-pale);
  color: var(--green-mid);
  font-size: 1.5rem;
  font-weight: 700;
}
.form-error p { color: #a33; font-size: .95rem; }

/* ── Footer ── */
.site-footer {
  text-align: center;
  padding: 1.5rem 1rem;
  font-size: .8rem;
  color: var(--text-muted);
}
