:root {
  --cream: #f3e6cf;
  --cream-light: #faf3e6;
  --bronze: #a3722f;
  --bronze-dark: #6b451c;
  --bronze-deep: #4a2f13;
  --purple: #9420ab;
  --purple-deep: #6e1782;
  --ink: #241b12;
  --ink-soft: #52432f;
  --line: #d9c39a;
  --card-bg: #ffffff;
  --shadow-sm: 0 2px 8px rgba(74, 47, 19, 0.08);
  --shadow: 0 10px 28px rgba(74, 47, 19, 0.14);
  --shadow-lg: 0 18px 44px rgba(74, 47, 19, 0.22);
  --radius: 16px;
  --radius-sm: 10px;
  --max-width: 1180px;
  --font-display: "Fraunces", Georgia, "Iowan Old Style", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--cream-light);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand-text .full {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

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

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 243, 230, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 18px rgba(74, 47, 19, 0.1);
  background: rgba(250, 243, 230, 0.97);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ink);
}

.brand img {
  height: 46px;
  width: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--cream);
  box-shadow: 0 0 0 1.5px var(--bronze);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text .full {
  font-weight: 600;
  font-size: 1.12rem;
  letter-spacing: 0.01em;
  color: var(--bronze-deep);
}

.brand-text .sub {
  font-size: 0.66rem;
  color: var(--purple);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 0.1rem;
}

.nav-links {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.92rem;
}

.brand-text .full { white-space: nowrap; }

.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  padding: 0.4rem 0.05rem;
  position: relative;
  white-space: nowrap;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--purple);
  transition: right 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--purple-deep);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  right: 0;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.4rem 0.6rem;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--bronze-deep);
}

@media (max-width: 1040px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream-light);
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
    box-shadow: var(--shadow);
  }
  .nav-links.open { max-height: 480px; }
  .nav-links li { border-top: 1px solid var(--line); }
  .nav-links a { display: block; padding: 0.9rem 1.5rem; white-space: normal; }
  .nav-links a::after { display: none; }
}

@media (max-width: 460px) {
  .brand-text .full { font-size: 0.98rem; white-space: normal; }
}

/* Hero */
.hero {
  position: relative;
  text-align: center;
  padding: 4.5rem 1.5rem 3.5rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(163, 114, 47, 0.14), transparent 40%),
    radial-gradient(circle at 85% 15%, rgba(148, 32, 171, 0.10), transparent 38%),
    radial-gradient(circle at 50% 100%, rgba(163, 114, 47, 0.10), transparent 55%),
    var(--cream-light);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--bronze) 1px, transparent 1.4px);
  background-size: 26px 26px;
  opacity: 0.08;
  pointer-events: none;
}

.hero > * { position: relative; z-index: 1; }

.hero .logo-lg {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 0 auto 1.4rem;
  box-shadow: var(--shadow-lg), 0 0 0 6px #fff, 0 0 0 8px var(--line);
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  margin: 0.3rem 0;
  color: var(--bronze-deep);
  letter-spacing: 0.01em;
}

.hero .tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0.9rem auto 1.8rem;
  font-size: 1.2rem;
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin: 1.3rem auto;
  max-width: 320px;
}
.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--bronze));
}
.divider::after { background: linear-gradient(90deg, var(--bronze), transparent); }
.divider .dot {
  width: 9px;
  height: 9px;
  background: var(--purple);
  transform: rotate(45deg);
  flex: none;
}

.btn-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn:hover { transform: translateY(-3px); }

.btn-primary {
  background: linear-gradient(160deg, var(--bronze), var(--bronze-dark));
  color: #fff;
  box-shadow: 0 8px 20px rgba(107, 69, 28, 0.4);
}
.btn-primary:hover { box-shadow: 0 12px 26px rgba(107, 69, 28, 0.48); }

.btn-outline {
  border: 2px solid var(--purple);
  color: var(--purple-deep);
  background: #fff;
}
.btn-outline:hover { background: var(--purple); color: #fff; }

/* Section */
.section {
  padding: 4rem 1.5rem;
}

.section-title {
  text-align: center;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  color: var(--bronze-deep);
  margin-bottom: 0.6rem;
}

.section-lead {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2.6rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.section-alt {
  background: linear-gradient(180deg, rgba(163, 114, 47, 0.07), rgba(163, 114, 47, 0.03));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Pillars grid */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.pillar {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 1.9rem 1.4rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.pillar:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--purple);
}

.pillar .icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--cream), var(--line));
  box-shadow: inset 0 0 0 1px rgba(107, 69, 28, 0.2);
}

.pillar h3 {
  margin: 0.3rem 0 0.6rem;
  color: var(--bronze-deep);
  font-size: 1.08rem;
}

.pillar p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* Cards / grid layouts */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  gap: 1.7rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--purple);
}

.card .photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #eee;
}

.card .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.card:hover .photo img { transform: scale(1.06); }

.card .body {
  padding: 1.1rem 1.2rem 1.4rem;
  border-top: 3px solid transparent;
}

.card:hover .body { border-color: var(--purple); }

.card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.08rem;
  color: var(--ink);
}

.card .role {
  display: inline-block;
  font-size: 0.72rem;
  color: var(--purple-deep);
  background: rgba(148, 32, 171, 0.09);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.55rem;
}

.card .loc {
  font-size: 0.85rem;
  color: var(--bronze-dark);
  margin-bottom: 0.45rem;
}

.card p.bio {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin: 0 0 0.45rem;
}

