/* ── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --purple-deep:  #1a0020;
  --purple-mid:   #3d0047;
  --purple-light: #8a2387;
  --purple-glow:  #c471ed;
  --gold:         #d4a843;
  --gold-light:   #f2d98b;
  --bg:           #110015;
  --bg-raised:    #1e0928;
  --bg-inset:     #0c000f;
  --text:         #d8d0dd;
  --text-muted:   #8a7a92;
  --border:       #3a2045;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple-glow); }
a:hover { color: var(--gold-light); }

/* ── Header ──────────────────────────────────────────── */
header {
  background: linear-gradient(135deg, var(--purple-deep) 0%, var(--purple-mid) 50%, var(--purple-light) 100%);
  color: var(--white);
  text-align: center;
  padding: 3rem 1.5rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  max-width: 700px;
  margin: 0 auto;
}

.logo {
  width: 140px;
  height: auto;
}

.header-text h1 {
  font-size: 2.4rem;
  font-weight: normal;
  letter-spacing: 0.05em;
  color: var(--gold-light);
}

.tagline {
  font-size: 1.1rem;
  opacity: 0.85;
  font-style: italic;
  margin-top: 0.25rem;
}

nav {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 0;
}

nav a {
  color: var(--white);
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.8;
  transition: opacity 0.2s, background 0.2s;
}

nav a:hover {
  opacity: 1;
  background: rgba(255,255,255,0.1);
  color: var(--white);
}

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

.section-inner {
  max-width: 750px;
  margin: 0 auto;
}

.section h2 {
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.section p {
  margin-bottom: 1rem;
}

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

/* ── About (text wraps around photo) ─────────────────── */
.portrait {
  float: right;
  margin: 0 0 1.5rem 2rem;
}

.portrait img {
  width: 210px;
  border-radius: 12px;
  border: 2px solid var(--border);
}

.two-col::after {
  content: "";
  display: table;
  clear: both;
}

/* ── Meditation ──────────────────────────────────────── */
.aside {
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.byline {
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 1.5rem !important;
}

#meditation h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--gold);
}

#meditation ol {
  padding-left: 1.5em;
  margin-bottom: 1rem;
}

#meditation ol li {
  margin-bottom: 0.75rem;
}

/* ── News / Posts ────────────────────────────────────── */
.post {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}

.post:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.post h3 {
  font-size: 1.3rem;
  color: var(--purple-glow);
  margin-bottom: 0.25rem;
}

.post time {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-style: italic;
}

.sign-off {
  font-style: italic;
  color: var(--text-muted);
  margin-top: 1rem;
}

.invocation, .prayer {
  margin: 1.5rem 0;
  padding: 1.5rem 2rem;
  background: var(--bg-inset);
  border-left: 3px solid var(--purple-light);
  border-radius: 0 8px 8px 0;
}

.invocation p, .prayer p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.invocation p:last-child, .prayer p:last-child {
  margin-bottom: 0;
}

/* ── Contact ─────────────────────────────────────────── */
.contact-grid {
  text-align: center;
}

.contact-methods {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.contact-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem 2.5rem;
  min-width: 220px;
}

.contact-card h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.contact-card a {
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--purple-glow);
  font-weight: bold;
}

.contact-card a:hover {
  color: var(--purple-light);
}

.contact-card .note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  margin-bottom: 0;
}

/* ── Footer ──────────────────────────────────────────── */
footer {
  background: var(--purple-deep);
  color: var(--white);
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.footer-inner {
  max-width: 750px;
  margin: 0 auto;
}

.footer-bull {
  width: 80px;
  margin: 0 auto 1rem;
  opacity: 0.5;
}

footer p {
  font-size: 0.85rem;
  opacity: 0.6;
}

/* ── Mobile ──────────────────────────────────────────── */
@media (max-width: 700px) {
  .header-text h1 { font-size: 1.8rem; }
  .logo { width: 90px; height: auto; }

  nav { flex-wrap: wrap; }
  nav a { padding: 0.6rem 1rem; font-size: 0.8rem; }

  .two-col {
    grid-template-columns: 1fr;
  }

  .portrait {
    order: -1;
    text-align: center;
  }

  .portrait img {
    width: 180px;
    margin: 0 auto;
  }

  .section { padding: 2.5rem 1.25rem; }
  .section h2 { font-size: 1.5rem; }

  .contact-methods {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .invocation, .prayer {
    padding: 1rem 1.25rem;
  }
}
