/* ==========================================================================
   Zoe Life — Meeting 3 design system
   Cream field, charcoal type. Sage-olive is the one brand green.
   Gold and peach are spices, not section fills.
   Fraunces + Outfit. Photo-led, not a ministry card template.
   ========================================================================== */

@font-face { font-family: Fraunces; src: url(../fonts/fraunces-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: Fraunces; src: url(../fonts/fraunces-latin-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: Fraunces; src: url(../fonts/fraunces-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: Fraunces; src: url(../fonts/fraunces-latin-600-italic.woff2) format("woff2"); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: Fraunces; src: url(../fonts/fraunces-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: Outfit; src: url(../fonts/outfit-latin-300-normal.woff2) format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: Outfit; src: url(../fonts/outfit-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: Outfit; src: url(../fonts/outfit-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: Outfit; src: url(../fonts/outfit-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --paper:      #F8F4ED; /* Warm Cream — page field */
  --cream:      #F8F4ED;
  --beige:      #E8DED2; /* Soft Beige — alternate bands, cards, footer */
  --cream-deep: #E8DED2;
  --grey:       #E8DED2;
  --grey-deep:  #D4C8BA;
  --tan:        #E8DED2;
  --sand:       #D4C8BA;
  --peach:      #E0A994; /* Soft Peach — rare hint, not a section fill */
  --sun:        #F8F4ED;
  --white:      #F8F4ED;

  --gold:       #C6A15B; /* Muted Gold — hairlines, eyebrow rule */
  --gold-text:  #343A36; /* Accent gold is reserved for decoration. */
  --gold-deep:  #343A36;
  --sage:       #526B58; /* Deep Sage — the one brand green */
  --olive:      #4A5C3A; /* olive neighbor: hover, visited, deeper fill */
  --sage-deep:  #4A5C3A;
  --terracotta: #343A36; /* Legacy token retained; errors use text and borders. */
  --leaf:       #526B58;

  --ink:        #343A36; /* Deep Charcoal */
  --ink-soft:   #343A36;

  --display: Fraunces, Georgia, "Times New Roman", serif;
  --sans: Outfit, "Segoe UI", system-ui, -apple-system, sans-serif;

  --gutter: clamp(1.15rem, 4.5vw, 3.5rem);
  --measure: 72rem;
  --section-y: clamp(2.75rem, 6.5vw, 5.5rem);
  --radius: 2px;
  --focus: var(--sage);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(1.02rem, .96rem + .28vw, 1.14rem);
  line-height: 1.68;
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.16; margin: 0 0 .5em; color: var(--ink); text-wrap: unset; }
h1 { font-size: clamp(2.1rem, 1.2rem + 3.4vw, 3.85rem); letter-spacing: -.02em; font-weight: 700; }
h2 { font-size: clamp(1.65rem, 1.15rem + 1.9vw, 2.55rem); letter-spacing: -.012em; }
h3 { font-size: clamp(1.18rem, 1.05rem + .55vw, 1.45rem); }
h4 { font-size: 1.02rem; font-family: var(--sans); font-weight: 600; letter-spacing: .01em; }
p { margin: 0 0 1.1em; max-width: 62ch; }
a { color: var(--sage); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover, a:visited { color: var(--olive); }
ul, ol { padding-left: 1.15em; }
li { margin-bottom: .4em; }
hr { border: 0; border-top: 1px solid var(--grey-deep); margin: 2.5rem 0; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}
.skip-link {
  position: absolute; left: 1rem; top: -100vh; z-index: 200;
  background: var(--sage); color: var(--white);
  padding: .75rem 1.25rem; border-radius: var(--radius);
  font-weight: 500; text-decoration: none;
}
.skip-link:focus { top: 1rem; color: var(--white); }
.skip-link:visited { color: var(--white); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

.wrap { width: min(100% - (var(--gutter) * 2), var(--measure)); margin-inline: auto; }
/* Header, hero, body, and footer share one column so every left edge lines up. */
.wrap-wide { width: min(100% - (var(--gutter) * 2), var(--measure)); margin-inline: auto; }
.wrap-narrow { width: min(100% - (var(--gutter) * 2), 42rem); margin-inline: auto; }
section { padding-block: var(--section-y); }
.band-beige,
.band-tan { background: var(--beige); }
.band-grey,
.band-peach,
.band-sun { background: var(--cream); }
.band-deep { background: var(--beige); }
/* Links inside beige bands use the deeper green to keep 4.5:1 contrast. */
.band-tan a:not(.btn),
.band-tan a:not(.btn):visited { color: var(--olive); }
.band-forest { background: var(--beige); color: var(--ink); }
.band-forest h2, .band-forest h3 { color: var(--ink); }
.band-forest a { color: var(--sage); }
.band-forest a:hover { color: var(--olive); }
.band-forest .lede,
.band-forest .format-meta,
.band-forest .detail-list .v { color: var(--ink-soft); }
.band-forest .btn[aria-disabled="true"] { color: var(--ink-soft); border-color: var(--grey-deep); }
.band-forest .eyebrow { color: var(--gold-deep); }
.band-forest .eyebrow::after { background: var(--gold); }

.eyebrow {
  font-family: var(--sans); font-size: .76rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-deep); margin: 0 0 1rem;
  display: flex; align-items: center; gap: .7rem;
}
.eyebrow::after { content: ""; flex: 1; height: 1px; background: var(--gold); max-width: 4.5rem; }
.lede { font-size: clamp(1.08rem, 1rem + .4vw, 1.28rem); color: var(--ink-soft); line-height: 1.62; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--sans); font-size: .98rem; font-weight: 500;
  padding: .85rem 1.55rem; border-radius: var(--radius);
  border: 1.5px solid transparent; cursor: pointer;
  text-decoration: none; transition: background-color .18s, color .18s, border-color .18s;
  min-height: 48px;
}
.btn-primary { background: var(--sage); color: var(--white); border-color: var(--sage); }
.btn-primary:hover { background: var(--olive); border-color: var(--olive); color: var(--white); }
.btn-secondary {
  background: rgba(82, 107, 88, .08);
  color: var(--sage);
  border: 2px solid var(--sage);
}
.btn-secondary:hover { background: var(--olive); color: var(--white); border-color: var(--olive); }
.band-forest .btn-secondary { color: var(--sage); border-color: var(--sage); }
.band-tan .btn-secondary,
.band-tan .btn-secondary:visited { color: var(--olive); border-color: var(--olive); }
.band-tan .btn-secondary:hover { color: var(--white); }
.band-forest .btn-secondary:hover { background: var(--olive); color: var(--white); border-color: var(--olive); }
.btn[aria-disabled="true"] {
  background: transparent; color: var(--ink-soft);
  border-color: var(--grey-deep); border-style: dashed; cursor: not-allowed;
}
.btn-primary:visited { color: var(--white); }
.btn-secondary:visited { color: var(--sage); }
.btn-secondary:visited:hover { color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

.pending {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--sans); font-size: .72rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink); background: var(--beige);
  border: 1px solid var(--peach); border-radius: 100px;
  padding: .25rem .7rem;
}
.note {
  border-left: 3px solid var(--gold); background: var(--white);
  padding: 1rem 1.25rem; margin: 1.5rem 0; font-size: .95rem; color: var(--ink-soft);
}
.note p:last-child { margin-bottom: 0; }
.card-link { margin: .35rem 0 0; }
.card-link a { font-weight: 500; display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248, 244, 237, .97);
  border-bottom: 1px solid var(--grey-deep);
}
.header-inner { display: flex; align-items: center; gap: 1rem; padding-block: .55rem; position: relative; }
.brand { display: flex; align-items: center; text-decoration: none; color: var(--ink); margin-right: auto; min-height: 44px; padding-block: .2rem; }
.brand-wordmark {
  width: min(220px, 58vw); height: auto;
  background: transparent;
  mix-blend-mode: multiply;
}
.header-cta {
  margin-left: .35rem; padding: .55rem 1.15rem; font-size: .92rem; min-height: 44px;
  max-width: none; white-space: nowrap; text-align: center; line-height: 1.2;
}
.nav-toggle {
  display: none; align-items: center; gap: .5rem;
  background: transparent; border: 1.5px solid var(--grey-deep); border-radius: var(--radius);
  padding: .55rem .85rem; font-family: var(--sans); font-size: .9rem; font-weight: 500;
  color: var(--ink); cursor: pointer; min-height: 44px;
}
.site-nav > ul { display: flex; align-items: center; gap: .2rem; list-style: none; margin: 0; padding: 0; }
.site-nav li { margin: 0; }
.nav-link,
.nav-trigger {
  display: flex; align-items: center; gap: .4rem; min-height: 44px;
  padding: .55rem .85rem; border: 0; border-radius: var(--radius); background: none;
  font-family: var(--sans); font-size: .96rem; font-weight: 500; line-height: 1.2;
  color: var(--ink); text-decoration: none; cursor: pointer; white-space: nowrap;
}
.nav-link:visited { color: var(--ink); }
.nav-link:hover,
.nav-trigger:hover,
.nav-group.is-open .nav-trigger { background: var(--beige); color: var(--olive); }
.nav-link[aria-current],
.nav-link[aria-current]:visited,
.nav-trigger.is-current { color: var(--sage); box-shadow: inset 0 -2px 0 var(--sage); }
.nav-trigger svg { width: .7rem; height: .5rem; flex: none; transition: transform .18s; }
.nav-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-group { position: relative; }
.nav-group-label { display: none; }
.nav-sub {
  display: none; list-style: none; margin: 0; padding: .45rem;
  position: absolute; top: calc(100% + .5rem); left: 0; z-index: 110;
  min-width: 17.5rem;
  background: var(--white); border: 1px solid var(--grey-deep); border-top: 3px solid var(--gold);
  border-radius: var(--radius); box-shadow: 0 16px 36px rgba(44, 40, 36, .14);
}
/* Bridges the gap under the trigger so the menu does not close mid-move. */
.nav-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -.75rem; height: .75rem; }
.nav-group-end .nav-sub { left: auto; right: 0; }
.nav-sub a {
  display: block; min-height: 44px; padding: .6rem .8rem;
  border-radius: var(--radius); color: var(--ink); text-decoration: none;
}
.nav-sub a:visited { color: var(--ink); }
.nav-sub a:hover { background: var(--paper); color: var(--olive); }
.nav-sub a[aria-current] { background: var(--paper); box-shadow: inset 3px 0 0 var(--sage); }
.nav-sub-label { display: block; font-weight: 600; font-size: .96rem; line-height: 1.3; }
.nav-sub-desc { display: block; font-size: .84rem; color: var(--ink-soft); line-height: 1.35; margin-top: .1rem; }

@media (min-width: 64rem) {
  .site-nav .nav-cta { display: none; }
  html.has-js .nav-group.is-open .nav-sub { display: block; }
  /* Without JavaScript the menus still open on hover and keyboard focus. */
  html:not(.has-js) .nav-group:hover .nav-sub,
  html:not(.has-js) .nav-group:focus-within .nav-sub { display: block; }
}

@media (max-width: 63.999rem) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: block; position: absolute; left: 0; right: 0; top: 100%;
    max-height: calc(100vh - 4.5rem); overflow-y: auto;
    background: var(--paper); border-bottom: 1px solid var(--grey-deep);
    box-shadow: 0 18px 30px rgba(44, 40, 36, .1);
    padding: .5rem var(--gutter) 1.25rem;
  }
  html.has-js .site-nav { display: none; }
  html.has-js .site-nav.is-open { display: block; }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link { padding: .85rem .25rem; border-bottom: 1px solid var(--grey); border-radius: 0; }
  .nav-link[aria-current] { box-shadow: none; border-left: 3px solid var(--sage); padding-left: .75rem; }
  /* On small screens both menus are simply listed, no second tap needed. */
  .nav-trigger { display: none; }
  .nav-group-label {
    display: block; padding: 1.15rem .25rem .3rem;
    font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
    color: var(--gold-deep);
  }
  .nav-sub {
    display: block; position: static; min-width: 0; padding: 0;
    background: none; border: 0; box-shadow: none;
  }
  .nav-sub::before { content: none; }
  .nav-sub a { padding: .7rem .25rem .7rem 1rem; border-bottom: 1px solid var(--grey); border-radius: 0; }
  .nav-sub a[aria-current] { background: none; box-shadow: inset 3px 0 0 var(--sage); }
  .nav-sub-desc { display: none; }
  .site-nav .nav-cta { display: block; margin-top: 1rem; }
  .site-nav .nav-cta a,
  .site-nav .nav-cta a:visited {
    display: flex; align-items: center; justify-content: center; min-height: 48px;
    background: var(--sage); color: var(--white); border-radius: var(--radius);
    font-weight: 500; text-decoration: none;
  }
}
@media (max-width: 39.999rem) {
  .header-cta { display: none; }
}
@media (min-width: 40rem) and (max-width: 63.999rem) {
  .site-nav .nav-cta { display: none; }
}

/* ---------- heroes ---------- */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem); }
.hero-home {
  padding: 0;
  background: var(--cream);
}
.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
}
.hero-copy {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(1.5rem, 3.2vw, 2.75rem) 0;
  max-width: none;
  min-width: 0;
}
.hero-copy h1,
.tagline-heading {
  margin-bottom: .4em;
  text-wrap: unset;
  max-width: none;
  line-height: 1.14;
  font-size: clamp(1.75rem, 1.15rem + 1.55vw, 2.55rem);
  font-weight: 700;
}
.tagline-heading span { display: block; }
.hero-photo {
  margin: 0;
  background: var(--beige);
  min-width: 0;
  min-height: 16rem;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 0%;
  min-height: 16rem;
}
/* Below the split breakpoint, drop the wrap so the photo can go full-bleed
   while copy still uses the same gutter as the header. */
