/* ==========================================================================
   The Christ Life — design system
   Editorial / author-teacher aesthetic. Palette sampled from the logo (wine),
   warm cream ground, antique-gold hairlines used with restraint.
   Type: Cormorant Garamond (display) · Spectral (reading body) · Archivo (utility).
   ========================================================================== */

:root {
  /* Color — sampled from the logo: deep wine #600000 + neutral silver "Life" #9c9c9c.
     Ground is a soft near-white (logo lives on white); accents are pewter/silver, no gold. */
  --wine:        #6b0d15;   /* logo red #600000, warmed a touch for screen */
  --wine-deep:   #470008;
  --wine-bright: #8a1622;   /* hover */
  --ink:         #1c1b1a;   /* near-black, neutral */
  --cream:       #f7f6f3;   /* soft neutral paper (was warm cream) */
  --cream-2:     #fcfbf9;   /* lifted panel */
  --gray:        #8a8a8d;   /* logo silver family */
  --gray-deep:   #56565a;   /* neutral reading gray */
  --gold:        #6f7074;   /* repurposed: pewter accent for labels (legible silver) */
  --silver-lt:   #c7c8cc;   /* light silver for text on the wine ground */
  --line:        rgba(28, 27, 26, 0.12);
  --line-strong: rgba(28, 27, 26, 0.22);
  --gold-line:   rgba(120, 121, 126, 0.55);  /* silver hairline */

  /* Type */
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --body:    "Spectral", Georgia, serif;
  --util:    "Archivo", "Helvetica Neue", Arial, sans-serif;

  /* Scale / rhythm */
  --measure: 64rem;          /* page max width */
  --reading: 38rem;          /* prose column */
  --pad:     clamp(1.25rem, 5vw, 4rem);
  --section: clamp(4.5rem, 9vw, 8rem);
  --r:       3px;            /* near-square corners; editorial */
}

/* ------------------------------------------------------------------ reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(1.0625rem, 0.4vw + 1rem, 1.1875rem);
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--wine); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--wine-bright); }

/* skip link */
.skip {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--wine); color: #fff; padding: .6rem 1rem;
  font-family: var(--util); font-size: .8rem; border-radius: 0 0 var(--r) 0;
}
.skip:focus { left: 0; color: #fff; }

/* focus visibility */
:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; border-radius: 2px; }

/* ------------------------------------------------------------ structure */
.wrap { max-width: var(--measure); margin-inline: auto; padding-inline: var(--pad); }

.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

/* chapter eyebrow + gold rule — repeated structural device */
.eyebrow {
  font-family: var(--util);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.1rem;
  display: flex;
  align-items: center;
  gap: .9rem;
}
.eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--gold-line);
  max-width: 7rem;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::before {
  content: "";
  height: 1px; width: 3rem; background: var(--gold-line);
}

/* headings */
h1, h2, h3 { font-family: var(--display); font-weight: 600; color: var(--ink); margin: 0; line-height: 1.05; }
.h-display { font-size: clamp(2.7rem, 6.5vw, 5rem); letter-spacing: -0.01em; font-weight: 600; }
.h-section { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.005em; }
.h-card    { font-size: 1.5rem; line-height: 1.15; }
.lede {
  font-family: var(--body);
  font-size: clamp(1.15rem, 0.6vw + 1.05rem, 1.4rem);
  line-height: 1.5;
  color: var(--gray-deep);
}
.prose { max-width: var(--reading); }
.prose p { margin: 0 0 1.1rem; }
.prose p:last-child { margin-bottom: 0; }

.muted { color: var(--gray); }

/* ------------------------------------------------------------- buttons */
.btn {
  font-family: var(--util);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.5rem;
  border-radius: var(--r);
  border: 1px solid var(--wine);
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
}
.btn--primary { background: var(--wine); color: var(--cream); }
.btn--primary:hover { background: var(--wine-bright); border-color: var(--wine-bright); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--wine); }
.btn--ghost:hover { background: var(--wine); color: var(--cream); transform: translateY(-1px); }
.btn--onwine { border-color: rgba(247,242,233,0.55); color: var(--cream); background: transparent; }
.btn--onwine:hover { background: var(--cream); color: var(--wine); border-color: var(--cream); }
.btn .arw { transition: transform .2s ease; }
.btn:hover .arw { transform: translateX(3px); }