.card .phone,
.card .email {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}

/* Filter bar for members */
.filter-bar {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 2.4rem;
}
.filter-bar input {
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  min-width: 280px;
  font-family: inherit;
  font-size: 0.95rem;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.filter-bar input:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(148, 32, 171, 0.15);
}

/* Vision & Goal */
.vision-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
  align-items: start;
}
@media (max-width: 780px) {
  .vision-grid { grid-template-columns: 1fr; }
}
.vision-main {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 2rem;
}
.vision-main h3 {
  color: var(--bronze-deep);
  margin-top: 0;
}
.goal-list {
  list-style: none;
  margin: 1.2rem 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.goal-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: var(--ink-soft);
}
.goal-list li::before {
  content: "✓";
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.15rem;
}

/* CTA banner */
.cta-banner {
  position: relative;
  background: linear-gradient(135deg, var(--bronze-dark), var(--bronze-deep));
  color: #fff;
  text-align: center;
  padding: 3rem 1.8rem;
  border-radius: var(--radius);
  max-width: var(--max-width);
  margin: 0 auto;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#fff 1px, transparent 1.4px);
  background-size: 24px 24px;
  opacity: 0.06;
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { margin-top: 0; font-size: clamp(1.5rem, 3vw, 2rem); }
.cta-banner p { max-width: 560px; margin: 0 auto; opacity: 0.92; }
.cta-banner .btn-primary {
  background: #fff;
  color: var(--bronze-deep);
  box-shadow: none;
}

/* Timeline / events list */
.event {
  display: flex;
  gap: 1.3rem;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.3rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto 1.2rem;
  align-items: center;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.event:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.event .date-badge {
  flex: 0 0 auto;
  background: linear-gradient(160deg, var(--cream), var(--line));
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.6rem 1rem;
  text-align: center;
  min-width: 72px;
}
.event .date-badge .month { font-size: 0.72rem; text-transform: uppercase; color: var(--bronze-deep); font-weight: 700; letter-spacing: 0.04em; }
.event .date-badge .day { font-size: 1.5rem; font-weight: 700; color: var(--ink); font-family: var(--font-display); }
.event h3 { margin: 0 0 0.25rem; color: var(--ink); }
.event p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }

.empty-note {
  text-align: center;
  color: var(--ink-soft);
  font-style: italic;
  max-width: 560px;
  margin: 0 auto;
}

/* Forms */
form.stack {
  max-width: 640px;
  margin: 0 auto;
  display: grid;
  gap: 1.1rem;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}
form.stack label {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink-soft);
  display: grid;
  gap: 0.4rem;
}
form.stack input,
form.stack select,
form.stack textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.7rem 0.85rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fffdf8;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
form.stack input:focus,
form.stack select:focus,
form.stack textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(148, 32, 171, 0.14);
}
form.stack textarea { resize: vertical; min-height: 110px; }
form.stack .btn { justify-self: start; border: none; cursor: pointer; }
.form-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-align: center;
  max-width: 640px;
  margin: 1rem auto 0;
}

/* Contact details */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
  align-items: start;
}
@media (max-width: 780px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-info {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.8rem;
}
.contact-info .item { display: flex; gap: 0.9rem; margin-bottom: 1.2rem; align-items: flex-start; }
.contact-info .item .icon {
  font-size: 1.15rem;
  width: 40px;
  height: 40px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--cream), var(--line));
}
.contact-info h4 { margin: 0 0 0.15rem; color: var(--ink); }
.contact-info p { margin: 0; color: var(--ink-soft); }

/* One rhythm banner strip */
.strip {
  background: linear-gradient(90deg, var(--bronze-deep), var(--bronze-dark) 50%, var(--bronze-deep));
  padding: 0.8rem 1rem;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  color: var(--cream-light);
}

/* Footer */
.site-footer {
  background: var(--bronze-deep);
  color: rgba(250, 243, 230, 0.82);
  padding: 3rem 1.5rem 1.6rem;
}
.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(250, 243, 230, 0.18);
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
}
.footer-brand { display: flex; flex-direction: column; gap: 0.8rem; }
.footer-brand .brand-row { display: flex; align-items: center; gap: 0.7rem; justify-content: flex-start; }
@media (max-width: 700px) { .footer-brand .brand-row { justify-content: center; } }
.footer-brand img { width: 42px; height: 42px; border-radius: 50%; }
.footer-brand .name { font-family: var(--font-display); font-size: 1.1rem; color: #fff; }
.footer-brand p { margin: 0; font-size: 0.88rem; line-height: 1.6; }
.site-footer h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 0.9rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.site-footer ul a { text-decoration: none; color: inherit; font-size: 0.9rem; transition: color 0.15s; }
.site-footer ul a:hover { color: #fff; }
.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 1.5rem;
  text-align: center;
}
.footer-bottom .quote {
  font-family: var(--font-display);
  font-style: italic;
  margin-bottom: 0.7rem;
  color: #fff;
  font-size: 1.02rem;
}
.footer-bottom .copyright { font-size: 0.82rem; opacity: 0.75; margin: 0; }

/* Page header (non-home pages) */
.page-header {
  text-align: center;
  padding: 3.2rem 1.5rem 1.4rem;
  background: linear-gradient(180deg, rgba(163, 114, 47, 0.08), transparent);
}
.page-header h1 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  color: var(--bronze-deep);
  margin-bottom: 0.5rem;
}
.page-header p {
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 auto;
}