@media (max-width: 55.999rem) {
  .hero-home .hero-split.wrap-wide {
    width: 100%;
    margin-inline: 0;
  }
  .hero-copy { padding-inline: var(--gutter); }
}
@media (min-width: 56rem) {
  .hero-split {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    align-items: stretch;
  }
  .hero-copy {
    padding-right: clamp(1.35rem, 3vw, 2.5rem);
  }
  .hero-photo { align-self: stretch; aspect-ratio: auto; }
  .hero-photo, .hero-photo img { min-height: 100%; height: 100%; }
}
.hero-home + section { padding-top: clamp(2rem, 4.5vw, 3.5rem); }
.page-hero {
  padding-block: clamp(2.15rem, 4.8vw, 3.6rem);
  background: var(--cream);
  border-bottom: 1px solid var(--grey-deep);
}
.page-hero .wrap > * { max-width: 48rem; }
.page-hero h1 { font-size: clamp(1.85rem, 1.2rem + 1.45vw, 2.55rem); }

.pull-quote {
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: clamp(1.35rem, 1.05rem + 1.3vw, 2.05rem);
  line-height: 1.35; color: var(--ink); max-width: 28ch; margin: 0 0 .75rem;
  position: relative;
}
.pull-quote::before {
  content: "“";
  display: block;
  font-style: normal;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--peach);
  margin: 0 0 .15rem;
}
.pull-cite { font-size: .92rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-deep); }