/* ----------------------------------------------------------------- nav */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: var(--measure); margin-inline: auto; padding: .85rem var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
/* full logo (incl. tagline) in the nav — taller so the tagline stays legible */
.brand__mark { height: 46px; width: auto; display: block; }
@media (max-width: 520px) { .brand__mark { height: 40px; } }
.brand__name { font-family: var(--display); font-weight: 600; font-size: 1.2rem; letter-spacing: .01em; line-height: 1; }
.nav__links { display: flex; align-items: center; gap: 1.6rem; }
.nav__links a {
  font-family: var(--util); font-size: .82rem; font-weight: 500; letter-spacing: .04em;
  color: var(--gray-deep); text-decoration: none;
}
.nav__links a:hover { color: var(--wine); }
.nav__links .btn { padding: .55rem 1rem; }
/* keep the button's own text color (the .nav__links a rule above is more specific) */
.nav__links a.btn--primary { color: var(--cream); }
.nav__links a.btn--primary:hover { color: #fff; }
.nav__toggle { display: none; }

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__toggle {
    display: inline-flex; align-items: center; gap: .5rem; background: none; border: 1px solid var(--line-strong);
    border-radius: var(--r); padding: .5rem .8rem; font-family: var(--util); font-size: .78rem;
    letter-spacing: .08em; text-transform: uppercase; color: var(--ink); cursor: pointer;
  }
  .nav__links.is-open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--cream-2); border-bottom: 1px solid var(--line);
    padding: 1.4rem var(--pad) 1.8rem;
  }
  .nav__links.is-open .btn { padding: .75rem 1.3rem; }
}

/* utility */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------------------------------------------------------------- hero */
.hero { padding-top: clamp(2.5rem, 5vw, 4.5rem); padding-bottom: var(--section); }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero__logo { width: clamp(17rem, 38vw, 26rem); height: auto; margin: 0 0 1.8rem; }
.hero__intro { max-width: 32rem; margin: 0 0 2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; }

/* framed portrait */
.portrait { position: relative; }
.portrait__panel {
  position: absolute; inset: 1.4rem -1.4rem -1.4rem 1.4rem;
  background: var(--wine); border-radius: var(--r); z-index: 0;
}
.portrait__img {
  position: relative; z-index: 1; border-radius: var(--r);
  box-shadow: 0 24px 60px -28px rgba(31,27,25,.55);
  width: 100%; object-fit: cover; aspect-ratio: 4 / 5;
}
.portrait__cap {
  position: relative; z-index: 1; margin-top: 1.7rem;
  font-family: var(--util); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--silver-lt); padding-left: 1.4rem;
}

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .portrait { max-width: 24rem; }
  .portrait__panel { inset: 1rem -1rem -1rem 1rem; }
}

/* ------------------------------------------------- epigraph (signature) */
.epigraph { background: var(--wine); color: var(--cream); position: relative; overflow: hidden; }
.epigraph::before, .epigraph::after {
  content: ""; position: absolute; left: var(--pad); right: var(--pad); height: 1px;
  background: var(--gold-line);
}
.epigraph::before { top: clamp(2.4rem, 5vw, 4rem); }
.epigraph::after  { bottom: clamp(2.4rem, 5vw, 4rem); }
.epigraph__inner { max-width: 52rem; margin-inline: auto; text-align: center; padding-block: clamp(1rem,3vw,2.5rem); }
.epigraph__mark { font-family: var(--display); font-size: 4rem; line-height: 0; color: var(--silver-lt); display: block; height: 2.2rem; }
.epigraph blockquote {
  margin: 0; font-family: var(--display); font-style: italic; font-weight: 500;
  font-size: clamp(1.9rem, 4.2vw, 3.25rem); line-height: 1.18; letter-spacing: -0.005em;
}
.epigraph cite {
  display: block; margin-top: 1.8rem; font-style: normal; font-family: var(--util);
  font-size: .8rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--silver-lt);
}

/* ----------------------------------------------- two-column section head */
.split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; gap: 1.5rem; } }

