/* ========== Base reset ========== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

/* Palette and typography */
:root {
  --bg: #f4f7f3;          /* soft, slightly green-tinted off-white */
  --card: #ffffff;
  --ink: #1f1f1f;         /* all text stays crisp black/charcoal */
  --muted: #6c756a;       /* gentle grey-green for subtle text */
  --accent: #448A33;      /* your new brighter, fresh olive green */
  --border-soft: #d8e5d4; /* soft border to complement the accent */
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  background: radial-gradient(circle at top, #f8f4ee, #f1ece4);
  color: var(--ink);
}

/* ========== Header & top navigation ========== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #ffffffcc;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(228, 222, 212, 0.9);
}

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

.brand {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--ink);
}

.top-nav {
  display: flex;
  gap: 0.5rem;
}

.top-nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.9rem;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.top-nav a:hover {
  background: #ffffff;
  border-color: var(--border-soft);
}

/* ========== Layout ========== */

.wrap {
  max-width: 720px;
  margin: 2.5rem auto 3rem;
  padding: 0 1.25rem;
}

.intro {
  text-align: center;
  margin-bottom: 2rem;
}

.title {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 500;
  margin: 0;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.title + .meta {
  margin-top: 0.6rem;
}

.meta {
  margin: 0.25rem 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.venue {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Underline accent under title on landing and section headers */
.intro .title {
  position: relative;
  padding-bottom: 0.6rem;
}

.intro .title::after {
  content: "";
  display: block;
  width: 72px;
  height: 2px;
  margin: 0.6rem auto 0;
  background: linear-gradient(to right, var(--accent), transparent);
  border-radius: 999px;
}

/* ========== Cards ========== */

.card {
  background: var(--card);
  border-radius: 16px;
  padding: 1.6rem 1.7rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--border-soft);
  margin-bottom: 1.2rem;
}

.card h2 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 500;
}

/* Slightly smaller, more texty cards (for extra pages if needed) */
.card p {
  margin: 0.25rem 0 0.3rem;
}

/* ========== Form ========== */

.form {
  display: grid;
  gap: 1rem;
}

.grid {
  display: grid;
  gap: 0.8rem;
}

@media (min-width: 640px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

label {
  font-size: 0.9rem;
  display: grid;
  gap: 0.35rem;
  color: var(--ink);
}

input[type="text"],
textarea {
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  padding: 0.55rem 0.7rem;
  font: inherit;
  background: #f9f7f3;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

textarea {
  resize: vertical;
  min-height: 3rem;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(201, 164, 122, 0.25);
}

/* Fieldsets */

fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

legend {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.choice {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  margin-bottom: 0.15rem;
  color: var(--ink);
}

.choice input[type="radio"],
.choice input[type="checkbox"] {
  margin: 0;
}

/* ========== Button ========== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #ffffff;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.05s ease;
}

.btn:hover {
  background: #b88c60;
  box-shadow: 0 10px 25px rgba(201, 164, 122, 0.4);
}

.btn:active {
  transform: translateY(1px);
  box-shadow: 0 4px 12px rgba(201, 164, 122, 0.35);
}

.btn:disabled {
  opacity: 0.6;
  cursor: default;
  box-shadow: none;
}

.map-image {
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.06);
  margin-top: 0.8rem;
}

/* Hand-drawn wiggly border for landing page card */
.card-landing {
  position: relative;
}

.card-landing svg.card-border {
  position: absolute;
  top: -12px;
  left: -12px;
  width: calc(100% + 24px);
  height: calc(100% + 24px);
  pointer-events: none;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ========== Footer ========== */

.site-footer {
  text-align: center;
  padding: 1.5rem 1rem 2rem;
  font-size: 0.8rem;
  color: var(--muted);
}

/* ========== Utility ========== */

.muted {
  color: var(--muted);
}