/* ============================================================
   Sparrow Cartoons — Main Stylesheet
   Warm, editorial, faith-based design
   Body: Arial/Helvetica sans-serif | Headings: Georgia serif
   ============================================================ */

/* --- Custom Properties ------------------------------------ */
:root {
  --bg:           #FAFAF8;
  --bg-warm:      #F5F3EE;
  --bg-dark:      #2A2218;
  --text:         #2C2C2C;
  --text-light:   #5A5550;
  --heading:      #1A1A18;
  --gold:         #B8860B;
  --gold-light:   #D4A017;
  --gold-pale:    #F2E8C8;
  --border:       #DDD8CC;
  --white:        #FFFFFF;

  --font-serif:   Georgia, 'Times New Roman', serif;
  --font-sans:    Arial, Helvetica, sans-serif;

  --radius:       6px;
  --shadow:       0 2px 12px rgba(0,0,0,0.08);
  --transition:   0.2s ease;
}

/* --- Reset & Base ----------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.75;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold);
  text-decoration: underline;
  transition: color var(--transition);
}

a:hover, a:focus {
  color: var(--gold-light);
}

ul, ol {
  padding-left: 1.5rem;
}

/* --- Skip to Content -------------------------------------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--gold);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-weight: bold;
  z-index: 10000;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 1rem;
}

/* --- Typography ------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--heading);
  line-height: 1.3;
}

h1 { font-size: 2.2rem; margin-bottom: 0.75rem; }
h2 { font-size: 1.7rem; margin-bottom: 0.65rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1.1rem; }

/* --- Layout Helpers --------------------------------------- */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
}

.section--warm {
  background-color: var(--bg-warm);
}

.section--dark {
  background-color: var(--bg-dark);
  color: #E8E0D0;
}

.section--dark h1,
.section--dark h2,
.section--dark h3 {
  color: #F0E8D8;
}

.section--gold {
  background-color: var(--gold-pale);
}

.section-label {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
  display: block;
}

.text-center { text-align: center; }
.text-gold   { color: var(--gold); }

/* --- HEADER / NAV ---------------------------------------- */
.site-header {
  background-color: var(--white);
  border-bottom: 2px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem 0 0.5rem;
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.site-logo {
  text-decoration: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  line-height: 1.15;
}

.site-logo__img {
  height: 128px !important;
  width: auto !important;
  max-width: none !important;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.site-logo__text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.site-logo__name {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: bold;
  color: var(--heading);
  letter-spacing: -0.01em;
}

.site-logo__tagline {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--gold-light);
  margin-top: 0.25rem;
  text-align: center;
}

.site-nav {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
}

.site-nav__list {
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-evenly;
  width: 100%;
  gap: 0;
  padding: 0;
  margin: 0;
}

.site-nav__list a {
  display: block;
  padding: 0.5rem 0.85rem;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}

.site-nav__list a:hover,
.site-nav__list a:focus,
.site-nav__list a[aria-current="page"] {
  background-color: var(--gold-pale);
  color: var(--gold);
}

/* Hamburger Button */
.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.nav-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- HERO ------------------------------------------------- */
.hero {
  background-color: var(--bg-dark);
  color: #EAE2D4;
  padding: 2.5rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='matrix' values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.5;
  pointer-events: none;
}

.hero__bird {
  position: absolute;
  top: 50%;
  right: -4%;
  width: 38%;
  max-width: 460px;
  min-width: 260px;
  transform: translateY(-50%);
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.hero__eyebrow {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}

.hero h1 {
  font-size: 2.6rem;
  color: #F4EDE0;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero__tagline {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--gold-light);
  margin-bottom: 1rem;
  font-style: italic;
}

.hero__sub {
  font-size: 1.05rem;
  color: #C8BFB0;
  margin-bottom: 0;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.hero__ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- BUTTONS ---------------------------------------------- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform 0.15s;
  min-height: 44px;
  min-width: 44px;
  line-height: 1.3;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background-color: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn--primary:hover, .btn--primary:focus {
  background-color: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--white);
}

.btn--outline {
  background-color: transparent;
  color: var(--gold-light);
  border-color: var(--gold-light);
}
.btn--outline:hover, .btn--outline:focus {
  background-color: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.btn--outline-dark {
  background-color: transparent;
  color: #E8E0D0;
  border-color: #C8BFB0;
}
.btn--outline-dark:hover, .btn--outline-dark:focus {
  background-color: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.btn--sm {
  padding: 0.55rem 1.2rem;
  font-size: 0.88rem;
}

/* --- TRUST STRIP ------------------------------------------ */
.trust-strip {
  background-color: var(--gold-pale);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2rem 1.5rem;
}

.trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}

.trust-item__icon {
  font-size: 1.6rem;
  display: block;
  margin-bottom: 0.4rem;
}

.trust-item__text {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

/* --- FEATURED CARTOON PLACEHOLDER ------------------------- */
.cartoon-placeholder {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  background-color: var(--bg-warm);
  padding: 1.5rem 2rem;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.cartoon-placeholder__img {
  width: 100%;
  max-width: 420px;
  height: 300px;
  background-color: #EDE8DF;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  border: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--text-light);
  font-style: italic;
}

.cartoon-placeholder__title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 0.4rem;
}

.cartoon-placeholder__caption {
  font-size: 0.9rem;
  color: var(--text-light);
  font-style: italic;
}

/* --- Featured Cartoon Slider -------------------------------- */
.cartoon-slider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin: 0 auto 1.25rem;
}

.cartoon-slider__img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: block;
}

.cartoon-slider__arrow {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background-color: var(--white);
  color: var(--gold);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition);
}

.cartoon-slider__counter {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold);
  margin: 0.6rem 0 0.5rem;
}