/* ---------- grids / splits ---------- */
.grid { display: grid; gap: clamp(1.25rem, 3vw, 2.25rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.split { display: grid; gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 52rem) {
  .split { grid-template-columns: 1fr 1fr; }
  .split-wide-left { grid-template-columns: 1.2fr .9fr; }
  .split-copy-photo { grid-template-columns: 1fr 1.05fr; }
}

.portrait {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--beige);
  border: 1px solid var(--grey-deep);
}
.portrait.portrait-couple {
  border-color: var(--peach);
}
.portrait img { width: 100%; object-fit: cover; }
.portrait.portrait-tall img { aspect-ratio: 3 / 4; object-position: center 15%; }
.portrait.portrait-couple img { aspect-ratio: 4 / 5; object-position: center 18%; }
.portrait.portrait-tree img { aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 8%; }
.portrait.portrait-stage img { aspect-ratio: 4 / 5; object-position: center 40%; }
.portrait.portrait-connect img { aspect-ratio: 1 / 1; object-position: center 18%; }
.book-title {
  text-wrap: unset;
  font-size: clamp(1.28rem, 1.05rem + .7vw, 1.7rem);
}
figcaption { font-size: .85rem; color: var(--ink-soft); margin-top: .65rem; }

.values {
  display: grid; gap: 1.15rem 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 44rem) { .values { grid-template-columns: 1fr 1fr; } }
.value h3 { font-size: 1.12rem; margin-bottom: .25em; }
.value p { margin-bottom: 0; color: var(--ink-soft); font-size: .97rem; }
.section-icon { display: block; width: 1.75rem; height: 1.75rem; color: var(--sage); margin-bottom: .65rem; flex: none; }

.faith-list { max-width: 62ch; }
.faith-list li { margin-bottom: .7em; }
.faith-disclosure { border-block: 1px solid var(--grey-deep); padding-block: .5rem; }
.faith-disclosure summary { min-height: 44px; padding: .75rem 0; font-weight: 600; color: var(--sage); cursor: pointer; }
.faith-disclosure[open] summary { margin-bottom: 1rem; }

/* ---------- books ---------- */
.book {
  display: grid; gap: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: 1fr; align-items: start;
}
@media (min-width: 48rem) { .book { grid-template-columns: minmax(0, 16rem) 1fr; } }
.book-cover {
  border: 1px solid var(--grey-deep); border-radius: var(--radius); overflow: hidden;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(44, 40, 36, .18), 0 28px 60px rgba(44, 40, 36, .26);
}
.book-cover img { width: 100%; display: block; }
.book-tease {
  display: grid; gap: 1.5rem;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 44rem) { .book-tease { grid-template-columns: 9.5rem 1fr; } }
.book-tease .book-cover { max-width: 9.5rem; }
.purchase-coming {
  border: 1.5px dashed var(--grey-deep);
  background: var(--white);
  padding: 1rem 1.15rem;
  color: var(--ink-soft);
  font-size: .95rem;
  max-width: 56ch;
}
.pay-row { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1rem; }
.buy-area { margin-block: 1.5rem; padding-block: .25rem 1rem; border-block: 1px solid var(--grey-deep); }
.pay-row .btn { flex: 1 1 12rem; flex-direction: column; gap: .15rem; text-align: center; }
.buy-state { font-size: .8rem; font-weight: 400; }
.book-price { margin-block: .9rem .35rem; font-weight: 600; }
.buy-area .format-meta { margin-block: .75rem; font-size: .92rem; color: var(--ink-soft); }

/* ---------- connect ---------- */
.social-board { display: grid; gap: 1.1rem; }
.social-item {
  display: grid; gap: .25rem 1.25rem; align-items: center;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--grey-deep);
  grid-template-columns: 1fr;
}
@media (min-width: 40rem) {
  .social-item { grid-template-columns: 8.5rem 1fr auto; }
}
.social-item h3 { margin: 0; font-family: var(--sans); font-size: .95rem; font-weight: 600; }
.social-item p { margin: 0; color: var(--ink-soft); font-size: .95rem; max-width: none; }
.social-item a { font-weight: 500; min-height: 44px; display: inline-flex; align-items: center; }
.family-panel {
  background: var(--white);
  border: 1px solid var(--grey-deep);
  border-left: 4px solid var(--gold);
  padding: clamp(1.4rem, 3vw, 2.2rem);
}

