/* Sequoia Community Church — shared stylesheet */

:root {
  --green-dark: #3b5c34;
  --green: #4a6b52;
  --green-light: #7a9a80;
  --cream: #faf6ee;
  --cream-deep: #f2ead9;
  --text: #2b2b26;
  --muted: #6b6b60;
  --border: #e3dcc8;
  --todo-bg: #fff6e0;
  --todo-border: #e0b84b;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: "Inter", "Open Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Merriweather", "Playfair Display", Georgia, serif;
  color: var(--green-dark);
  line-height: 1.25;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; }

a { color: var(--green-dark); }
a:hover { color: var(--green); }

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

/* Header / nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 238, 0.95);
  backdrop-filter: saturate(180%) blur(6px);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  max-width: 1240px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--green-dark);
  font-family: "Merriweather", serif;
  font-weight: 700;
  font-size: 1.05rem;
  white-space: nowrap;
}

.brand svg { width: 30px; height: 30px; flex-shrink: 0; }
.brand img { height: 44px; width: auto; flex-shrink: 0; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 1.3rem;
  padding: 4px 10px;
  cursor: pointer;
  color: var(--green-dark);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.site-nav a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.9rem;
  white-space: nowrap;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--green-dark);
  border-bottom-color: var(--green);
}

@media (max-width: 1200px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 24px 20px;
    gap: 14px;
  }
  .site-nav.open { display: flex; }
}

/* Hero */
.hero {
  padding: 80px 0 64px;
  text-align: center;
  background:
    radial-gradient(ellipse at top, rgba(74,107,82,0.10), transparent 60%),
    var(--cream);
}

.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green);
  font-weight: 600;
  font-size: 0.8rem;
  margin-bottom: 14px;
}

.hero h1 { max-width: 720px; margin-left: auto; margin-right: auto; }

.hero .subhead {
  font-family: "Merriweather", serif;
  font-style: italic;
  color: var(--green);
  font-size: 1.15rem;
  margin-bottom: 18px;
}

.hero .lede {
  max-width: 640px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 1.05rem;
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--green);
  color: #fff !important;
  text-decoration: none;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  transition: background 0.15s ease;
}

.btn:hover { background: var(--green-dark); }

.btn.outline {
  background: transparent;
  color: var(--green-dark) !important;
  border: 1.5px solid var(--green);
}

.btn.outline:hover { background: var(--cream-deep); }

/* Info band */
.info-band {
  background: var(--green-dark);
  color: #fff;
}

.info-band .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: center;
  padding: 22px 24px;
  text-align: center;
  font-size: 1rem;
}

.info-band strong { color: #e9e2c8; }

/* Sections */
.section {
  padding: 64px 0;
}

.section.alt { background: var(--cream-deep); }

.section .kicker {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green);
  font-weight: 700;
  font-size: 0.78rem;
  margin-bottom: 10px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 760px) {
  .two-col { grid-template-columns: 1fr; }
}

/* Cards / grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  margin-top: 24px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
}

.card h3 { margin-bottom: 8px; }

/* Leadership grid */
.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 26px;
  margin-top: 28px;
}

.person {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  text-align: center;
}

.person .avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--cream-deep);
  border: 2px solid var(--green-light);
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-family: "Merriweather", serif;
  font-weight: 700;
  font-size: 1.4rem;
}

.person .word {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 700;
}

/* Belief list */
.belief-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.belief-list li {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--green);
  border-radius: 8px;
  padding: 14px 18px;
}

/* Detail list (Plan a Visit) */
.detail-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.detail-list li {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.detail-list li:last-child { border-bottom: none; padding-bottom: 0; }
.detail-list .label { font-weight: 700; color: var(--green-dark); }

@media (max-width: 560px) {
  .detail-list li { grid-template-columns: 1fr; gap: 4px; }
}

/* Todo callout */
.todo {
  background: var(--todo-bg);
  border: 1px solid var(--todo-border);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 0.92rem;
  color: #5a4a12;
  margin: 16px 0;
}

.todo strong { color: #7a5e00; }

.todo-inline {
  background: var(--todo-bg);
  border: 1px solid var(--todo-border);
  border-radius: 6px;
  padding: 1px 8px;
  color: #7a5e00;
  font-style: normal;
  font-weight: 600;
}

.info-band .todo-inline {
  background: rgba(255,255,255,0.14);
  border-color: rgba(224,184,75,0.7);
  color: #ffe9a8;
}

/* Embed placeholder */
.embed-frame {
  border: 1px dashed var(--green-light);
  border-radius: 14px;
  background: #fff;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
}

.embed-frame iframe { width: 100%; height: 640px; border: 0; border-radius: 12px; }

/* Footer */
.site-footer {
  background: var(--green-dark);
  color: #eee7d3;
  padding: 48px 0 20px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

@media (max-width: 700px) {
  .footer-inner { grid-template-columns: 1fr; }
}

.site-footer a { color: #fff; }
.site-footer .todo { background: rgba(255,255,255,0.08); border-color: rgba(224,184,75,0.6); color: #f4e8bd; }
.site-footer .todo strong { color: #ffe08a; }
.site-footer .info-note { color: #cfc9ad; margin-bottom: 4px; }

.fine-print {
  max-width: var(--max);
  margin: 32px auto 0;
  padding: 16px 24px 0;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 0.82rem;
  color: #cfc9ad;
  text-align: center;
}

.center { text-align: center; }
.mt { margin-top: 28px; }

.smallcaps { font-variant: small-caps; }

/* Scripture / verse callout */
.verse-band {
  background: var(--cream-deep);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 56px 0;
}

.verse-band blockquote {
  margin: 0 auto;
  max-width: 620px;
  font-family: "Merriweather", serif;
  font-style: italic;
  color: var(--green-dark);
  font-size: 1.08rem;
  line-height: 1.85;
  text-align: center;
}

.verse-band blockquote p { margin: 0 0 1.1em; }
.verse-band blockquote p:last-child { margin-bottom: 0; }

.verse-cite {
  display: block;
  margin-top: 22px;
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--green);
}

/* Inline note / decided-info link (replaces amber todo once a placeholder is settled) */
.info-note {
  font-size: 0.92rem;
  color: var(--muted);
}

.logo-full {
  display: block;
  max-width: 260px;
  width: 100%;
  height: auto;
  margin: 0 auto 20px;
}
