@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500&display=swap');

:root {
  --sage: #6B7F5E;
  --sage-light: #8FA37E;
  --sage-dark: #4A5C3F;
  --cream: #F5F0E8;
  --warm-white: #FDFAF5;
  --charcoal: #2C2C2A;
  --muted: #5C5850;
  --gold: #C4973A;
  --gold-light: #D4A84A;
  --border: #E4DDD2;
  --border-dark: rgba(255,255,255,0.08);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', 'Helvetica Neue', Helvetica, sans-serif;
  background: var(--warm-white);
  color: var(--charcoal);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 56px; height: 72px;
  background: rgba(253,250,245,0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
nav.scrolled {
  border-color: var(--border);
  box-shadow: 0 4px 32px rgba(44,44,42,0.07);
}
.nav-logo {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 18px; font-weight: 400;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--charcoal); text-decoration: none;
  transition: opacity 0.2s;
}
.nav-logo:hover { opacity: 0.7; }
.nav-logo span { color: var(--sage); }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
  transition: color 0.2s;
  position: relative; padding-bottom: 3px;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -1px; left: 0;
  width: 0; height: 1px;
  background: var(--sage);
  transition: width 0.3s cubic-bezier(0.16,1,0.3,1);
}
.nav-links a:hover { color: var(--sage-dark); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--sage-dark); }
.nav-mobile-btn {
  display: none; background: none; border: none;
  font-size: 22px; cursor: pointer; color: var(--charcoal);
  line-height: 1;
}

/* ── PAGE HEADER ── */
.page-header {
  background: var(--cream);
  padding: 120px 56px 72px;
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sage) 0%, var(--gold) 100%);
}
.page-header .eyebrow {
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--sage); margin-bottom: 18px;
  display: flex; align-items: center; gap: 10px;
}
.page-header .eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px; height: 1px;
  background: var(--sage);
}
.page-header h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 300; line-height: 1.05; letter-spacing: -0.01em;
}
.page-header h1 em { font-style: italic; color: var(--sage-dark); }
.page-header p {
  font-size: 15px; font-weight: 400; line-height: 1.8;
  color: var(--muted); max-width: 480px; margin-top: 22px;
}

/* ── SECTIONS ── */
.content-section { padding: 80px 56px; }
.content-section + .content-section { border-top: 1px solid var(--border); }

.section-label {
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--sage); margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.section-label::before {
  content: '';
  display: inline-block; width: 20px; height: 1px;
  background: var(--sage);
}

.section-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(30px, 3.5vw, 48px);
  font-weight: 300; line-height: 1.1;
  margin-bottom: 40px; letter-spacing: -0.01em;
}
.section-title em { font-style: italic; color: var(--sage-dark); }

/* ── CARDS ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1px; background: var(--border);
  border: 1px solid var(--border);
}
.card {
  background: var(--warm-white);
  padding: 44px 40px;
  transition: background 0.3s;
  position: relative;
}
.card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
}
.card:hover { background: var(--cream); }
.card:hover::before { transform: scaleX(1); }

.card-icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  color: var(--sage);
}
.card-icon svg { width: 28px; height: 28px; stroke: var(--sage); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.card h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px; font-weight: 400;
  margin-bottom: 12px; letter-spacing: 0.01em;
}
.card p, .card li {
  font-size: 14px; font-weight: 400;
  line-height: 1.8; color: var(--muted);
}
.card ul { padding-left: 0; list-style: none; }
.card li { padding-left: 16px; position: relative; margin-bottom: 6px; }
.card li::before { content: '—'; position: absolute; left: 0; color: var(--gold); font-size: 12px; }

/* ── DARK SECTION ── */
.dark-section { background: var(--charcoal); padding: 80px 56px; }
.dark-section .section-label { color: var(--sage-light); }
.dark-section .section-label::before { background: var(--sage-light); }
.dark-section .section-title { color: var(--cream); }

/* ── LINK LIST ── */
.link-list {
  display: flex; flex-direction: column;
  gap: 1px; background: var(--border); border: 1px solid var(--border);
}
.link-list a {
  background: var(--warm-white);
  padding: 22px 32px;
  display: flex; align-items: center; justify-content: space-between;
  text-decoration: none; color: var(--charcoal);
  font-size: 14px; font-weight: 300;
  transition: background 0.2s, padding-left 0.3s cubic-bezier(0.16,1,0.3,1);
}
.link-list a:hover { background: var(--cream); padding-left: 44px; }
.link-list a .dot { width: 5px; height: 5px; background: var(--gold); border-radius: 50%; margin-right: 16px; flex-shrink: 0; }
.link-list a .left { display: flex; align-items: center; }
.link-list a .arrow { color: var(--sage); font-size: 18px; transition: transform 0.2s; }
.link-list a:hover .arrow { transform: translateX(4px); }