/* ---------- social chips (footer) ---------- */
.social-list { display: flex; flex-wrap: wrap; gap: .55rem; list-style: none; margin: 1.1rem 0 0; padding: 0; }
.social-list li { margin: 0; }
.social-link {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .6rem 1rem; min-height: 44px;
  border: 1.5px solid var(--grey-deep); border-radius: var(--radius);
  font-size: .93rem; font-weight: 500; color: var(--ink); text-decoration: none; background: var(--paper);
}
.social-link:hover { border-color: var(--olive); color: var(--olive); background: var(--white); }
.social-link svg { width: 18px; height: 18px; flex: none; fill: currentColor; }

.connect-find {
  display: grid;
  gap: 1.75rem;
  align-items: start;
}
@media (min-width: 52rem) {
  .connect-find {
    grid-template-columns: minmax(0, 1fr) minmax(12rem, 16.5rem);
  }
}
.social-list.social-visit {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
  margin-top: 1.25rem;
}
@media (min-width: 40rem) {
  .social-list.social-visit {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 56rem) {
  .connect-find .social-list.social-visit {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .family-panel .social-list.social-visit {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.social-visit .social-link {
  width: 100%;
  justify-content: flex-start;
  background: var(--white);
  border-width: 1.5px;
}

/* ---------- forms ---------- */
.form-card { background: var(--white); border: 1px solid var(--grey-deep); border-radius: var(--radius); padding: clamp(1.35rem, 3.5vw, 2.4rem); }
.field { margin-bottom: 1.35rem; }
.field > label, .fieldset-legend { display: block; font-size: .93rem; font-weight: 600; color: var(--ink); margin-bottom: .4rem; }
.req { color: var(--terracotta); }
.hint { display: block; font-size: .84rem; color: var(--ink-soft); font-weight: 400; margin-bottom: .45rem; }
input[type=text], input[type=email], input[type=tel], select, textarea {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--grey-deep); border-radius: var(--radius);
  padding: .75rem .9rem; min-height: 48px;
}
textarea { min-height: 8rem; resize: vertical; line-height: 1.55; }
select { padding-right: 2.5rem; }
input:focus, select:focus, textarea:focus { border-color: var(--sage); background: var(--white); }
input[aria-invalid=true], select[aria-invalid=true], textarea[aria-invalid=true] { border: 2px solid var(--ink); background: var(--cream); }
.error { display: none; font-size: .87rem; font-weight: 500; color: var(--ink); margin-top: .4rem; }
.error.is-shown { display: block; }
.field-row { display: grid; gap: 1.35rem; grid-template-columns: 1fr; }
@media (min-width: 40rem) { .field-row { grid-template-columns: 1fr 1fr; } }
fieldset { border: 0; margin: 0 0 1.35rem; padding: 0; }
.consent { display: flex; gap: .7rem; align-items: flex-start; min-height: 44px; font-size: .9rem; color: var(--ink-soft); cursor: pointer; }
.consent input { width: 1.5rem; height: 1.5rem; min-height: 0; margin-top: .22rem; flex: none; accent-color: var(--sage); }
[hidden] { display: none !important; }

.form-status { margin-top: 1.35rem; }
.status-blocked {
  border-left: 3px solid var(--ink); background: var(--beige);
  padding: 1rem 1.25rem; font-size: .93rem; color: var(--ink);
}
.status-blocked strong { display: block; margin-bottom: .25rem; color: var(--ink); }
.status-error {
  border-left: 3px solid var(--ink); background: var(--beige);
  padding: .9rem 1.15rem; font-size: .93rem; color: var(--ink); font-weight: 500;
}
.status-sent {
  border-left: 3px solid var(--sage); background: var(--cream);
  padding: 1rem 1.25rem; font-size: .93rem; color: var(--ink);
}
.status-sent strong { display: block; margin-bottom: .25rem; color: var(--ink); }
.status-pending {
  border-left: 3px solid var(--grey-deep); background: var(--cream-deep);
  padding: .9rem 1.15rem; font-size: .93rem; color: var(--ink-soft); margin: 0;
}

.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.35rem;
}
.category-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .4rem .95rem;
  border: 1px solid var(--grey-deep);
  border-radius: 999px;
  background: var(--beige);
  color: var(--ink);
  font-weight: 600;
  font-size: .92rem;
  line-height: 1.2;
  text-decoration: none;
}
.category-nav a:visited { color: var(--ink); }
.category-nav a:hover,
.category-nav a:visited:hover { background: var(--sage); color: var(--cream); }
.resource-category { scroll-margin-top: 5.5rem; }
.video-list { display: grid; gap: 2.75rem; margin-top: .5rem; }
.video-item h2,
.video-item h3 { max-width: 36ch; }
.video-frame {
  position: relative;
  width: min(100%, 52rem);
  aspect-ratio: 16 / 9;
  background: var(--beige);
  border: 1px solid var(--grey-deep);
}
.video-frame iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}
.coming-panel {
  max-width: 36rem;
  background: var(--beige);
  border-left: 3px solid var(--gold);
  padding: 1.35rem 1.35rem .4rem;
}

