/* ============================================================
   GRACE AND PEACE STUDIO
   Site stylesheet · v.1
   Palette C · Black ink, oxblood accent, cream ground
   ============================================================ */

:root {
  color-scheme: light only;
  --ink: #1A1A1A;
  --accent: #8A3324;
  --accent-light: #D4856A;
  --ground: #F5F1EA;
  --paper: #faf6ee;
  --rule: #c8c1b3;
  --note: #6b665e;
  --measure: 680px;
}

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

html {
  font-size: 17px;
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Spectral', Georgia, serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ============================================================
   Typography
   ============================================================ */

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: var(--ink);
}

h1 { font-size: 2.5rem; margin-bottom: 1rem; }
h2 { font-size: 1.9rem; margin-bottom: 0.85rem; }
h3 { font-size: 1.35rem; margin-bottom: 0.7rem; }
h4 { font-size: 1.1rem; margin-bottom: 0.6rem; }

p { margin-bottom: 1rem; max-width: var(--measure); }

p.lead {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--ink);
}

em { font-style: italic; }
strong { font-weight: 500; }

a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  transition: border-color 0.2s ease, color 0.2s ease;
}
a:hover { color: var(--accent); border-bottom-color: var(--accent); }

.eyebrow {
  font-family: 'Spectral', serif;
  font-style: italic;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--note);
  margin-bottom: 1rem;
  display: block;
}

.accent { color: var(--accent); }

/* ============================================================
   Layout primitives
   ============================================================ */

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
}

.narrow {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 28px;
}

section { padding: 90px 0; }

.hr-rule {
  border-top: 1px solid var(--rule);
  margin: 60px 0;
}

/* ============================================================
   Header
   ============================================================ */

.site-header {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(6px);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 22px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: none;
}
.site-logo svg {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}
.site-logo .wm {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1;
}
.site-logo .wm .amp { font-style: italic; font-weight: 400; }
.site-logo .sub {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 9px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 3px;
}

.site-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.site-nav a {
  font-family: 'Spectral', serif;
  font-size: 14px;
  color: var(--ink);
  border-bottom: none;
  letter-spacing: 0.02em;
}
.site-nav a:hover { color: var(--accent); }
.site-nav a.cta {
  background: var(--ink);
  color: var(--ground);
  padding: 9px 18px;
  font-size: 13px;
  letter-spacing: 0.06em;
}
.site-nav a.cta:hover { background: var(--accent); color: var(--ground); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-family: 'Spectral', serif;
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  padding: 120px 0 80px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 60px;
  align-items: center;
}
.hero h1 {
  font-size: 3.4rem;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin-bottom: 1.5rem;
}
.hero h1 em { color: var(--accent); font-weight: 500; }
.hero .lead {
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 2rem;
}
.hero-mark svg {
  width: 100%;
  height: auto;
}

.button-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  font-family: 'Spectral', serif;
  font-size: 14px;
  letter-spacing: 0.06em;
  border-bottom: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-primary {
  background: var(--ink);
  color: var(--ground);
}
.btn-primary:hover {
  background: var(--accent);
  color: var(--ground);
}
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-secondary:hover {
  background: var(--ink);
  color: var(--ground);
}

/* ============================================================
   Section variants
   ============================================================ */

.section-light { background: var(--paper); }
.section-cream { background: var(--ground); }
.section-ink   { background: var(--ink); color: var(--ground); }
.section-ink h1, .section-ink h2, .section-ink h3, .section-ink h4 { color: var(--ground); }
.section-ink p, .section-ink p.lead, .section-ink li { color: var(--ground); }
.section-ink a { color: var(--ground); border-bottom-color: rgba(245,241,234,0.3); }
.section-ink a:hover { color: var(--accent-light); border-bottom-color: var(--accent-light); }
.section-ink .eyebrow { color: var(--accent-light); }
.section-ink em { color: var(--accent-light); font-style: italic; }
.section-ink strong { color: var(--ground); }