.cartoon-slider__arrow:hover,
.cartoon-slider__arrow:focus {
  background-color: var(--gold);
  color: var(--white);
}

.cartoon-slider__play {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--gold);
  background-color: transparent;
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 1.1rem;
  border-radius: 999px;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: background var(--transition), color var(--transition);
}

.cartoon-slider__play:hover,
.cartoon-slider__play:focus {
  background-color: var(--gold);
  color: var(--white);
}

@media (max-width: 480px) {
  .cartoon-slider {
    gap: 0.5rem;
  }
  .cartoon-slider__arrow {
    width: 32px;
    height: 32px;
    font-size: 1.1rem;
  }
}

/* --- CARTOON ARCHIVE CAROUSEL (cartoons.html) --------------
   4 cards visible at a time, horizontally, evenly spaced,
   with prev/next arrows on both sides. */
.card-grid.card-grid--carousel {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.card-grid--carousel .carousel-viewport {
  flex: 1;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.card-grid--carousel .carousel-viewport::-webkit-scrollbar {
  display: none;
}

.card-grid--carousel .carousel-track {
  display: flex;
  gap: 2rem;
}

.card-grid--carousel .carousel-track .card {
  flex: 0 0 calc(25% - 1.5rem);
  min-width: 0;
  scroll-snap-align: start;
}

.carousel-arrow {
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .card-grid--carousel .carousel-track .card {
    flex: 0 0 calc(50% - 1rem);
  }
}

@media (max-width: 560px) {
  .card-grid--carousel .carousel-track .card {
    flex: 0 0 100%;
  }
}

/* --- CARD GRID -------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.card-grid--books {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.card-grid--blog {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}

/* Card no longer clips overflow (needed so the share dropdown isn't cut off) —
   round the top image/placeholder corners directly instead. */
.card > img:first-child,
.card > .card__img-placeholder:first-child {
  border-radius: var(--radius) var(--radius) 0 0;
}

.card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.13);
  transform: translateY(-2px);
}

.card__img-placeholder {
  width: 100%;
  height: 240px;
  background-color: #EDE8DF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  color: var(--text-light);
  font-style: italic;
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 1rem;
}

.card__body {
  padding: 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card__title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--heading);
}