.short-clips { margin-top: 1.75rem; }
.short-clips > p { max-width: 62ch; }
.clip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
  gap: 1rem;
  margin-top: 1.1rem;
}
.book .clip-grid {
  grid-template-columns: repeat(auto-fill, minmax(8.5rem, 11rem));
}
.clip { margin: 0; min-width: 0; }
.clip-stage {
  position: relative;
  aspect-ratio: 9 / 16;
  background: #343A36;
  border-radius: var(--radius);
  overflow: hidden;
}
.clip-stage video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #343A36;
}
.clip-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 2.75rem;
  height: 2.75rem;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--sage);
  color: var(--cream);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.clip-play svg { width: .9rem; height: .9rem; margin-left: .12rem; fill: currentColor; }
.clip-play:hover { background: var(--olive); }
.clip-stage.is-playing .clip-play { display: none; }
.clip-title {
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.35;
  margin: .7rem 0 .3rem;
}
.clip-source { margin: 0 0 .2rem; font-size: .9rem; }
.clip-source a { font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }

.course-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
}
@media (min-width: 52rem) {
  .course-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.course-card {
  background: var(--white);
  border: 1px solid var(--grey-deep);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.2rem 1.15rem 1.15rem;
  min-width: 0;
}
.course-card h2 { font-size: 1.45rem; margin-bottom: .2rem; }
.course-sub { font-weight: 600; margin-top: 0; }
.course-card p, .module-block p { max-width: none; }
.module-names, .lesson-list { margin: .8rem 0 1rem; padding-left: 1.2rem; }
.module-names li, .lesson-list li { margin: .35rem 0; }
.draft-note { color: var(--ink-soft); font-size: .92rem; }
.enrollment-note { font-weight: 600; margin-top: 1rem; }
.module-block { margin-bottom: 1.6rem; }
.module-block h2 { font-size: 1.35rem; }

.detail-list { list-style: none; margin: 0; padding: 0; }
.detail-list li { display: flex; flex-wrap: wrap; gap: .35rem 1rem; padding: .7rem 0; border-bottom: 1px solid var(--grey-deep); margin: 0; font-size: .95rem; }
.detail-list .k { font-weight: 600; min-width: 11rem; }
.detail-list .v { color: var(--ink-soft); }
.band-forest .detail-list li { border-bottom-color: rgba(255,255,255,.2); }

.booking-placeholder {
  border: 1.5px dashed var(--grey-deep);
  background: var(--white);
  padding: 1.15rem 1.3rem;
  margin-top: 1.25rem;
}
.booking-placeholder code {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .88rem;
  color: var(--gold-deep);
  margin-bottom: .5rem;
  word-break: break-all;
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--beige);
  border-top: 1px solid var(--gold);
  padding-block: clamp(2.5rem, 6vw, 4.5rem) 2rem;
}
.footer-top {
  display: flex; flex-wrap: wrap; align-items: center; gap: .85rem 1.75rem;
  margin-bottom: 2.25rem; padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--grey-deep);
}
.footer-wordmark {
  width: min(200px, 70vw); height: auto; background: transparent;
  mix-blend-mode: multiply;
}
.footer-grid { display: grid; gap: 2.25rem 2rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer-social, .footer-subscribe { grid-column: 1 / -1; }
@media (min-width: 60rem) {
  .footer-grid { grid-template-columns: minmax(0, .75fr) minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1.6fr); }
  .footer-grid-compact { grid-template-columns: minmax(0, .75fr) minmax(0, 1fr) minmax(0, 2.75fr); }
  .footer-social, .footer-subscribe { grid-column: auto; }
}
.footer-tagline {
  font-family: var(--display); font-style: italic; font-weight: 600;
  color: var(--ink);
  font-size: clamp(1.08rem, 1rem + .35vw, 1.28rem);
  max-width: none; margin: 0;
  white-space: nowrap;
}
@media (max-width: 52rem) {
  .footer-tagline { white-space: normal; }
}
.footer-nav ul { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin: 0; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; color: var(--ink); text-decoration: none; font-size: .98rem; font-weight: 500; }
.footer-nav a:hover { color: var(--olive); text-decoration: underline; }
.footer-h {
  font-family: var(--sans); font-size: .9rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin: 0 0 1rem;
}
.footer-h-lead {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -.01em;
  text-transform: none;
  color: var(--ink);
  margin: 0 0 .85rem;
}
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--grey-deep);
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center;
  font-size: .85rem; color: var(--ink-soft);
}
.footer-bottom p { margin: 0; max-width: none; }
/* Sage on the beige footer is 4.39:1; the deeper olive keeps the green link at 5.48:1 (WCAG AA). */
.footer-bottom a { color: var(--olive); }
.subscribe-form .field { margin-bottom: .85rem; }
.consent-note {
  font-style: italic; font-weight: 400; font-size: .82rem; color: var(--ink-soft);
}
.consult-aside {
  margin-top: 2rem; color: var(--ink-soft); font-size: .95rem; max-width: 52ch;
}
.reply-note { font-size: .93rem; color: var(--ink-soft); margin: 1rem 0 0; }
.social-visit { margin-top: 1.25rem; }