/* ============================================================
   Offering cards
   ============================================================ */

.offerings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 50px;
}
.offering-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.2s ease;
}
.offering-card:hover { border-color: var(--accent); }
.offering-card .eyebrow { color: var(--accent); margin-bottom: 0.7rem; }
.offering-card h3 { margin-bottom: 0.6rem; }
.offering-card p {
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--note);
  flex: 1;
}
.offering-card .read-more {
  font-family: 'Spectral', serif;
  font-size: 13px;
  font-style: italic;
  letter-spacing: 0.04em;
  margin-top: 18px;
  border-bottom: none;
  color: var(--ink);
}
.offering-card .read-more:after {
  content: " →";
  color: var(--accent);
}

/* ============================================================
   Witness blocks
   ============================================================ */

.witness {
  border-left: 2px solid var(--accent);
  padding: 6px 0 6px 24px;
  margin-bottom: 36px;
  max-width: var(--measure);
}
.witness blockquote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 12px;
}
.witness cite {
  font-family: 'Spectral', serif;
  font-style: normal;
  font-size: 0.85rem;
  color: var(--note);
  letter-spacing: 0.04em;
}

/* ============================================================
   Page intro / page hero
   ============================================================ */

.page-intro {
  padding: 80px 0 50px;
  border-bottom: 1px solid var(--rule);
}
.page-intro h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* ============================================================
   Daily word card
   ============================================================ */

.daily-card {
  background: var(--ground);
  border: 1px solid var(--rule);
  padding: 50px 40px;
  margin: 40px 0;
}
.daily-card .eyebrow { color: var(--accent); }
.daily-card h3 { margin-bottom: 1rem; }
.daily-card p { color: var(--ink); }

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  background: var(--ink);
  color: var(--ground);
  padding: 70px 0 40px;
  margin-top: 60px;
}
.site-footer .container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}
.site-footer h4 {
  font-family: 'Spectral', serif;
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 16px;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a {
  font-family: 'Spectral', serif;
  font-size: 14px;
  color: var(--ground);
  border-bottom: none;
  opacity: 0.8;
}
.site-footer a:hover { opacity: 1; color: var(--accent-light); }
.site-footer .footer-mark {
  display: flex;
  align-items: center;
  gap: 14px;
}
.site-footer .footer-mark svg { width: 44px; height: 44px; }
.site-footer .footer-mark .wm {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ground);
  line-height: 1;
}
.site-footer .footer-mark .wm .amp { font-style: italic; font-weight: 400; }
.site-footer .footer-mark .sub {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 9px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-top: 3px;
}
.footer-bar {
  border-top: 1px solid rgba(245,241,234,0.15);
  padding-top: 24px;
  font-family: 'Spectral', serif;
  font-size: 12px;
  color: rgba(245,241,234,0.6);
  letter-spacing: 0.04em;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-bar .signoff {
  font-style: italic;
  color: var(--accent-light);
}

/* ============================================================
   Story / About specifics
   ============================================================ */

.story-block {
  margin-bottom: 50px;
}
.story-block h2 {
  margin-bottom: 1.5rem;
}
.story-block p + p { margin-top: 1rem; }

.pull-quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.6rem;
  line-height: 1.4;
  color: var(--ink);
  border-left: 2px solid var(--accent);
  padding-left: 28px;
  margin: 50px 0;
  max-width: 600px;
}

/* ============================================================
   Offering page specifics
   ============================================================ */

.offering-anchor {
  background: var(--ground);
  padding: 50px 40px;
  border-left: 3px solid var(--accent);
  margin: 50px 0;
  max-width: var(--measure);
}
.offering-anchor h3 { margin-bottom: 1rem; }
.offering-anchor p { color: var(--ink); }

.simple-list {
  list-style: none;
  margin: 30px 0;
  max-width: var(--measure);
}
.simple-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 1rem;
}
.simple-list li:before {
  content: "·";
  color: var(--accent);
  margin-right: 14px;
  font-weight: bold;
}