/* --------------------------------------------------------------- cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 2.6rem; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; max-width: 30rem; } }
.card {
  background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.7rem 1.6rem 1.8rem; display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -30px rgba(31,27,25,.5); border-color: var(--line-strong); }
.card__num { font-family: var(--util); font-size: .74rem; letter-spacing: .2em; color: var(--gold); margin-bottom: 1rem; }
.card__title { margin: 0 0 .6rem; }
.card__body { margin: 0 0 1.4rem; color: var(--gray-deep); font-size: 1rem; line-height: 1.55; flex: 1; }
.card__link {
  font-family: var(--util); font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; color: var(--wine); display: inline-flex; align-items: center; gap: .4rem;
}
.card__link .arw { transition: transform .2s ease; }
.card__link:hover .arw { transform: translateX(3px); }

.linkrow { margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: .8rem 1.6rem; align-items: center; }
.linkrow span { font-family: var(--util); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gray); }

/* ------------------------------------------------ teachings (link hub) */
.feed { margin-top: 3rem; }
.feed + .feed { margin-top: 3.75rem; }
.feed__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem 1.5rem;
  flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 1rem; margin-bottom: 1.6rem;
}
.feed__title { font-family: var(--display); font-weight: 600; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.1; }
.feed__head .btn { padding: .6rem 1.1rem; font-size: .74rem; }

.watchlist { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
@media (max-width: 680px) { .watchlist { grid-template-columns: 1fr; } }
.watchlink {
  display: flex; align-items: center; gap: 1rem; padding: 1.05rem 1.25rem;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--cream-2);
  text-decoration: none; color: var(--ink);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.watchlink:hover { transform: translateY(-2px); border-color: var(--line-strong); box-shadow: 0 18px 38px -28px rgba(28,27,26,.55); }
.watchlink__play {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; font-size: .8rem; line-height: 1;
  background: var(--wine); color: var(--cream); font-family: var(--util); font-weight: 700;
}
.watchlink__play--fb { background: var(--ink); text-transform: lowercase; font-size: 1rem; }
.watchlink__body { display: flex; flex-direction: column; gap: .25rem; min-width: 0; }
.watchlink__title { font-family: var(--display); font-size: 1.18rem; line-height: 1.2; font-weight: 600; }
.watchlink__date { font-family: var(--util); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gray); }
.watchlink .arw { margin-left: auto; color: var(--gray); transition: transform .2s ease, color .2s ease; }
.watchlink:hover .arw { transform: translateX(3px); color: var(--wine); }

/* --------------------------------------------------------------- books */
.books { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 4vw, 3rem); margin-top: 2.8rem; }
@media (max-width: 760px) { .books { grid-template-columns: 1fr; max-width: 30rem; } }
.book { display: grid; grid-template-columns: 140px 1fr; gap: 1.5rem; align-items: start; }
@media (max-width: 480px) { .book { grid-template-columns: 110px 1fr; gap: 1.1rem; } }
.book__cover {
  width: 100%; height: auto; display: block; border-radius: var(--r);
  box-shadow: 0 16px 34px -20px rgba(31,27,25,.6); border: 1px solid var(--line);
}
.book__title { margin: 0 0 .35rem; font-size: 1.4rem; }
.book__sub { font-style: italic; color: var(--gray-deep); margin: 0 0 .55rem; font-size: 1.02rem; line-height: 1.4; }
.book__author { font-family: var(--util); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gray); margin: 0 0 1.1rem; }
.book__cta { display: flex; flex-wrap: wrap; gap: .6rem; }
.book__cta .btn { padding: .6rem 1rem; font-size: .74rem; }
.book__more { cursor: pointer; }

/* expandable Amazon-sourced synopsis */
.book__desc {
  margin-top: 1.1rem; padding-left: 1.1rem; border-left: 2px solid var(--gold-line);
  max-width: 34rem;
}
.book__desc p { margin: 0 0 .7rem; color: var(--gray-deep); font-size: 1rem; line-height: 1.55; }
.book__desc p:last-child { margin-bottom: 0; }
.book__facts {
  list-style: none; margin: .8rem 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: .3rem 1.2rem;
}
.book__facts li {
  font-family: var(--util); font-size: .72rem; letter-spacing: .04em; color: var(--gray);
}
.book__facts b { color: var(--gray-deep); font-weight: 600; }