.headshot-pair {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr 1fr;
}
.portrait-tree { max-width: 34rem; }
.headshot-pair .portrait img { aspect-ratio: 3 / 4; object-position: center 12%; }

/* ---------- layout helpers ---------- */
.intro-split { display: grid; gap: .5rem 3.5rem; grid-template-columns: 1fr; }
@media (min-width: 52rem) {
  .intro-split { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: start; }
  .intro-split h2 { margin-bottom: 0; }
  .intro-split > div:last-child { padding-top: 1.9rem; }
}
.book-pair { display: grid; gap: 2.5rem 3rem; grid-template-columns: 1fr; margin-top: 2.25rem; }
@media (min-width: 56rem) { .book-pair { grid-template-columns: 1fr 1fr; } }

.card-grid {
  display: grid; gap: 1.25rem; margin-top: 1.75rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr));
}
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--grey-deep); border-top: 3px solid var(--gold);
  border-radius: var(--radius); padding: 1.4rem 1.35rem 1.25rem; min-width: 0;
}
.card p { max-width: none; }
.card > :last-child { margin-bottom: 0; }
.card h2, .card h3 { font-size: clamp(1.2rem, 1.08rem + .5vw, 1.45rem); margin-bottom: .45rem; }
.card .eyebrow { margin-bottom: .7rem; }
.card .card-link, .card .read-more { margin-top: auto; padding-top: .35rem; }
.post-card h2 a, .post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:visited, .post-card h3 a:visited { color: var(--ink); }
/* The title link covers the whole card, so the card is one tap target. */
.post-card h2 a::after, .post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card:hover { border-color: var(--sage); border-top-color: var(--gold); }
.post-card:hover h2 a, .post-card:hover h3 a { color: var(--olive); text-decoration: underline; }
.read-more { font-weight: 600; color: var(--sage); margin-bottom: 0; }
.band-tan .read-more { color: var(--olive); }
.post-meta { font-size: .9rem; color: var(--ink-soft); margin: 0 0 .9rem; }

