/*
Theme Name: Trillium Garden of Grace
Theme URI: https://thegardenofgrace.space
Author: Trillium Garden of Grace
Description: A peaceful, accessible WordPress theme for prayer, reflection, and spiritual accompaniment.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: trillium-garden
*/

:root {
  --plum: #5f3a67;
  --plum-deep: #402647;
  --lavender: #eee5f2;
  --sage: #78936d;
  --sage-deep: #496543;
  --leaf: #dce8d7;
  --gold: #c6a15b;
  --cream: #fbf8f1;
  --white: #ffffff;
  --ink: #2f3430;
  --muted: #657067;
  --shadow: 0 18px 45px rgba(62, 57, 45, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.7;
}
a { color: var(--plum); }
a:hover, a:focus { color: var(--sage-deep); }
img { max-width: 100%; height: auto; }
.screen-reader-text { position: absolute; left: -9999px; }
.screen-reader-text:focus { left: 1rem; top: 1rem; z-index: 999; background: white; padding: .8rem; }
.wrap { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 241, .96);
  border-bottom: 1px solid rgba(95,58,103,.12);
  backdrop-filter: blur(10px);
}
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--plum-deep); }
.brand-mark { width: 52px; height: 52px; flex: 0 0 auto; }
.brand-name { display: block; font-family: Georgia, serif; font-size: clamp(1.05rem, 2vw, 1.45rem); line-height: 1.1; }
.brand-tag { display: block; color: var(--sage-deep); font-size: .72rem; letter-spacing: .09em; text-transform: uppercase; }
.main-nav ul { display: flex; align-items: center; gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: .9rem; }
.main-nav a:hover, .main-nav a:focus { color: var(--plum); }
.menu-toggle { display: none; border: 1px solid var(--plum); border-radius: 8px; background: transparent; padding: .55rem .75rem; color: var(--plum); font-weight: 700; }

.hero { position: relative; overflow: hidden; padding: clamp(4rem, 10vw, 8rem) 0; background: linear-gradient(135deg, var(--lavender), var(--cream) 52%, var(--leaf)); }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(2px); opacity: .45; }
.hero::before { width: 380px; height: 380px; left: -160px; top: -160px; background: #d7bfdf; }
.hero::after { width: 420px; height: 420px; right: -170px; bottom: -210px; background: #bcd2b4; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(2rem, 7vw, 6rem); }
.eyebrow { margin: 0 0 .7rem; color: var(--sage-deep); font-size: .82rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
h1, h2, h3 { color: var(--plum-deep); font-family: Georgia, "Times New Roman", serif; line-height: 1.18; }
h1 { margin: 0 0 1rem; font-size: clamp(2.6rem, 7vw, 5.2rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 500; }
h3 { font-size: 1.4rem; }
.hero-copy { max-width: 650px; font-size: clamp(1.05rem, 2vw, 1.28rem); }
.button { display: inline-block; margin: .6rem .6rem 0 0; padding: .8rem 1.25rem; border: 2px solid var(--plum); border-radius: 999px; background: var(--plum); color: white; text-decoration: none; font-weight: 800; }
.button:hover, .button:focus { background: var(--plum-deep); color: white; }
.button.alt { background: transparent; color: var(--plum); }
.button.alt:hover, .button.alt:focus { background: var(--plum); color: white; }
.hero-art { display: flex; justify-content: center; }
.hero-art svg { width: min(390px, 100%); filter: drop-shadow(0 18px 26px rgba(64,38,71,.18)); }

.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-title { max-width: 760px; margin: 0 auto 2.5rem; text-align: center; }
.section-title h2 { margin: 0 0 .75rem; }
.section-title p { color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card { padding: 2rem; border: 1px solid rgba(95,58,103,.1); border-radius: 22px; background: white; box-shadow: var(--shadow); }
.card-icon { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 50%; background: var(--lavender); color: var(--plum); font-size: 1.35rem; }
.soft { background: #f0f5ed; }
.wisdom { position: relative; max-width: 860px; margin: auto; padding: clamp(2rem, 5vw, 4rem); border-radius: 28px; background: var(--plum-deep); color: white; text-align: center; box-shadow: var(--shadow); }
.wisdom h2, .wisdom blockquote { color: white; }
.wisdom blockquote { margin: 1rem 0; font-family: Georgia, serif; font-size: clamp(1.4rem, 3vw, 2.15rem); font-style: italic; }
.wisdom cite { color: #e7d6a6; font-style: normal; }
.privacy-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: center; }
.promise { padding: 2rem; border-left: 5px solid var(--gold); border-radius: 8px 20px 20px 8px; background: white; box-shadow: var(--shadow); }
.content-area { width: min(820px, calc(100% - 2rem)); min-height: 55vh; margin: 3rem auto 5rem; }
.entry-title { font-size: clamp(2.2rem, 5vw, 3.7rem); }
.entry-content > * { max-width: 100%; }
.entry-content .alignwide { width: min(1100px, 100vw - 2rem); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.site-footer { padding: 3rem 0; background: var(--plum-deep); color: #f4edf6; text-align: center; }
.site-footer a { color: #f3dcae; }
.footer-flower { width: 54px; margin-bottom: .5rem; }

@media (max-width: 800px) {
  .menu-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 82px; left: 0; right: 0; padding: 1rem 1.25rem 1.5rem; background: var(--cream); border-bottom: 1px solid var(--lavender); }
  .main-nav.open { display: block; }
  .main-nav ul { align-items: stretch; flex-direction: column; }
  .hero-grid, .privacy-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art svg { width: 245px; }
  .cards { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

