/* ============================================================
   Puls Family Reunion — shared stylesheet
   Palette drawn from Dan's flyer (see CLAUDE.md for tokens)
   ============================================================ */

:root {
  --parchment: #F5EFDF;
  --forest: #3E6B3A;
  --oak: #5C4327;
  --rust: #B65C28;
  --line: #DDD3BC;
  --muted: #8A7A5E;
}

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

body {
  background: var(--parchment);
  color: var(--oak);
  font-family: "Public Sans", system-ui, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a { color: var(--rust); }

/* ---------- Header & navigation ---------- */

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--parchment);
}

.site-nav {
  max-width: 60rem;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.brand {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--forest);
  text-decoration: none;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.4rem 0.65rem;
  cursor: pointer;
  color: var(--forest);
  font-size: 1.15rem;
  line-height: 1;
}

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

.nav-menu a {
  text-decoration: none;
  color: var(--oak);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}

.nav-menu a:hover { color: var(--rust); }

.nav-menu a[aria-current="page"] {
  color: var(--forest);
  border-bottom-color: var(--rust);
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }

  .nav-menu {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 0;
    padding-top: 0.5rem;
  }

  .nav-menu.open { display: flex; }

  .nav-menu li { width: 100%; }

  .nav-menu a {
    display: block;
    padding: 0.7rem 0.25rem;
    border-bottom: 1px solid var(--line);
  }

  .nav-menu a[aria-current="page"] { border-bottom-color: var(--rust); }
}

/* ---------- Page layout ---------- */

main.page {
  flex: 1;
  width: 100%;
  max-width: 44rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3rem;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 1.25rem;
}

h1 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.9rem, 5.5vw, 2.8rem);
  line-height: 1.12;
  color: var(--forest);
  margin-bottom: 0.75rem;
}

h2 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--forest);
  margin-bottom: 0.5rem;
}

.lede {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 38rem;
}

p { line-height: 1.6; }

/* ---------- Components ---------- */

.card {
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.card p { color: var(--oak); }

.soon {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--forest);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.65rem 1.5rem;
  background: rgba(255, 255, 255, 0.35);
}

.soon-small {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  background: rgba(255, 255, 255, 0.35);
  margin-top: 0.75rem;
}

.btn {
  display: inline-block;
  background: var(--rust);
  color: #FFF;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  padding: 0.75rem 1.6rem;
  border-radius: 6px;
}

.btn:hover { background: #A04F20; }

.iframe-wrap {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #FFF;
  margin: 1.5rem 0;
}

.iframe-wrap iframe {
  display: block;
  width: 100%;
  height: 900px;
  border: 0;
}

.fallback-note {
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
}

/* ---------- Home page hero ---------- */

main.hero {
  flex: 1;
  width: 100%;
  max-width: 34rem;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  text-align: center;
}

.hero .eyebrow { margin-bottom: 1.5rem; }

.when {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.15rem, 3vw, 1.45rem);
  margin-bottom: 0.35rem;
}

.where {
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  margin-bottom: 2.25rem;
}

figure.flyer {
  margin: 0 auto 2.25rem;
  max-width: 420px;
}

figure.flyer img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(92, 67, 39, 0.25);
}

figure.flyer figcaption {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--muted);
  font-style: italic;
}

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

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.25rem 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
}