.cta-center { text-align: center; }
.cta-center .wrap > * { margin-inline: auto; }
.cta-center .eyebrow { justify-content: center; }
.cta-center .eyebrow::before { content: ""; flex: 1; height: 1px; background: var(--gold); max-width: 4.5rem; }
.cta-center .btn-row { justify-content: center; }
.cta-center .consult-aside { margin-top: 1.25rem; }

.meet-split { align-items: start; }
@media (min-width: 52rem) { .meet-split { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
.meet-split .headshot-pair { margin-top: 1.75rem; max-width: 30rem; }

.contact-aside { display: grid; gap: 1.25rem; }
.contact-aside .btn { align-self: flex-start; margin-top: .25rem; }

/* ---------- blog ---------- */
.post-hero h1 { font-size: clamp(1.9rem, 1.2rem + 2.2vw, 3rem); }
.breadcrumb { font-size: .9rem; color: var(--ink-soft); margin: 0 0 1.1rem; }
.breadcrumb a { font-weight: 500; }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.subscription-page { padding-block: var(--section-y); }
.subscription-page form { margin-bottom: 1.5rem; }
.btn:disabled { cursor: not-allowed; }
.post-hero .post-meta { margin: .4rem 0 0; font-size: .95rem; }
.post-layout {
  display: grid; gap: 1.5rem 4rem; grid-template-columns: minmax(0, 1fr);
  padding-block: clamp(2rem, 5vw, 3.75rem) var(--section-y);
}
@media (min-width: 64rem) {
  .post-layout { grid-template-columns: minmax(0, 44rem) minmax(0, 15rem); justify-content: space-between; }
  .post-layout .prose { grid-column: 1; grid-row: 1; }
  .post-toc { grid-column: 2; grid-row: 1; position: sticky; top: 6rem; align-self: start; }
}
.post-toc {
  border-left: 3px solid var(--gold); background: var(--white);
  padding: 1rem 1.15rem; font-size: .92rem;
}
.post-toc-title {
  font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-deep); margin: 0 0 .6rem;
}
.post-toc ul { margin: 0; padding: 0; list-style: none; }
.post-toc li { margin: 0; }
.post-toc a { display: flex; align-items: center; min-height: 44px; padding: .25rem 0; line-height: 1.35; color: var(--ink); text-decoration: none; }
.post-toc a:hover { color: var(--olive); text-decoration: underline; }
.prose { max-width: 44rem; font-size: clamp(1.04rem, .98rem + .3vw, 1.17rem); }
.prose p, .prose li { max-width: none; }
.prose > p:first-child { font-size: 1.12em; color: var(--ink); }
.prose h2 {
  font-size: clamp(1.4rem, 1.12rem + 1vw, 1.9rem);
  margin: 2.6rem 0 .7rem; scroll-margin-top: 6rem;
}
.prose h3 { margin: 2rem 0 .5rem; scroll-margin-top: 6rem; }
.prose blockquote { margin: 1.6rem 0; padding: 1.15rem 1.4rem; background: var(--white); border-left: 3px solid var(--gold); }
.prose blockquote p {
  font-family: var(--display); font-style: italic; font-size: 1.14em; line-height: 1.5;
  color: var(--ink); margin: 0;
}
.prose blockquote cite {
  display: block; margin-top: .6rem; font-style: normal;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-deep);
}
.post-callout {
  margin: 2.75rem 0 0; padding: 1.4rem 1.6rem 1.25rem;
  background: var(--beige); border-left: 4px solid var(--sage);
}
.post-callout h2 { margin-top: 0; font-size: 1.4rem; }
.post-callout ul, .post-callout ol { margin-bottom: 0; }
.post-callout a:not(.btn) { color: var(--olive); }
.scripture-notice { margin-top: 2.5rem; font-size: .8rem; color: var(--ink-soft); }
.post-back { margin-top: 2rem; }
.blog-topic { scroll-margin-top: 5.5rem; }
.blog-topic + .blog-topic { padding-top: 0; }
.blog-topic h2 { margin-bottom: 0; }
.blog-topic .card-grid { margin-top: 1.25rem; }