.card__desc {
  font-size: 0.92rem;
  color: var(--text-light);
  flex: 1;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.card__note {
  font-size: 0.78rem;
  color: var(--text-light);
  font-style: italic;
  margin-top: 0.5rem;
}

.card__actions {
  position: relative;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: auto;
}

/* --- SHARE MENU (cartoon cards) ----------------------------- */
.share-menu {
  display: inline-flex;
}

.share-menu__dropdown {
  position: absolute;
  bottom: calc(100% + 0.4rem);
  right: 0;
  left: 0;
  z-index: 2000;
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  padding: 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.share-menu__dropdown[hidden] {
  display: none;
}

.share-menu__link {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.65rem;
  border-radius: 6px;
  font-size: 0.85rem;
  color: var(--text);
  text-decoration: none;
}

.share-menu__link:hover, .share-menu__link:focus {
  background: var(--gold-pale);
  color: var(--text);
}

.share-menu__link::before {
  content: "";
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.share-menu__link--facebook { color: #1877F2; }
.share-menu__link--facebook::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z'/%3E%3C/svg%3E");
}

.share-menu__link--twitter { color: #14171A; }
.share-menu__link--twitter::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-4.714-6.231-5.401 6.231H2.744l7.73-8.835L1.254 2.25H8.08l4.254 5.622L18.244 2.25zm-1.161 17.52h1.833L7.084 4.126H5.117z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-4.714-6.231-5.401 6.231H2.744l7.73-8.835L1.254 2.25H8.08l4.254 5.622L18.244 2.25zm-1.161 17.52h1.833L7.084 4.126H5.117z'/%3E%3C/svg%3E");
}

.share-menu__link--pinterest { color: #E60023; }
.share-menu__link--pinterest::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0C5.373 0 0 5.372 0 12c0 5.084 3.163 9.426 7.627 11.174-.105-.949-.2-2.405.042-3.441.218-.937 1.407-5.965 1.407-5.965s-.359-.719-.359-1.782c0-1.668.967-2.914 2.171-2.914 1.023 0 1.518.769 1.518 1.69 0 1.029-.655 2.568-.994 3.995-.283 1.194.599 2.169 1.777 2.169 2.133 0 3.772-2.249 3.772-5.495 0-2.873-2.064-4.882-5.012-4.882-3.414 0-5.418 2.561-5.418 5.207 0 1.031.397 2.138.893 2.738a.36.36 0 0 1 .083.345l-.333 1.36c-.053.22-.174.267-.402.161-1.499-.698-2.436-2.889-2.436-4.649 0-3.785 2.75-7.262 7.929-7.262 4.163 0 7.398 2.967 7.398 6.931 0 4.136-2.607 7.464-6.227 7.464-1.216 0-2.359-.632-2.75-1.378l-.748 2.853c-.271 1.043-1.002 2.35-1.492 3.146C9.57 23.812 10.763 24 12 24c6.627 0 12-5.373 12-12S18.627 0 12 0z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0C5.373 0 0 5.372 0 12c0 5.084 3.163 9.426 7.627 11.174-.105-.949-.2-2.405.042-3.441.218-.937 1.407-5.965 1.407-5.965s-.359-.719-.359-1.782c0-1.668.967-2.914 2.171-2.914 1.023 0 1.518.769 1.518 1.69 0 1.029-.655 2.568-.994 3.995-.283 1.194.599 2.169 1.777 2.169 2.133 0 3.772-2.249 3.772-5.495 0-2.873-2.064-4.882-5.012-4.882-3.414 0-5.418 2.561-5.418 5.207 0 1.031.397 2.138.893 2.738a.36.36 0 0 1 .083.345l-.333 1.36c-.053.22-.174.267-.402.161-1.499-.698-2.436-2.889-2.436-4.649 0-3.785 2.75-7.262 7.929-7.262 4.163 0 7.398 2.967 7.398 6.931 0 4.136-2.607 7.464-6.227 7.464-1.216 0-2.359-.632-2.75-1.378l-.748 2.853c-.271 1.043-1.002 2.35-1.492 3.146C9.57 23.812 10.763 24 12 24c6.627 0 12-5.373 12-12S18.627 0 12 0z'/%3E%3C/svg%3E");
}

.share-menu__link--snapchat { color: #B8A600; }
.share-menu__link--snapchat::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C7.58 2 4 5.58 4 10v7.5c0 .5.5 1 1.2.6l1.3-.8 1.3 1.3c.4.4 1 .4 1.4 0l1.3-1.3 1.3 1.3c.4.4 1 .4 1.4 0l1.3-1.3 1.3.8c.7.4 1.2-.1 1.2-.6V10c0-4.42-3.58-8-8-8z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C7.58 2 4 5.58 4 10v7.5c0 .5.5 1 1.2.6l1.3-.8 1.3 1.3c.4.4 1 .4 1.4 0l1.3-1.3 1.3 1.3c.4.4 1 .4 1.4 0l1.3-1.3 1.3.8c.7.4 1.2-.1 1.2-.6V10c0-4.42-3.58-8-8-8z'/%3E%3C/svg%3E");
}

.share-menu__link--instagram { color: #C13584; }
.share-menu__link--instagram::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='2' width='20' height='20' rx='5' ry='5'/%3E%3Cpath d='M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z'/%3E%3Cline x1='17.5' y1='6.5' x2='17.51' y2='6.5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='2' width='20' height='20' rx='5' ry='5'/%3E%3Cpath d='M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z'/%3E%3Cline x1='17.5' y1='6.5' x2='17.51' y2='6.5'/%3E%3C/svg%3E");
}

.share-menu__link--tiktok { color: #010101; }
.share-menu__link--tiktok::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18V5l12-2v13'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Ccircle cx='18' cy='16' r='3'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18V5l12-2v13'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Ccircle cx='18' cy='16' r='3'/%3E%3C/svg%3E");
}

.share-menu__link--copied {
  background: var(--gold-pale) !important;
  color: var(--text) !important;
}

/* Book card specifics */
.book-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.book-card__cover {
  width: 140px;
  min-width: 140px;
  height: 190px;
  background-color: #EDE8DF;
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--text-light);
  font-style: italic;
  text-align: center;
  padding: 0.5rem;
}

.book-card__body { flex: 1; }

.book-card__title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.book-card__desc {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.book-card__review {
  background: var(--bg-warm);
  border-left: 3px solid var(--gold);
  padding: 0.75rem 1rem;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* --- CATEGORY TABS ---------------------------------------- */
.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.category-tab {
  padding: 0.5rem 1.1rem;
  border: 2px solid var(--border);
  border-radius: 2rem;
  font-size: 0.88rem;
  font-weight: 600;
  background: var(--white);
  color: var(--text);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  min-height: 44px;
  display: flex;
  align-items: center;
}

.category-tab:hover,
.category-tab--active {
  background-color: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

/* --- NEWSLETTER CTA --------------------------------------- */
.newsletter-cta {
  background-color: var(--bg-dark);
  color: #EAE2D4;
  padding: 4rem 1.5rem;
  text-align: center;
}

.newsletter-cta h2 {
  color: #F4EDE0;
  font-size: 1.9rem;
  margin-bottom: 0.75rem;
}

.newsletter-cta__sub {
  color: #C8BFB0;
  max-width: 560px;
  margin: 0 auto 2rem;
  font-size: 1rem;
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  max-width: 560px;
  margin: 0 auto 1rem;
}

.newsletter-form .form-field {
  flex: 1;
  min-width: 180px;
}

.newsletter-form label {
  display: block;
  font-size: 0.85rem;
  color: #C8BFB0;
  margin-bottom: 0.3rem;
  text-align: left;
}

.newsletter-form input {
  width: 100%;
  padding: 0.72rem 1rem;
  border: 1px solid #5A5040;
  border-radius: var(--radius);
  background-color: #3A3020;
  color: #EAE2D4;
  font-size: 0.95rem;
  min-height: 44px;
}

.newsletter-form input::placeholder { color: #8A8070; }
.newsletter-form input:focus {
  outline: 2px solid var(--gold);
  border-color: var(--gold);
}

.newsletter-note {
  font-size: 0.8rem;
  color: #8A8070;
  font-style: italic;
}

/* Mini newsletter in footer */
.newsletter-mini {
  margin-top: 1.5rem;
}

.newsletter-mini p {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  color: #C8BFB0;
}

.newsletter-mini .newsletter-form {
  flex-direction: column;
  align-items: stretch;
}

.newsletter-mini .newsletter-form .form-field { min-width: unset; }

/* --- PRICING TABLE ---------------------------------------- */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.pricing-table th {
  background-color: var(--bg-dark);
  color: #F4EDE0;
  font-family: var(--font-serif);
  padding: 0.85rem 1.25rem;
  text-align: left;
  font-size: 0.95rem;
}

.pricing-table td {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.pricing-table tr:last-child td { border-bottom: none; }

.pricing-table tr:nth-child(even) td { background-color: var(--bg-warm); }

.pricing-table .tier-name {
  font-weight: 700;
  color: var(--heading);
}

.pricing-table .tier-price {
  color: var(--gold);
  font-weight: 600;
}

/* --- FAQ -------------------------------------------------- */
.faq-list {
  list-style: none;
  padding: 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}

.faq-item:first-child { padding-top: 0; }
.faq-item:last-child { border-bottom: none; }

.faq-q {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--heading);
  margin-bottom: 0.6rem;
}

.faq-a {
  color: var(--text);
  line-height: 1.75;
}

/* --- BLOG CARDS ------------------------------------------- */
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}

.blog-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

.blog-card__date {
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.blog-card__title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
  color: var(--heading);
}

.blog-card__excerpt {
  font-size: 0.93rem;
  color: var(--text-light);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.1rem;
}

/* --- CONTACT FORM ----------------------------------------- */
.contact-form {
  max-width: 640px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.4rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.4rem;
  color: var(--heading);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text);
  background-color: var(--white);
  min-height: 44px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.15);
}

.form-group textarea {
  min-height: 160px;
  resize: vertical;
}

.form-note {
  font-size: 0.82rem;
  color: var(--text-light);
  font-style: italic;
  margin-top: 0.75rem;
}

.required-star { color: var(--gold); }

/* --- STORE PAGE COMING SOON ------------------------------- */
.coming-soon-box {
  background: var(--bg-warm);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

.coming-soon-box h2 {
  margin-bottom: 1rem;
}

.store-list {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 420px;
  margin: 1.25rem auto;
}

.store-list li {
  padding: 0.45rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.97rem;
}

.store-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.7rem;
  top: 0.6rem;
}

/* --- NOTIFY FORM ------------------------------------------ */
.notify-form {
  background: var(--gold-pale);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 500px;
  margin: 2rem auto 0;
}

.notify-form h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--heading);
}

.notify-form .form-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.notify-form .form-row .form-group {
  flex: 1;
  min-width: 160px;
  margin-bottom: 0;
}

.notify-form .form-group input {
  background: var(--white);
}

/* --- ABOUT PAGE ------------------------------------------- */
.photo-placeholder {
  width: 240px;
  height: 300px;
  background-color: #EDE8DF;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  color: var(--text-light);
  font-style: italic;
  text-align: center;
  padding: 1rem;
  flex-shrink: 0;
}

.about-intro {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  margin-bottom: 3rem;
}

/* --- FOOTER ----------------------------------------------- */
.site-footer {
  background-color: var(--bg-dark);
  color: #C8BFB0;
  padding: 3.5rem 1.5rem 1.5rem;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid #3A3020;
  position: relative;
}

.footer-inner__email-logo {
  position: absolute;
  top: 58%;
  left: 38%;
  width: 230px;
  height: auto;
  transform: rotate(18deg);
  pointer-events: none;
  z-index: 1;
}

@media (max-width: 900px) {
  .footer-inner__email-logo {
    display: none;
  }
}

.footer-brand__name {
  font-family: var(--font-serif);
  font-weight: bold;
  font-size: 1.3rem;
  color: #F4EDE0;
  margin-bottom: 0.4rem;
  display: block;
}

.footer-brand__tag {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.88rem;
  color: #9A9080;
  line-height: 1.65;
}

.footer-col h4 {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: #F4EDE0;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul a {
  color: #9A9080;
  text-decoration: none;
  font-size: 0.88rem;
  transition: color var(--transition);
}

.footer-col ul a:hover, .footer-col ul a:focus {
  color: var(--gold-light);
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #9A9080;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition), background var(--transition);
  min-height: 44px;
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius);
}

