/* ============================================================
   Life, Liberty & Love — design system
   Palette: warm ivory paper, botanical green (from the leaf-heart
   logo), deep forest, quiet gold hairlines, green-black ink.
   Type: Cormorant Garamond (display) · Lora (body) · Karla (utility)
   Signature: illuminated green drop cap + leaf-heart divider.
   ============================================================ */

:root {
  --paper: #FBF9F3;
  --paper-deep: #F3EEE2;
  --ink: #242C27;
  --ink-soft: #5D675F;
  --leaf: #3E6B4F;
  --leaf-soft: #E7EFE7;
  --forest: #26402F;
  --gold: #B99552;
  --line: #E3DCCB;
  --white: #FFFFFF;

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Lora", Georgia, serif;
  --font-ui: "Karla", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1120px;
  --wrap-medium: 860px;
  --wrap-narrow: 680px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--leaf); text-decoration-color: color-mix(in srgb, var(--leaf) 40%, transparent); text-underline-offset: 3px; }
a:hover { color: var(--forest); }

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

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  clip: rect(0 0 0 0); overflow: hidden; white-space: nowrap;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--forest);
  color: #fff; padding: 10px 16px; z-index: 100; font-family: var(--font-ui);
}
.skip-link:focus { left: 12px; top: 12px; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

/* ---------- Utility type ---------- */
.eyebrow {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--leaf);
  margin: 0 0 10px;
}
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  line-height: 1.15;
  margin: 0 0 0.6em;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 20;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 18px;
}
.brand img { width: 116px; height: auto; }
@media (max-width: 760px) { .brand img { width: 92px; } }
.nav-list {
  display: flex; align-items: center; gap: 28px;
  list-style: none; margin: 0; padding: 0;
  font-family: var(--font-ui); font-size: 0.92rem; font-weight: 600;
  letter-spacing: 0.04em;
}
.nav-list a { color: var(--ink); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-list a:hover { color: var(--leaf); }
.nav-list a[aria-current="page"] { border-bottom-color: var(--gold); }
.nav-cta {
  background: var(--leaf); color: #fff !important;
  padding: 9px 18px !important; border-radius: 999px; border: none !important;
}
.nav-cta:hover { background: var(--forest); }
.nav-toggle { display: none; }

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex; flex-direction: column; gap: 5px;
    background: none; border: 0; padding: 10px; cursor: pointer;
  }
  .nav-toggle-bar { width: 22px; height: 2px; background: var(--ink); transition: transform 0.2s, opacity 0.2s; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-list {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px;
  }
  .nav-list.is-open { display: flex; }
  .nav-list a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-cta { margin-top: 12px; text-align: center; border-radius: 8px; }
}