/* ── DARK LINK LIST ── */
.dark-link-list {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.05);
}
.dark-link-list a {
  background: var(--charcoal);
  padding: 24px 32px;
  display: flex; align-items: center; justify-content: space-between;
  text-decoration: none; color: rgba(255,255,255,0.8);
  font-size: 14px; font-weight: 300;
  transition: background 0.2s, padding-left 0.3s cubic-bezier(0.16,1,0.3,1);
}
.dark-link-list a:hover { background: #363633; padding-left: 44px; }
.dark-link-list a .dot { width: 5px; height: 5px; background: var(--gold); border-radius: 50%; margin-right: 16px; flex-shrink: 0; }
.dark-link-list a .left { display: flex; align-items: center; }
.dark-link-list a .arrow { color: var(--sage-light); transition: transform 0.2s; }
.dark-link-list a:hover .arrow { transform: translateX(4px); }

/* ── FAQ ── */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 36px 0;
}
.faq-item:first-child { padding-top: 0; }
.faq-q {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px; font-weight: 400;
  margin-bottom: 14px; line-height: 1.3;
}
.faq-a {
  font-size: 14px; font-weight: 300;
  line-height: 1.85; color: var(--muted);
}
.faq-a a {
  color: var(--sage-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(74,92,63,0.4);
  transition: text-decoration-color 0.2s;
}
.faq-a a:hover { text-decoration-color: var(--sage-dark); }

/* ── CONTACT STRIP ── */
.contact-strip {
  background: var(--sage-dark);
  padding: 56px 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  position: relative; overflow: hidden;
}
.contact-strip::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px; background: rgba(255,255,255,0.12);
}
.contact-strip p { font-size: 14px; font-weight: 300; color: rgba(255,255,255,0.6); margin-top: 4px; }
.contact-strip strong {
  color: var(--cream); display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 26px; font-weight: 300; letter-spacing: 0.01em;
}
.contact-strip a {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--charcoal);
  background: var(--gold);
  text-decoration: none;
  padding: 14px 32px;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}
.contact-strip a:hover { background: var(--gold-light); transform: translateY(-1px); }

/* ── DUES ── */
.dues-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: var(--border);
  max-width: 400px; border: 1px solid var(--border);
}
.dues-cell { background: var(--warm-white); padding: 40px; }
.dues-cell.dark { background: var(--charcoal); }
.dues-year {
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--sage); margin-bottom: 12px;
}
.dues-cell.dark .dues-year { color: var(--sage-light); }
.dues-amount {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 52px; font-weight: 300;
  color: var(--charcoal); line-height: 1; margin-bottom: 6px;
}
.dues-cell.dark .dues-amount { color: var(--cream); }
.dues-sub { font-size: 12px; font-weight: 300; color: var(--muted); letter-spacing: 0.04em; }
.dues-cell.dark .dues-sub { color: rgba(255,255,255,0.4); }

/* ── BOARD ── */
.board-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1px; background: var(--border); border: 1px solid var(--border);
}
.board-cell { background: var(--warm-white); padding: 32px; }
.board-role { font-size: 10px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sage); margin-bottom: 10px; }
.board-name { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 22px; font-weight: 400; }
.board-name.vacant { color: var(--muted); font-style: italic; font-size: 18px; }

/* ── GALLERY ── */
.photo-item {
  position: relative; overflow: hidden;
  aspect-ratio: 4/3; cursor: pointer;
  background: var(--cream);
}
.photo-item img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1), filter 0.4s;
}
.photo-item:hover img { transform: scale(1.05); filter: brightness(0.92); }
.photo-item .photo-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end;
  padding: 20px;
  background: linear-gradient(to top, rgba(44,44,42,0.4) 0%, transparent 50%);
  opacity: 0; transition: opacity 0.3s;
}
.photo-item:hover .photo-overlay { opacity: 1; }
.photo-overlay span {
  font-size: 11px; font-weight: 400; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.9);
}

/* ── LIGHTBOX ── */
.lightbox { display: none; position: fixed; inset: 0; background: rgba(20,20,18,0.97); z-index: 999; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 88vw; max-height: 85vh; object-fit: contain; }
.lightbox-close { position: absolute; top: 28px; right: 36px; color: rgba(255,255,255,0.5); font-size: 28px; cursor: pointer; background: none; border: none; transition: color 0.2s; }
.lightbox-close:hover { color: white; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.08); border: none; color: rgba(255,255,255,0.6); font-size: 24px; padding: 20px 18px; cursor: pointer; transition: background 0.2s, color 0.2s; }
.lightbox-nav:hover { background: rgba(255,255,255,0.15); color: white; }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ── FOOTER ── */
footer {
  background: #161614;
  padding: 36px 56px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
footer p {
  font-size: 12px; font-weight: 300;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.06em;
}
.footer-links { display: flex; align-items: center; }
.footer-links a {
  font-size: 11px; font-weight: 300;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  padding: 0 18px;
  border-right: 1px solid rgba(255,255,255,0.08);
  transition: color 0.2s;
  letter-spacing: 0.06em;
}
.footer-links a:first-child { padding-left: 0; }
.footer-links a:last-child { border-right: none; padding-right: 0; }
.footer-links a:hover { color: var(--sage-light); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 0 24px; }
  .nav-links {
    display: none; flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: rgba(253,250,245,0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 24px; gap: 20px;
    box-shadow: 0 8px 32px rgba(44,44,42,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-mobile-btn { display: block; }
  .page-header { padding: 100px 24px 56px; }
  .content-section, .dark-section { padding-left: 24px; padding-right: 24px; }
  .contact-strip { padding: 40px 24px; flex-direction: column; align-items: flex-start; }
  .dark-link-list { grid-template-columns: 1fr; }
  .dues-grid { grid-template-columns: 1fr; max-width: 280px; }
  footer { padding: 24px; flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-links a:first-child { padding-left: 0; }
}
