/* Lighthouse Library - shared styles.
   Palette is lifted from the logo: olive-gold lettering, teal lighthouse,
   peach rays, on the same cream The Village uses so the two sites read as
   siblings. */
:root{
  --gold: #8a6d24;
  --gold-deep: #6f5719;
  --teal: #0f6b7c;
  --teal-deep: #0b4f5c;
  --peach: #f6c7b0;
  --peach-soft: #fbe6da;
  --cream: #faf5ea;
  --paper: #fffdf8;
  --ink: #24333a;
  --ink-soft: #55524a;
  --line: rgba(138,109,36,0.28);
  --serif: 'Lora', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --wrap: 1080px;
}

*{ box-sizing: border-box; margin: 0; padding: 0; }
html{ scroll-behavior: smooth; }
[id]{ scroll-margin-top: 88px; }
button, a{ touch-action: manipulation; }

body{
  font-family: var(--serif);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  font-size: 1.06rem;
  overflow-x: hidden;
}
img{ max-width: 100%; height: auto; display: block; }
a{ color: var(--teal); }
a:hover{ color: var(--teal-deep); }

.wrap{ max-width: var(--wrap); margin: 0 auto; padding: 0 1.4rem; }

/* ---------- Header ---------- */
.site-header{
  position: sticky; top: 0; z-index: 20;
  background: rgba(250,245,234,0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap{
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.6rem 1.4rem; flex-wrap: wrap;
  padding-top: 0.8rem; padding-bottom: 0.8rem;
}
.brand{
  font-family: var(--sans); font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; font-size: 0.9rem;
  color: var(--gold-deep); text-decoration: none;
}
.site-nav{ display: flex; align-items: center; gap: 0.3rem 1.3rem; flex-wrap: wrap; }
.site-nav a{
  font-family: var(--sans); font-size: 0.88rem; font-weight: 500;
  color: var(--ink); text-decoration: none; padding: 0.3rem 0;
}
.site-nav a:hover, .site-nav a[aria-current="page"]{ color: var(--teal); }
.site-nav a[aria-current="page"]{ border-bottom: 2px solid var(--peach); }

/* ---------- Buttons ---------- */
.btn{
  display: inline-block; font-family: var(--sans); font-weight: 600;
  font-size: 0.92rem; letter-spacing: 0.03em; text-decoration: none;
  padding: 0.8rem 1.7rem; border-radius: 999px;
  border: 2px solid var(--teal); cursor: pointer;
  transition: background .15s, color .15s, transform .15s;
}
.btn:hover{ transform: translateY(-1px); }
.btn-solid{ background: var(--teal); color: #fff; }
.btn-solid:hover{ background: var(--teal-deep); border-color: var(--teal-deep); color: #fff; }
.btn-ghost{ background: transparent; color: var(--teal); }
.btn-ghost:hover{ background: var(--teal); color: #fff; }
.site-nav .btn{ padding: 0.5rem 1.2rem; font-size: 0.85rem; color: #fff; }

/* ---------- Type ---------- */
.kicker{
  font-family: var(--sans); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 0.7rem;
}
h1, h2, h3{ font-weight: 500; line-height: 1.2; color: var(--teal-deep); }
h1{ font-size: clamp(2.1rem, 5vw, 3.3rem); font-style: italic; }
h2{ font-size: clamp(1.7rem, 3.6vw, 2.4rem); margin-bottom: 1rem; }
h3{ font-size: 1.3rem; }
.lede{ font-size: 1.16rem; color: var(--ink-soft); max-width: 62ch; }
p + p{ margin-top: 1rem; }

section{ padding: 4.5rem 0; }

/* The little rule-dot-rule divider from the flyer. */
.flourish{
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  margin: 0 auto;
}
.flourish::before, .flourish::after{ content: ""; width: 46px; height: 1px; background: var(--gold); opacity: .6; }
.flourish span{ width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

/* ---------- Hero ---------- */
.hero{ padding: 3.5rem 0 4rem; }
.hero .wrap{
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 3.5rem; align-items: center;
}
/* The logo file has an off-white ground; multiply drops it into the cream. */
.hero-logo img{ filter: brightness(1.07); mix-blend-mode: multiply; width: 100%; max-width: 420px; margin: 0 auto; }
.hero p.lede{ margin-top: 1.3rem; }
.hero-actions{ display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }

/* ---------- Principles ---------- */
.principles{ background: var(--teal-deep); color: #fff; padding: 3.2rem 0; }
.principles ul{
  list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}
.principles li{ border-top: 2px solid var(--peach); padding-top: 1rem; }
.principles strong{
  display: block; font-family: var(--sans); font-weight: 600; font-size: 0.85rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--peach);
  margin-bottom: 0.5rem;
}
.principles span{ color: rgba(255,255,255,0.86); font-size: 1rem; }

/* ---------- Programming ---------- */
.program-grid{
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2.2rem;
}
.program{
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  padding: 1.5rem 1.4rem; border-top: 5px solid var(--bar, var(--gold));
  display: flex; flex-direction: column;
}
.program .day{
  font-family: var(--sans); font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 0.5rem;
}
.program p{ color: var(--ink-soft); font-size: 0.98rem; margin-top: 0.5rem; }
.program a.more{
  font-family: var(--sans); font-size: 0.84rem; font-weight: 500;
  margin-top: auto; padding-top: 1rem; text-decoration: none;
}
.program-note{ margin-top: 1.6rem; color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- Two-up: Lighthouse + The Village ---------- */
.pair{ background: var(--peach-soft); }
.pair .wrap{ display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.pair-card{ background: var(--paper); border-radius: 14px; padding: 2rem 1.8rem; border: 1px solid var(--line); }
.pair-card h3{ margin-bottom: 0.6rem; }
.pair-card p{ color: var(--ink-soft); }
.pair-head{ grid-column: 1 / -1; margin-bottom: 0.6rem; }

/* ---------- Give ---------- */
.give{ text-align: center; position: relative; overflow: hidden; }
/* Rays, as in the logo, fanning up from below the fold of the section. */
.give::before{
  content: ""; position: absolute; left: 50%; bottom: -520px;
  width: 1500px; height: 1500px; transform: translateX(-50%);
  background: repeating-conic-gradient(from -90deg at 50% 50%,
    var(--peach) 0 5deg, transparent 5deg 10deg);
  -webkit-mask-image: radial-gradient(circle, transparent 0 180px, #000 180px 62%, transparent 70%);
          mask-image: radial-gradient(circle, transparent 0 180px, #000 180px 62%, transparent 70%);
  opacity: 0.3; pointer-events: none;
}
.give .wrap{ position: relative; max-width: 720px; }
.give .lede{ margin: 0 auto; }
.give-actions{ margin-top: 2rem; display: flex; justify-content: center; flex-wrap: wrap; gap: 0.8rem; }
.give-soon{
  margin: 2rem auto 0; max-width: 520px; background: var(--paper);
  border: 1px dashed var(--gold); border-radius: 14px; padding: 1.3rem 1.5rem;
  font-size: 1rem; color: var(--ink-soft);
}
[hidden]{ display: none !important; }

/* ---------- Page heads (board, governance) ---------- */
.page-head{ padding: 3.5rem 0 1rem; }
.page-head .lede{ margin-top: 1rem; }

/* ---------- Board ---------- */
.board-grid{
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem;
}
.member{
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  padding: 1.7rem; display: grid; grid-template-columns: 112px 1fr; gap: 1.3rem;
  align-items: start;
}
.member-photo{
  width: 112px; height: 112px; border-radius: 50%; object-fit: cover;
  background: var(--peach-soft); border: 3px solid var(--peach);
}
/* No photo yet: initials on peach. */
.member-initials{
  width: 112px; height: 112px; border-radius: 50%;
  background: var(--peach-soft); border: 3px solid var(--peach);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-weight: 600; font-size: 1.7rem; color: var(--gold-deep);
}
.member .role{
  font-family: var(--sans); font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold);
  margin: 0.25rem 0 0.7rem;
}
.member .bio{ color: var(--ink-soft); font-size: 0.99rem; white-space: pre-line; }
.empty-state{
  background: var(--paper); border: 1px dashed var(--gold); border-radius: 14px;
  padding: 2.4rem 1.8rem; text-align: center; color: var(--ink-soft);
}

/* ---------- Governance ---------- */
.doc-list{ list-style: none; display: grid; gap: 1rem; max-width: 760px; }
.doc{
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  padding: 1.4rem 1.6rem; display: flex; align-items: center;
  justify-content: space-between; gap: 1rem 1.5rem; flex-wrap: wrap;
}
.doc p{ color: var(--ink-soft); font-size: 0.96rem; margin-top: 0.2rem; }
.doc .status{
  font-family: var(--sans); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold);
  white-space: nowrap;
}

/* ---------- Footer ---------- */
.site-footer{
  border-top: 1px solid var(--line); padding: 2.6rem 0 3rem;
  font-family: var(--sans); font-size: 0.85rem; color: var(--ink-soft);
}
.site-footer .wrap{ display: flex; justify-content: space-between; gap: 1.5rem 3rem; flex-wrap: wrap; }
.site-footer nav{ display: flex; gap: 0.4rem 1.3rem; flex-wrap: wrap; }
.site-footer a{ color: var(--ink-soft); }
.site-footer .creed{
  flex-basis: 100%; text-align: center; margin-top: 1.2rem;
  letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.72rem; color: var(--gold);
}

/* ---------- Small screens ---------- */
@media (max-width: 860px){
  section{ padding: 3.2rem 0; }
  .hero{ padding-top: 2rem; }
  .hero .wrap{ grid-template-columns: 1fr; gap: 1.8rem; text-align: center; }
  .hero-logo img{ max-width: 270px; }
  .hero .lede{ margin-left: auto; margin-right: auto; }
  .hero-actions{ justify-content: center; }
  .principles ul{ grid-template-columns: 1fr; gap: 1.4rem; }
  .program-grid{ grid-template-columns: 1fr 1fr; }
  .pair .wrap{ grid-template-columns: 1fr; }
  .board-grid{ grid-template-columns: 1fr; }
}
@media (max-width: 560px){
  .program-grid{ grid-template-columns: 1fr; }
  .member{ grid-template-columns: 1fr; text-align: center; }
  .member-photo, .member-initials{ margin: 0 auto; }
  .site-header .wrap{ justify-content: center; }
  .site-nav{ justify-content: center; gap: 0.2rem 1rem; }
}
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .btn{ transition: none; }
}
