/* Katargeo Ministries Society */

:root {
  --green: #1b4332;
  --green-dark: #10291f;
  --gold: #e8a13c;
  --gold-dark: #b97b1e;
  --ink: #24302a;
  --muted: #5c6b62;
  --paper: #faf7f0;
  --paper-alt: #f1ece0;
  --line: #e2dccb;
  --radius: 10px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 16.5px;
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: "Lora", Georgia, serif; line-height: 1.25; }

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

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

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 240, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  font-family: "Lora", Georgia, serif;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.2;
  color: var(--green);
  text-decoration: none;
}

.brand span {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--muted);
}

.nav { display: flex; gap: 26px; align-items: center; }

.nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a:hover { color: var(--gold-dark); }

.nav-cta {
  background: var(--green);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 999px;
}

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

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
}

/* ---------- Hero ---------- */

.hero {
  background:
    linear-gradient(rgba(16, 41, 31, 0.62), rgba(16, 41, 31, 0.55)),
    url("../assets/img/mount-apo.jpg") center 45% / cover no-repeat;
  color: #fff;
  padding: 130px 0 110px;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  font-weight: 600;
  color: #ffe0ae;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 700;
  margin-bottom: 22px;
}

.hero-lede {
  max-width: 620px;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #f2eee2;
  margin-bottom: 34px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  background: var(--gold);
  color: #10291f;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 26px;
  border-radius: 999px;
  transition: background 0.2s ease;
}

.btn:hover { background: var(--gold-dark); color: #fff; }

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.75);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); }

/* ---------- Sections ---------- */

.section { padding: 84px 0; }

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

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: 10px;
}

.section h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  color: var(--green);
  margin-bottom: 16px;
}

.section-lede {
  max-width: 700px;
  color: var(--muted);
  margin-bottom: 44px;
}

/* ---------- Cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  border-top: 4px solid var(--green);
}

.card h3 {
  font-size: 1.12rem;
  color: var(--green);
  margin-bottom: 10px;
}

.card p { font-size: 0.95rem; color: var(--muted); }

/* ---------- Band ---------- */

.band {
  background: var(--green);
  color: #fff;
  padding: 72px 0;
}

.band blockquote p {
  font-family: "Lora", Georgia, serif;
  font-style: italic;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  line-height: 1.5;
  max-width: 800px;
  margin: 0 auto 10px;
  text-align: center;
  color: #f7f1e2;
}

.band blockquote cite {
  display: block;
  text-align: center;
  font-style: normal;
  font-size: 0.85rem;
  color: rgba(247, 241, 226, 0.75);
  margin-bottom: 44px;
}

.band-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.band-photos figure { border-radius: var(--radius); overflow: hidden; }

.band-photos img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

/* ---------- Timeline ---------- */

.timeline {
  list-style: none;
  border-left: 3px solid var(--green);
  margin-left: 8px;
  padding-left: 32px;
  display: grid;
  gap: 34px;
}

.timeline li { position: relative; }

.timeline li::before {
  content: "";
  position: absolute;
  left: -41px;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--paper);
  box-shadow: 0 0 0 2px var(--green);
}

.timeline h3 {
  font-size: 1.15rem;
  color: var(--green);
  margin-bottom: 8px;
}

.timeline p { color: var(--muted); max-width: 720px; }

/* ---------- Two columns ---------- */

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

.col-title {
  font-size: 1.1rem;
  color: var(--green);
  margin-bottom: 18px;
}

.fact-list { list-style: none; display: grid; gap: 12px; }

.fact-list li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-weight: 500;
}

.fin-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 0.95rem;
}

.fin-table th, .fin-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}

.fin-table th {
  background: var(--green);
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
}

.fin-table tbody tr:last-child td { border-bottom: 0; }

.fin-table td:nth-child(2), .fin-table td:nth-child(3) { font-variant-numeric: tabular-nums; }

.fin-note { font-size: 0.88rem; color: var(--muted); margin-top: 12px; }

.board-title { margin-top: 26px; }

.fact-list .chip {
  float: right;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green);
  background: #e0ece4;
  padding: 3px 10px;
  border-radius: 999px;
}

/* ---------- Contact ---------- */

.contact-block {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.contact-block > div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
}

.contact-block h3 {
  font-size: 1.05rem;
  color: var(--green);
  margin-bottom: 10px;
}

.contact-block p { color: var(--muted); font-size: 0.96rem; }

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

.site-footer {
  background: var(--green-dark);
  color: #cfe0d6;
  padding: 44px 0 36px;
}

.footer-brand {
  font-family: "Lora", Georgia, serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 6px;
}

.footer-line { font-size: 0.92rem; margin-bottom: 18px; }

.credits {
  font-size: 0.88rem;
  opacity: 0.85;
  line-height: 1.6;
}

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .contact-block { grid-template-columns: 1fr; }
}

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

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 18px;
    display: none;
  }

  .nav.open { display: flex; }

  .nav a { padding: 8px 0; }

  .nav-cta { margin-top: 6px; }

  .header-inner { position: relative; }

  .hero { padding: 90px 0 76px; }

  .cards { grid-template-columns: 1fr; }

  .band-photos { grid-template-columns: 1fr; }

  .section { padding: 60px 0; }
}