/* ============================================================
   Subscribe / contact form
   ============================================================ */

.subscribe-block {
  background: var(--ground);
  padding: 50px 40px;
  margin: 40px 0;
  max-width: var(--measure);
}
.subscribe-block h3 { margin-bottom: 0.7rem; }
.subscribe-block input {
  width: 100%;
  padding: 14px 16px;
  font-family: 'Spectral', serif;
  font-size: 15px;
  background: var(--paper);
  border: 1px solid var(--rule);
  margin-top: 14px;
  color: var(--ink);
}
.subscribe-block input:focus {
  outline: none;
  border-color: var(--accent);
}
.subscribe-block button {
  background: var(--ink);
  color: var(--ground);
  border: none;
  padding: 14px 24px;
  font-family: 'Spectral', serif;
  font-size: 14px;
  letter-spacing: 0.06em;
  cursor: pointer;
  margin-top: 14px;
}
.subscribe-block button:hover { background: var(--accent); }

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 820px) {
  html { font-size: 16px; }
  .hero { padding: 60px 0 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-mark { max-width: 220px; margin: 0 auto; }
  .hero h1 { font-size: 2.4rem; }
  .offerings-grid { grid-template-columns: 1fr; }
  .site-footer .container { grid-template-columns: 1fr; gap: 36px; }
  section { padding: 60px 0; }
  .menu-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--paper);
    border: 1px solid var(--rule);
    border-top: none;
    flex-direction: column;
    padding: 20px 28px;
    gap: 16px;
    align-items: flex-start;
    min-width: 200px;
  }
  .site-nav.open { display: flex; }
  .site-header .container { position: relative; }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.55rem; }
  .hero h1 { font-size: 2rem; }
  .page-intro h1 { font-size: 2.2rem; }
  .offering-anchor, .daily-card, .subscribe-block { padding: 30px 24px; }
  .pull-quote { font-size: 1.25rem; padding-left: 20px; }
}

/* ============================================================
   v.2 additions
   ============================================================ */

/* Suggested gift / pricing panel inside an offering page */
.suggested-gift {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--accent);
  padding: 32px 28px;
  margin: 36px 0;
  max-width: var(--measure);
}
.suggested-gift .label {
  font-family: 'Spectral', serif;
  font-style: italic;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.suggested-gift .amount {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: 1.6rem;
  margin-bottom: 8px;
  color: var(--ink);
}
.suggested-gift .amount-detail {
  font-family: 'Spectral', serif;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--note);
  margin-bottom: 14px;
}
.suggested-gift p {
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--ink);
}
.suggested-gift .sliding {
  font-family: 'Spectral', serif;
  font-style: italic;
  font-size: 0.92rem;
  color: var(--note);
  margin-top: 14px;
  border-top: 1px solid var(--rule);
  padding-top: 14px;
}

/* Easy-action support strip that appears near the bottom of pages */
.support-strip {
  background: var(--ground);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 36px 0;
  margin: 60px 0 0;
}
.support-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.support-strip .strip-text {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink);
}
.support-strip .strip-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.support-strip a {
  font-family: 'Spectral', serif;
  font-size: 14px;
  letter-spacing: 0.04em;
  border-bottom: none;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--ground);
}
.support-strip a:hover { background: var(--accent); }
.support-strip a.outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.support-strip a.outline:hover { background: var(--ink); color: var(--ground); }

/* QR + email easy actions on the contact page */
.easy-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 40px 0;
}
@media (max-width: 720px) {
  .easy-actions { grid-template-columns: 1fr; }
}
.easy-action {
  background: var(--ground);
  border: 1px solid var(--rule);
  padding: 30px 26px;
  text-align: center;
}
.easy-action h3 { margin-bottom: 10px; }
.easy-action p { font-size: 0.94rem; color: var(--note); margin-bottom: 18px; }
.easy-action a {
  display: inline-block;
  background: var(--ink);
  color: var(--ground);
  padding: 12px 22px;
  font-family: 'Spectral', serif;
  font-size: 14px;
  letter-spacing: 0.04em;
  border-bottom: none;
}
.easy-action a:hover { background: var(--accent); }