/* ----------------------------------------------- social follow/subscribe icons */
.social { display: flex; gap: .6rem; align-items: center; }
.social__link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong);
  color: var(--wine); background: transparent; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.social__link svg { width: 20px; height: 20px; fill: currentColor; display: block; }
.social__link:hover { background: var(--wine); color: var(--cream); border-color: var(--wine); transform: translateY(-2px); }

/* on the dark footer */
.social--footer .social__link { border-color: rgba(247,242,233,.3); color: rgba(247,242,233,.85); }
.social--footer .social__link:hover { background: var(--cream); color: var(--wine); border-color: var(--cream); }

/* teachings "follow" row */
.follow { margin-top: 3rem; display: flex; align-items: center; gap: 1rem 1.2rem; flex-wrap: wrap; }
.follow__text { margin: 0; font-family: var(--util); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gray); }

/* --------------------------------------------------------------- about */
.about__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 760px) { .about__grid { grid-template-columns: 1fr; max-width: 34rem; } }
.about__img { border-radius: var(--r); width: 100%; object-fit: cover; aspect-ratio: 1 / 1; box-shadow: 0 20px 44px -26px rgba(31,27,25,.5); }
.about__contact { margin-top: 1.6rem; font-family: var(--util); font-size: .9rem; letter-spacing: .02em; }
.about__contact a { font-weight: 500; }

/* ------------------------------------------------------------- support */
.support { background: var(--cream-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.give { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2.4rem; }
@media (max-width: 760px) { .give { grid-template-columns: 1fr; max-width: 26rem; } }
.give__item { border: 1px solid var(--line); border-radius: var(--r); padding: 1.3rem 1.4rem; background: var(--cream); }
.give__label { font-family: var(--util); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: .5rem; }
.give__val { font-family: var(--display); font-size: 1.3rem; font-weight: 600; }
.give__note { font-size: .92rem; color: var(--gray); margin-top: .3rem; }
/* Support: heading + copy on the left, Cash App QR card on the right */
.support__split { align-items: center; }
.support__split .give { grid-template-columns: 1fr; margin-top: 0; max-width: 19rem; }
@media (max-width: 760px) { .support__split .give { margin-left: auto; margin-right: auto; } }
.give__item--cash { text-align: center; }
.give__item--cash .give__val { display: inline-block; text-decoration: none; color: inherit; }
.give__item--cash .give__val:hover { text-decoration: underline; }
.give__qrlink { display: block; }
.give__qr { display: block; width: 11rem; height: 11rem; margin: 1rem auto .55rem; background: #fff;
  padding: .5rem; border: 1px solid var(--line); border-radius: var(--r); transition: transform .15s ease; }
.give__qrlink:hover .give__qr { transform: scale(1.03); }

/* ------------------------------------------------------------- contact */
.contact__rows { margin-top: 2rem; border-top: 1px solid var(--line); }
.contact__row {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1.5rem;
  padding: 1.1rem 0; border-bottom: 1px solid var(--line);
}
.contact__k { font-family: var(--util); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gray); min-width: 8rem; }
.contact__v { font-size: 1.1rem; }

/* -------------------------------------------------------------- footer */
.footer { background: var(--wine-deep); color: var(--cream); }
.footer__inner {
  max-width: var(--measure); margin-inline: auto; padding: 3rem var(--pad);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; align-items: center;
}
.footer__brand { display: flex; align-items: center; gap: .7rem; }
/* full logo (incl. tagline) in the footer — sized so the tagline stays legible */
.footer__brand img { height: 52px; width: auto; filter: brightness(0) invert(1); opacity: .92; }
.footer__links { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer__links a { color: rgba(247,242,233,.82); text-decoration: none; font-family: var(--util); font-size: .82rem; letter-spacing: .04em; }
.footer__links a:hover { color: #fff; }
.footer__legal { width: 100%; border-top: 1px solid rgba(247,242,233,.16); padding-top: 1.4rem; font-size: .8rem; color: rgba(247,242,233,.55); font-family: var(--util); letter-spacing: .02em; }

/* ---------------------------------------------------------- reveal anim */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