.social-link:hover, .social-link:focus {
  color: var(--gold-light);
  background: rgba(255,255,255,0.04);
}

.social-link svg {
  width: 36px;
  height: 36px;
  padding: 8px;
  background: #3A3020;
  border-radius: 50%;
  color: var(--gold);
  flex-shrink: 0;
  transition: background var(--transition), color var(--transition);
}

.social-link:hover svg,
.social-link:focus svg {
  background: var(--gold);
  color: #1A1208;
}

.footer-bottom {
  max-width: 1080px;
  margin: 1.5rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: #6A6050;
}

.footer-bottom a {
  color: #8A8070;
  text-decoration: none;
  font-weight: normal;
}

.footer-bottom a:hover { color: var(--gold-light); }

.footer-bottom p,
.footer-bottom nav {
  margin: 0;
  line-height: 1;
  display: flex;
  align-items: center;
}

.footer-bottom__credit {
  white-space: nowrap;
  font-family: var(--font-serif);
}

.footer-bottom__credit a {
  font-weight: bold;
  font-family: var(--font-serif);
}

/* --- PAGE INTRO BANNER ------------------------------------ */
.page-banner {
  background-color: var(--bg-dark);
  color: #EAE2D4;
  padding: 3rem 1.5rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../graphics/logo-background.jpg') center/cover no-repeat;
  opacity: 0.04;
  pointer-events: none;
}

.page-banner h1 {
  color: #F4EDE0;
  font-size: 2.1rem;
  margin-bottom: 0.6rem;
  position: relative;
}

.page-banner p {
  color: #C8BFB0;
  max-width: 620px;
  margin: 0 auto;
  position: relative;
}

/* --- UTILITY DIVIDER -------------------------------------- */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* --- NOTICE BOX ------------------------------------------- */
.notice-box {
  background: var(--gold-pale);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  font-size: 0.9rem;
  margin: 1.5rem 0;
}

/* --- CHURCH RESOURCES CHECKLIST --------------------------- */
.use-cases {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.5rem 1.5rem;
  margin: 1rem 0;
}

.use-cases li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.95rem;
}

.use-cases li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: bold;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .newsletter-form {
    flex-direction: column;
    align-items: stretch;
  }

  .newsletter-form .form-field {
    min-width: unset;
  }

  .pricing-table {
    font-size: 0.88rem;
  }
}