@media (max-width: 40rem) {
  .btn-row .btn { width: 100%; }
  .hero-copy h1 { max-width: none; font-size: clamp(1.7rem, 7vw, 2.25rem); }
  .book-title { font-size: 1.45rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
}

@media print {
  .site-header, .site-footer, .btn-row { display: none; }
  body { background: #fff; }
}

.footer-nav .footer-h, .footer-social .footer-h {
  display: inline-block; background: var(--sage); color: #fff;
  padding: .35rem .75rem; border-radius: var(--radius);
}
.cta-center .lede { max-width: 62ch; margin-inline: auto; }

/* Keep long policy text readable and direct links clear of the sticky header. */
.legal-copy { max-width: 48rem; }
.legal-copy h2 { margin-top: 2rem; font-size: clamp(1.25rem, 3vw, 1.65rem); }
.legal-copy a { text-decoration: underline; }
#about-zoe-life, #meet, #message { scroll-margin-top: 6rem; }

.partnership-grid { margin-top: 1.5rem; }
.support-disclosure {
  margin-top: 1rem;
  padding: 1rem;
  border-inline-start: .25rem solid var(--sage);
  background: var(--paper);
}
.support-disclosure h4 { margin: 0 0 .5rem; }
.support-disclosure p { margin-bottom: 0; }
.consult-expectations { display: grid; gap: 1rem; margin: 1.25rem 0 2rem; }
.consult-expectation { border-inline-start: .2rem solid var(--sage); padding-inline-start: 1rem; }
.consult-expectation p { margin-bottom: 0; }