/* ---------- Leaf rule (signature divider) ---------- */
.leaf-rule { display: flex; align-items: center; gap: 16px; justify-content: center; color: var(--gold); margin-block: 34px; }
.leaf-rule .rule { flex: 0 1 120px; height: 1px; background: var(--gold); opacity: 0.55; }
.leaf-mark { color: var(--leaf); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  background: var(--forest);
  color: #fff;
  overflow: hidden;
}
.hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.34;
}
.hero-inner {
  position: relative;
  padding-block: clamp(70px, 12vw, 140px);
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  padding-inline: 24px;
}
.hero-kicker {
  font-family: var(--font-ui); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; color: #D8C89B;
  margin: 0 0 18px;
}
.hero-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.08; margin: 0 0 22px;
}
.hero-verse {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(1.1rem, 2.2vw, 1.35rem); line-height: 1.5;
  color: #EAE4D3; margin: 0 auto 34px; max-width: 560px;
}
.hero-verse cite { display: block; font-style: normal; font-family: var(--font-ui); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; margin-top: 12px; color: #C9BD9C; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block; font-family: var(--font-ui); font-weight: 700;
  font-size: 0.92rem; letter-spacing: 0.04em; text-decoration: none;
  padding: 13px 28px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: background 0.15s, color 0.15s;
}
.btn-solid { background: var(--gold); color: var(--forest); }
.btn-solid:hover { background: #CBA95F; color: var(--forest); }
.btn-ghost { border-color: rgba(255,255,255,0.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,0.12); color: #fff; }
.btn-green { background: var(--leaf); color: #fff; border: none; }
.btn-green:hover { background: var(--forest); }
.btn-light { background: #fff; color: var(--forest); border: none; }
.btn-light:hover { background: var(--paper-deep); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(50px, 8vw, 90px); }
.section-alt { background: var(--paper-deep); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 34px; }
.section-link { font-family: var(--font-ui); font-weight: 700; font-size: 0.9rem; }

/* ---------- Post cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 34px; }

.post-card { display: flex; flex-direction: column; }
.post-card-media img {
  aspect-ratio: 16 / 10; object-fit: cover; width: 100%;
  border-radius: 6px;
}
.post-card-body { padding-top: 18px; }
.post-card-title { font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; line-height: 1.2; margin: 0 0 8px; }
.post-card-title a { color: var(--ink); text-decoration: none; }
.post-card-title a:hover { color: var(--leaf); }
.post-card-sub { color: var(--ink-soft); font-style: italic; margin: 0 0 10px; font-size: 0.98rem; }
.post-card-more { margin: 0; font-family: var(--font-ui); font-weight: 700; font-size: 0.88rem; }
.post-card-more a { text-decoration: none; }
.post-card-more a:hover { text-decoration: underline; }

/* Blog list variant: horizontal rows */
.post-list { display: grid; gap: 44px; }
.post-list .post-card { flex-direction: row; gap: 28px; align-items: flex-start; }
.post-list .post-card-media { flex: 0 0 300px; }
.post-list .post-card-body { padding-top: 0; }
@media (max-width: 680px) {
  .post-list .post-card { flex-direction: column; gap: 0; }
  .post-list .post-card-media { flex: none; width: 100%; }
  .post-list .post-card-body { padding-top: 16px; }
}

/* ---------- Category band ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.cat-card {
  display: block; text-decoration: none; background: var(--white);
  border: 1px solid var(--line); border-radius: 8px; padding: 26px 24px;
  transition: border-color 0.15s, transform 0.15s;
}
.cat-card:hover { border-color: var(--leaf); transform: translateY(-2px); }
.cat-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; margin: 0 0 4px; color: var(--ink); }
.cat-card span { font-family: var(--font-ui); font-size: 0.82rem; color: var(--ink-soft); letter-spacing: 0.05em; }

/* ---------- About teaser ---------- */
.about-teaser { display: grid; grid-template-columns: 380px 1fr; gap: 54px; align-items: center; }
.about-teaser img { border-radius: 8px; }
@media (max-width: 800px) { .about-teaser { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- Subscribe band ---------- */
.subscribe-band {
  background: var(--forest); color: #fff;
  padding-block: clamp(50px, 7vw, 80px);
  text-align: center;
}
.subscribe-band h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.9rem, 4vw, 2.6rem); margin: 0 0 10px; }
.subscribe-band p { color: #DCD6C4; max-width: 520px; margin: 0 auto 28px; }
.subscribe-form .form-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.subscribe-form input {
  font-family: var(--font-ui); font-size: 0.95rem;
  padding: 13px 18px; border-radius: 999px; border: 1px solid transparent;
  min-width: 220px; background: #fff; color: var(--ink);
}
.subscribe-form input:focus { outline: 2px solid var(--gold); }

/* ---------- Post page ---------- */
.post-header { text-align: center; padding-top: clamp(40px, 6vw, 70px); }
.post-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.1rem, 5vw, 3.2rem); line-height: 1.1; margin: 0 0 14px; }
.post-subtitle { font-family: var(--font-display); font-style: italic; font-size: clamp(1.15rem, 2.4vw, 1.45rem); color: var(--ink-soft); margin: 0 0 18px; line-height: 1.4; }
.post-meta { font-family: var(--font-ui); font-size: 0.85rem; letter-spacing: 0.03em; color: var(--ink-soft); margin: 0; }
.post-hero { margin: clamp(28px, 5vw, 48px) auto; }
.post-hero img { border-radius: 8px; width: 100%; }

.flow > * + * { margin-top: 1.2em; }
.post-body { font-size: 1.125rem; }
.post-body h1, .post-body h2, .post-body h3 {
  font-family: var(--font-display); font-weight: 600; line-height: 1.2; margin-top: 1.8em;
}
.post-body h2 { font-size: 1.75rem; }
.post-body h3 { font-size: 1.4rem; }
.post-body img { border-radius: 6px; margin-inline: auto; }
.post-body blockquote {
  margin: 2em 0; padding: 0 0 0 26px; border-left: 3px solid var(--gold);
  font-family: var(--font-display); font-style: italic; font-size: 1.3rem; line-height: 1.5; color: var(--forest);
}
.post-body hr { border: 0; height: 1px; background: var(--line); margin-block: 2.4em; }

/* Signature: illuminated drop cap */
.dropcap > p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3.4em;
  line-height: 0.82;
  float: left;
  padding: 0.08em 0.14em 0 0;
  color: var(--leaf);
}

.post-footer { padding-bottom: clamp(50px, 7vw, 80px); }
.share { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center; font-family: var(--font-ui); font-size: 0.9rem; margin-bottom: 44px; }
.share-label { font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.72rem; color: var(--ink-soft); }
.share a { text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; color: var(--ink); }
.share a:hover { border-color: var(--leaf); color: var(--leaf); }

.related { margin-bottom: 50px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; }
.related-card { display: block; text-decoration: none; color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; line-height: 1.3; }
.related-card img { aspect-ratio: 16/10; object-fit: cover; border-radius: 6px; margin-bottom: 10px; }
.related-card:hover span { color: var(--leaf); }

.comments { border-top: 1px solid var(--line); padding-top: 40px; }

/* ---------- Blog index ---------- */
.blog-head { text-align: center; padding-block: clamp(40px, 6vw, 64px) 10px; }
.blog-tools { display: flex; flex-direction: column; gap: 18px; align-items: center; margin-bottom: 46px; }
.blog-search {
  font-family: var(--font-ui); font-size: 0.98rem;
  width: min(420px, 100%); padding: 13px 20px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink);
}
.filter-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.filter-btn {
  font-family: var(--font-ui); font-weight: 600; font-size: 0.85rem;
  padding: 8px 18px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
}
.filter-btn:hover { border-color: var(--leaf); color: var(--leaf); }
.filter-btn.is-active { background: var(--leaf); border-color: var(--leaf); color: #fff; }
.blog-empty { text-align: center; color: var(--ink-soft); font-style: italic; padding-block: 40px; display: none; }

/* ---------- Simple pages ---------- */
.page-header { text-align: center; padding-block: clamp(44px, 6vw, 70px) 10px; }
.page-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.2rem, 5vw, 3.1rem); margin: 0 0 10px; }
.page-lead { color: var(--ink-soft); font-size: 1.1rem; max-width: 560px; margin-inline: auto; }