/* Calendly-style placeholder block */
.calendly-block {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 50px 40px;
  margin: 36px 0;
  text-align: center;
}
.calendly-block iframe {
  width: 100%;
  min-height: 640px;
  border: none;
  background: var(--paper);
}
.calendly-block .placeholder {
  font-family: 'Spectral', serif;
  font-style: italic;
  color: var(--note);
  padding: 40px 20px;
}

/* Inline scripture passage */
.scripture {
  border-left: 2px solid var(--accent);
  padding: 6px 0 6px 22px;
  margin: 28px 0;
  max-width: var(--measure);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--ink);
}
.scripture .ref {
  display: block;
  font-family: 'Spectral', serif;
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--note);
  margin-top: 10px;
}

/* ============================================================
   v.2.2 — Give popup, nav button, Linktree footer link
   ============================================================ */

/* The Give button in the top navigation */
.site-nav .give-btn {
  background: var(--accent);
  color: var(--ground);
  padding: 8px 18px;
  border: none;
  font-family: 'Spectral', serif;
  font-size: 14px;
  letter-spacing: 0.04em;
  cursor: pointer;
  margin-left: 8px;
  border-bottom: none;
  transition: background 0.2s ease;
}
.site-nav .give-btn:hover {
  background: var(--ink);
  color: var(--ground);
}

/* The give popup overlay */
.give-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(26, 26, 26, 0.7);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}
.give-overlay.open { display: flex; }
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.give-popup {
  background: var(--paper);
  max-width: 460px;
  width: 100%;
  padding: 40px 36px 32px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: slideUp 0.25s ease;
}
@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.give-popup .close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  background: transparent;
  border: none;
  font-size: 24px;
  color: var(--note);
  cursor: pointer;
  line-height: 1;
  padding: 4px 10px;
  font-family: 'Spectral', serif;
}
.give-popup .close-btn:hover { color: var(--ink); }

.give-popup .give-eyebrow {
  font-family: 'Spectral', serif;
  font-style: italic;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.give-popup h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: var(--ink);
}
.give-popup .give-intro {
  font-family: 'Spectral', serif;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--note);
  margin-bottom: 24px;
  line-height: 1.5;
}

.give-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}
.give-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: var(--ground);
  border: 1px solid var(--rule);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.give-option:hover {
  border-color: var(--accent);
  background: var(--paper);
}
.give-option .label {
  display: flex;
  flex-direction: column;
}
.give-option .name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--ink);
}
.give-option .detail {
  font-family: 'Spectral', serif;
  font-style: italic;
  font-size: 0.85rem;
  color: var(--note);
  margin-top: 2px;
}
.give-option .arrow {
  font-family: 'Spectral', serif;
  font-size: 18px;
  color: var(--accent);
}

.give-footnote {
  font-family: 'Spectral', serif;
  font-style: italic;
  font-size: 0.85rem;
  color: var(--note);
  text-align: center;
  border-top: 1px solid var(--rule);
  padding-top: 14px;
  margin-top: 4px;
}
.give-footnote a {
  color: var(--accent);
  border-bottom: 1px solid rgba(138, 51, 36, 0.2);
}

/* Footer Linktree link */
.site-footer .linktree-line {
  font-family: 'Spectral', serif;
  font-size: 12px;
  font-style: italic;
  color: rgba(245,241,234,0.6);
  margin-top: 8px;
}
.site-footer .linktree-line a {
  color: var(--accent-light);
  border-bottom: 1px solid rgba(212, 133, 106, 0.3);
  font-style: italic;
}
