/* ============================================================
   Becoming Love Ministries — modern, clean, minimal
   ============================================================ */

:root {
  /* Palette — warmth drawn from an Arizona desert-garden photo */
  --bg:        #fbf9f5;
  --bg-alt:    #f2eee5;
  --surface:   #ffffff;
  --ink:       #1b2740;   /* deep navy */
  --ink-soft:  #4c566b;
  --ink-faint: #8a90a0;
  --accent:    #c0883e;   /* warm gold */
  --accent-dk: #a06f2c;
  --line:      #e7e1d5;

  --radius:    18px;
  --radius-sm: 12px;
  --shadow:    0 18px 50px -20px rgba(27, 39, 64, 0.35);
  --shadow-sm: 0 6px 20px -10px rgba(27, 39, 64, 0.28);

  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --container: 1120px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 500; line-height: 1.12; letter-spacing: -0.01em; }

::selection { background: var(--accent); color: #fff; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }
.center { text-align: center; }
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section-alt { background: var(--bg-alt); }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-dk);
  margin-bottom: 0.9rem;
}
.eyebrow.center { display: block; }

.section-title { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); }
.section-sub {
  color: var(--ink-soft);
  font-size: 1.075rem;
  max-width: 60ch;
  margin: 1.1rem auto 0;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 0.75rem 1.25rem; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-body); font-weight: 600; font-size: 0.98rem;
  padding: 0.85rem 1.6rem; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .18s ease, background .18s ease, box-shadow .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-dk); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); background: var(--surface); }
.btn-small { padding: 0.55rem 1.1rem; font-size: 0.9rem; }
.btn-large { padding: 1.05rem 2.2rem; font-size: 1.1rem; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.brand-mark { color: var(--accent); font-size: 1.3rem; line-height: 1; }
.brand-text { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; line-height: 1.05; }
.brand-sub { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); }

.nav-links { list-style: none; display: flex; align-items: center; gap: 1.9rem; padding: 0; }
.nav-links a { font-weight: 500; font-size: 0.96rem; color: var(--ink-soft); transition: color .15s ease; }
.nav-links a:hover { color: var(--ink); }
.nav-links .nav-cta { color: #fff; }
.nav-links .nav-cta:hover { color: #fff; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.5rem, 5vw, 5rem) clamp(3rem, 7vw, 6rem); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.hero-copy { animation: rise .8s ease both; }
.hero-title { font-size: clamp(2.4rem, 1.4rem + 4vw, 4.1rem); margin-bottom: 1.25rem; }
.hero-lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 32ch; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.hero-photo {
  position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  animation: rise .9s .1s ease both;
}
.hero-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(27,39,64,0.18));
}

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Story / prose ---------- */
.prose { margin-top: 2rem; }
.prose p { margin-bottom: 1.15rem; color: var(--ink-soft); font-size: 1.12rem; }
.prose strong { color: var(--ink); }
.prose blockquote {
  margin-top: 2rem; padding: 1.5rem 1.75rem; border-left: 3px solid var(--accent);
  background: var(--surface); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-head); font-size: 1.3rem; font-style: italic; color: var(--ink); box-shadow: var(--shadow-sm);
}
.prose blockquote cite { display: block; margin-top: 0.6rem; font-size: 0.9rem; font-style: normal; font-family: var(--font-body); color: var(--ink-faint); letter-spacing: 0.04em; }

/* ---------- Watch / video grid ---------- */
.video-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.5rem; margin-top: 3rem;
}
.video-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
  display: flex; flex-direction: column;
}
.video-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.video-thumb {
  position: relative; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; cursor: pointer;
  background-size: cover; background-position: center; background-color: #0c1322; display: block;
}
.video-thumb::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,19,34,0) 45%, rgba(12,19,34,0.55));
  transition: background .2s ease;
}
.video-thumb:hover::before { background: rgba(12,19,34,0.35); }
.video-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255,255,255,0.92); display: grid; place-items: center;
  transition: transform .2s ease, background .2s ease;
}
.video-thumb:hover .video-play { transform: translate(-50%, -50%) scale(1.08); background: #fff; }
.video-play::after { content: ""; border-style: solid; border-width: 11px 0 11px 19px; border-color: transparent transparent transparent var(--ink); margin-left: 4px; }
.video-ep {
  position: absolute; top: 0.75rem; left: 0.75rem; z-index: 1;
  background: var(--accent); color: #fff; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; padding: 0.3rem 0.65rem; border-radius: 999px;
}
.video-card iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }
.video-meta { padding: 1.1rem 1.25rem 1.3rem; }
.video-title { font-family: var(--font-head); font-weight: 500; font-size: 1.15rem; line-height: 1.25; }

.watch-footer { margin-top: 3rem; }
.podcast-note { margin-top: 1.25rem; color: var(--ink-faint); font-size: 0.95rem; }

/* ---------- Support / give ---------- */
.give-card {
  margin: 2.5rem auto 0; max-width: 420px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 2.5rem 2rem; box-shadow: var(--shadow);
}
.tax-note { margin: 1.1rem auto 0; max-width: 520px; color: var(--ink-faint); font-size: 0.9rem; line-height: 1.6; }
.give-or { margin: 1.5rem 0 1.1rem; color: var(--ink-faint); font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase; }
.qr { display: inline-block; }
.qr img { width: 200px; height: 200px; margin-inline: auto; border-radius: var(--radius-sm); }
.qr figcaption { margin-top: 0.75rem; font-weight: 600; color: var(--ink-soft); }

/* ---------- Contact ---------- */
.contact-links { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; margin-top: 2rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #e9ecf3; padding-block: 3.5rem; }
.footer-brand { font-family: var(--font-head); font-size: 1.35rem; font-weight: 600; }
.footer-verse { font-family: var(--font-head); font-style: italic; color: #b9c0d4; margin-top: 0.6rem; }
.footer-verse-ref { display: block; margin-top: 0.5rem; font-style: normal; }
.footer-meta { margin-top: 1.5rem; font-size: 0.85rem; color: #8089a3; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { order: -1; max-width: 460px; margin-inline: auto; }
  .hero-lead { max-width: none; }

  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--gutter) 1.25rem; box-shadow: var(--shadow);
    transform: translateY(-130%); transition: transform .3s ease; visibility: hidden;
  }
  .nav-links.open { transform: translateY(0); visibility: visible; }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links li:last-child { border-bottom: 0; padding-top: 0.75rem; }
  .nav-links a { display: block; padding: 0.9rem 0; font-size: 1.05rem; }
  .nav-links .nav-cta { text-align: center; }
}