.about-grid { display: block; }
.about-grid img {
  width: 100%; max-width: 780px; margin: 0 auto clamp(34px, 5vw, 54px);
  border-radius: 10px; box-shadow: 0 18px 40px -22px rgba(38, 64, 47, 0.45);
}
.about-grid .flow { max-width: 720px; margin-inline: auto; }

.verse-callout {
  margin: 2em 0; padding: 28px 30px; background: var(--leaf-soft);
  border-radius: 8px; font-family: var(--font-display); font-style: italic;
  font-size: 1.25rem; line-height: 1.55; color: var(--forest);
}
.verse-callout cite { display: block; font-family: var(--font-ui); font-style: normal; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; margin-top: 12px; }

/* ---------- Forms (contact) ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: clamp(26px, 4vw, 44px); }
.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-family: var(--font-ui); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 8px; color: var(--ink-soft); }
.form-field input, .form-field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem;
  padding: 12px 16px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper);
  color: var(--ink);
}
.form-field input:focus, .form-field textarea:focus { outline: 2px solid var(--gold); border-color: transparent; }

/* ---------- Footer ---------- */
.site-footer { background: var(--paper-deep); border-top: 1px solid var(--line); margin-top: 0; }
.footer-inner { text-align: center; padding-block: 44px 34px; }
.site-footer .leaf-rule { margin-top: 0; }
.footer-verse { margin: 0 auto 26px; max-width: 520px; }
.footer-verse p { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; line-height: 1.55; color: var(--forest); margin: 0 0 8px; }
.footer-verse cite { font-family: var(--font-ui); font-style: normal; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.footer-nav { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; font-family: var(--font-ui); font-size: 0.85rem; font-weight: 600; margin-bottom: 18px; }
.footer-nav a { text-decoration: none; color: var(--ink); }
.footer-nav a:hover { color: var(--leaf); }
.footer-copy { font-family: var(--font-ui); font-size: 0.78rem; color: var(--ink-soft); margin: 0; }
