/* ============================================
   Evangelist Mark Coburn — Site Styles
   Designed by Brandon Hilton / Ethos Bridge
   ============================================ */

/* --- Reset / base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: #2a2a2a;
  background: #faf7f0;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: #1c2e4a; text-decoration: none; transition: color .2s; }
a:hover { color: #b88947; }

/* --- Tokens --- */
:root {
  --navy: #1c2e4a;
  --navy-deep: #131f33;
  --cream: #faf7f0;
  --cream-warm: #f3ecdc;
  --gold: #b88947;
  --gold-soft: #d6b07a;
  --ink: #2a2a2a;
  --mute: #6b6b6b;
  --line: rgba(28,46,74,.12);
  --max: 1180px;
  --pad: clamp(20px, 5vw, 48px);
  --radius: 6px;
  --shadow-sm: 0 1px 2px rgba(28,46,74,.06);
  --shadow-md: 0 8px 24px rgba(28,46,74,.10);
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: .6em; }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin-bottom: .4em; }
h4 { font-size: 1.15rem; margin-bottom: .35em; }
p { margin-bottom: 1em; }
p.lead { font-size: 1.2rem; color: var(--mute); }
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 1em;
}

/* --- Layout --- */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
section { padding: clamp(60px, 9vw, 110px) 0; }
.section-tight { padding: clamp(40px, 6vw, 70px) 0; }

/* --- Navigation --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 240, 0.94);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -.005em;
}
.brand-sub {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--gold);
  margin-top: 5px;
}
.nav-list {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}
.nav-list a {
  font-size: .95rem;
  font-weight: 500;
  color: var(--navy);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav-list a:hover, .nav-list a.is-active { border-bottom-color: var(--gold); color: var(--navy); }
.nav-cta {
  background: var(--navy);
  color: #fff !important;
  padding: 10px 20px !important;
  border-radius: var(--radius);
  border: none !important;
  transition: background .2s;
}
.nav-cta:hover { background: var(--navy-deep); color: #fff !important; }
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: transform .2s, opacity .2s;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 20px var(--pad);
    gap: 18px;
    align-items: stretch;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: transform .25s, opacity .25s;
  }
  .nav-list.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-list a { font-size: 1.05rem; }
  .nav-cta { text-align: center; }
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: .98rem;
  font-weight: 600;
  letter-spacing: .01em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .2s;
  text-align: center;
}
.btn-primary { background: var(--gold); color: #fff !important; border-color: var(--gold); }
.btn-primary:hover { background: #a07533; border-color: #a07533; color: #fff !important; }
.btn-secondary { background: transparent; color: var(--cream) !important; border-color: var(--cream); }
.btn-secondary:hover { background: var(--cream); color: var(--navy) !important; }
.btn-outline { background: transparent; color: var(--navy) !important; border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff !important; }
.btn-block { display: block; width: 100%; }

/* --- Hero --- */
.hero {
  position: relative;
  background: linear-gradient(135deg, #131f33 0%, #1c2e4a 60%, #2a3f5f 100%);
  color: #fff;
  overflow: hidden;
  padding: clamp(80px, 12vw, 160px) 0 clamp(70px, 11vw, 140px);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(184,137,71,0.15), transparent 50%),
                    radial-gradient(circle at 80% 70%, rgba(184,137,71,0.10), transparent 50%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 780px; }
.hero h1 {
  color: #fff;
  margin-bottom: .5em;
}
.hero h1 .accent { color: var(--gold-soft); font-style: italic; }
.hero p.lead {
  color: rgba(255,255,255,0.85);
  font-size: 1.25rem;
  max-width: 620px;
  margin-bottom: 2em;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* --- Page header (for non-home pages) --- */
.page-header {
  background: var(--navy);
  color: #fff;
  padding: clamp(70px, 10vw, 120px) 0 clamp(60px, 8vw, 100px);
  text-align: center;
}
.page-header h1 { color: #fff; margin-bottom: .35em; }
.page-header p { color: rgba(255,255,255,0.82); font-size: 1.15rem; max-width: 640px; margin: 0 auto; }
.page-header .eyebrow { color: var(--gold-soft); }

/* --- Two-column bio teaser --- */
.bio-teaser { background: var(--cream); }
.bio-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
@media (max-width: 820px) { .bio-grid { grid-template-columns: 1fr; } }
.bio-photo {
  aspect-ratio: 4/5;
  background-color: transparent;
  background-size: contain;
  background-position: center bottom;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* --- Featured photo treatments --- */
.bio-grid-reverse { grid-template-columns: 1.2fr 1fr; }
@media (max-width: 820px) { .bio-grid-reverse { grid-template-columns: 1fr; } }

.field-photo {
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--cream-warm);
}
.field-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.in-field { background: var(--cream); }

.bio-banner {
  margin: 0 auto 60px;
  max-width: var(--max);
  padding: 0 var(--pad);
}
.bio-banner figure {
  margin: -60px 0 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--navy-deep);
}
.bio-banner img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 21/9;
  object-fit: cover;
  object-position: center 30%;
}
@media (max-width: 820px) {
  .bio-banner figure { margin-top: -40px; }
  .bio-banner img { aspect-ratio: 4/3; }
}

.aside-photo {
  margin-top: 30px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--cream-warm);
}
.aside-photo img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center 20%;
}
.aside-photo figcaption {
  background: #fff;
  padding: 12px 16px;
  font-size: .85rem;
  color: var(--mute);
  border-top: 1px solid var(--line);
  text-align: center;
}

/* --- Ministry focus cards --- */
.focus { background: var(--cream-warm); }
.focus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.focus-card {
  background: #fff;
  padding: 36px 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
}
.focus-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.focus-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(184,137,71,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 18px;
  font-size: 1.4rem;
  font-weight: 700;
}
.focus-card h3 { margin-bottom: .3em; }
.focus-card p { color: var(--mute); margin: 0; font-size: .98rem; }

/* --- Highlights list (About) --- */
.highlights {
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 36px;
  box-shadow: var(--shadow-sm);
}
.highlights li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.highlights li:last-child { border-bottom: 0; }
.highlights li::before {
  content: '✦';
  color: var(--gold);
  flex-shrink: 0;
  font-size: 1.1rem;
  line-height: 1.4;
}

/* --- About body --- */
.about-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
.about-body p { font-size: 1.05rem; }

/* --- CTA strip --- */
.cta-strip {
  background: linear-gradient(120deg, var(--navy) 0%, #2a3f5f 100%);
  color: #fff;
  text-align: center;
}
.cta-strip h2 { color: #fff; margin-bottom: .5em; }
.cta-strip p { color: rgba(255,255,255,0.82); max-width: 600px; margin: 0 auto 2em; font-size: 1.1rem; }

/* --- Form --- */
.form-wrap {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: .9rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.field label .req { color: var(--gold); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,137,71,.15);
}
.field textarea { resize: vertical; min-height: 130px; }
.field .help { font-size: .85rem; color: var(--mute); margin-top: 5px; }
.form-note {
  margin-top: 20px;
  font-size: .9rem;
  color: var(--mute);
  text-align: center;
}

/* Honeypot (anti-spam) */
.hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

/* --- Store / products --- */
.category-section { margin-bottom: 70px; }
.category-section:last-child { margin-bottom: 0; }
.category-header {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin: 0 0 30px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.category-header h2 { margin: 0; font-size: 2rem; }
.category-header .category-count {
  color: var(--mute);
  font-size: .9rem;
  letter-spacing: .04em;
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.product-image {
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, #1c2e4a 0%, #2a3f5f 50%, #131f33 100%) center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(214, 176, 122, 0.55);
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 600;
}
.product-image[data-style="study"]::before { content: '✦'; }
.product-image[data-style="book"]::before { content: '❦'; }
.product-image[data-style=""]::before { content: '✦'; }
.product-image[style*="url("] {
  background-image: var(--bg-img);
  background-color: transparent;
  color: transparent;
}
.product-image[style*="url("]::before { display: none; }

.product-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex-grow: 1; }
.product-body h3 { margin-bottom: 8px; font-size: 1.25rem; line-height: 1.25; }
.product-desc { color: var(--mute); font-size: .92rem; flex-grow: 1; margin-bottom: 16px; line-height: 1.5; }
.product-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 14px;
}

.product-actions {
  display: flex;
  align-items: stretch;
  gap: 10px;
}
.product-actions .btn {
  flex: 1;
  padding: 12px 16px;
}
.product-qty {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  flex-shrink: 0;
}
.product-qty button {
  background: #fff;
  border: 0;
  width: 32px;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--navy);
  font-weight: 600;
  padding: 0;
  transition: background .15s;
}
.product-qty button:hover { background: var(--cream-warm); }
.product-qty input {
  border: 0;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  width: 42px;
  text-align: center;
  font-family: inherit;
  font-weight: 600;
  color: var(--navy);
  -moz-appearance: textfield;
  appearance: textfield;
  font-size: .95rem;
}
.product-qty input::-webkit-outer-spin-button,
.product-qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Cart icon in nav */
.cart-link {
  position: relative;
  padding-right: 4px !important;
}
.cart-count {
  display: inline-block;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: var(--gold);
  color: #fff;
  border-radius: 9px;
  font-size: .72rem;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  margin-left: 6px;
  vertical-align: middle;
}
.cart-count[data-count="0"] { display: none; }

/* Cart page */
.cart-empty {
  text-align: center;
  padding: 60px 0;
  color: var(--mute);
}
.cart-items {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.cart-row {
  display: grid;
  grid-template-columns: 72px 1fr auto auto auto;
  gap: 20px;
  align-items: center;
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
}
.cart-row:last-child { border-bottom: 0; }
.cart-row .thumb {
  width: 72px;
  height: 96px;
  background: linear-gradient(160deg, #1c2e4a 0%, #2a3f5f 50%, #131f33 100%) center/cover no-repeat;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(214, 176, 122, 0.5);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  flex-shrink: 0;
}
.cart-row .thumb[data-style="book"]::before { content: '❦'; }
.cart-row .thumb[data-style="study"]::before,
.cart-row .thumb:not([data-style])::before,
.cart-row .thumb[data-style=""]::before { content: '✦'; }
.cart-row .thumb[style*="url("] {
  background-image: var(--bg-img);
  background-color: transparent;
  color: transparent;
}
.cart-row .thumb[style*="url("]::before { display: none; }
.cart-row .name { font-weight: 600; color: var(--navy); font-size: 1.02rem; line-height: 1.3; }
.cart-row .unit-price { color: var(--mute); font-size: .88rem; margin-top: 3px; }
.cart-row .qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}
.cart-row .qty button {
  background: #fff;
  border: 0;
  width: 32px;
  height: 34px;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--navy);
  font-weight: 600;
  transition: background .15s;
}
.cart-row .qty button:hover { background: var(--cream-warm); }
.cart-row .qty input {
  border: 0;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  width: 48px;
  height: 34px;
  text-align: center;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 600;
  color: var(--navy);
  -moz-appearance: textfield;
}
.cart-row .qty input::-webkit-outer-spin-button,
.cart-row .qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.cart-row .line-total { font-weight: 600; color: var(--navy); min-width: 80px; text-align: right; font-size: 1.05rem; }
.cart-row .remove {
  background: transparent;
  border: 1px solid transparent;
  color: var(--mute);
  cursor: pointer;
  font-size: 1.3rem;
  line-height: 1;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .15s;
}
.cart-row .remove:hover {
  color: #b14b4b;
  background: rgba(177, 75, 75, 0.08);
  border-color: rgba(177, 75, 75, 0.2);
}
@media (max-width: 640px) {
  .cart-row { grid-template-columns: 60px 1fr auto; row-gap: 10px; padding: 18px; }
  .cart-row .thumb { width: 60px; height: 80px; }
  .cart-row .qty { grid-column: 2; justify-self: start; grid-row: 2; }
  .cart-row .line-total { grid-column: 3; grid-row: 2; }
  .cart-row .remove { grid-column: 3; grid-row: 1; justify-self: end; }
}
.cart-summary {
  background: var(--cream-warm);
  padding: 24px;
  margin-top: 24px;
  border-radius: var(--radius);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}
.cart-total {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--navy);
}

/* --- Updates / posts --- */
.posts-list { display: flex; flex-direction: column; gap: 30px; max-width: 800px; margin: 0 auto; }
.post {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
/* Single image — show the whole picture with the image's blurred copy
   filling the empty space behind it (Instagram-style backdrop). */
.post-image-wrap {
  position: relative;
  width: 100%;
  height: clamp(280px, 50vw, 480px);
  background: var(--cream-warm);
  overflow: hidden;
}
.post-image-bg {
  position: absolute;
  inset: -40px;
  background-size: cover;
  background-position: center;
  filter: blur(32px) saturate(1.1);
  transform: scale(1.08);
  opacity: 0.55;
  z-index: 0;
  pointer-events: none;
}
.post-image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Single video — keep simple black backdrop */
.post-video {
  width: 100%;
  background: #000;
  display: flex;
  justify-content: center;
}
.post-video video {
  width: 100%;
  max-height: 480px;
  display: block;
}

/* ----- Multi-media carousel: arrows + dots, image with blurred backdrop ----- */
.media-carousel {
  position: relative;
  width: 100%;
  background: var(--cream-warm);
  overflow: hidden;
}
.media-carousel-track {
  /* CSS Grid is more reliable than flexbox for horizontal scrollers.
     grid-auto-columns: 100% makes every slide exactly the visible width.
     iOS Safari respects this even when flex-basis behaves oddly. */
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.media-carousel-track::-webkit-scrollbar { display: none; }

.media-slide {
  /* CSS Grid auto-columns handles sizing — slides are exactly 100% of viewport. */
  scroll-snap-align: center;
  scroll-snap-stop: always;
  position: relative;
  height: clamp(280px, 50vw, 480px);
  background: var(--cream-warm);
  overflow: hidden;
}
.media-slide-image .media-slide-bg {
  position: absolute;
  inset: -40px;
  background-size: cover;
  background-position: center;
  filter: blur(32px) saturate(1.1);
  transform: scale(1.08);
  opacity: 0.55;
  z-index: 0;
  pointer-events: none;
}
.media-slide-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.media-slide-video {
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.media-slide-video video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Prev / next arrows */
.media-carousel-prev,
.media-carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 68px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  border: 0;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
  font-family: inherit;
  transition: background 150ms ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.media-carousel-prev:hover,
.media-carousel-next:hover { background: rgba(0, 0, 0, 0.72); }
.media-carousel-prev:focus-visible,
.media-carousel-next:focus-visible { outline: 2px solid #fff; outline-offset: -3px; }
.media-carousel-prev { left: 0;  border-radius: 0 4px 4px 0; }
.media-carousel-next { right: 0; border-radius: 4px 0 0 4px; }

/* Dot indicators */
.media-carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
  background: rgba(0, 0, 0, 0.35);
  padding: 8px 12px;
  border-radius: 999px;
}
.media-carousel-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  border: 0;
  cursor: pointer;
  padding: 0;
  transition: background 150ms ease, transform 150ms ease;
}
.media-carousel-dots button:hover { background: rgba(255, 255, 255, 0.9); }
.media-carousel-dots button.active {
  background: #fff;
  transform: scale(1.2);
}

/* Mobile: keep arrows visible but smaller; dots slightly larger + more spaced */
@media (max-width: 480px) {
  .media-carousel-prev,
  .media-carousel-next {
    width: 36px;
    height: 56px;
    font-size: 26px;
    background: rgba(0, 0, 0, 0.38);
  }
  .media-carousel-dots {
    bottom: 10px;
    padding: 7px 11px;
    gap: 10px;
  }
  .media-carousel-dots button {
    width: 11px;
    height: 11px;
  }
  .media-carousel-dots button.active {
    transform: scale(1.15);
  }
}

.post-body { padding: 30px clamp(20px, 3vw, 36px); }
.post-meta {
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--gold);
  margin-bottom: 12px;
  font-weight: 600;
}
.post h3 { margin-bottom: 12px; }
.post p { color: var(--ink); font-size: 1rem; margin-bottom: .8em; }
.post p:last-child { margin-bottom: 0; }
.post .verse {
  border-left: 3px solid var(--gold);
  padding: 8px 0 8px 16px;
  font-style: italic;
  color: var(--mute);
  margin: 18px 0;
}

/* --- Contact strip --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}
@media (max-width: 720px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  background: #fff;
  padding: 36px 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  text-align: center;
}
.contact-card .label {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--gold);
  margin-bottom: 10px;
  font-weight: 600;
}
.contact-card .value {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--navy);
}
.contact-card .value a { color: var(--navy); }
.contact-card .value a:hover { color: var(--gold); }

/* --- Footer --- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.75);
  padding: 50px 0 30px;
  font-size: .92rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}
@media (max-width: 720px) { .footer-top { grid-template-columns: 1fr; } }
.footer-top h4 {
  color: #fff;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  margin-bottom: 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}
.footer-top a { color: rgba(255,255,255,0.78); display: block; padding: 3px 0; }
.footer-top a:hover { color: var(--gold-soft); }
.footer-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 6px;
}
.footer-brand-sub { color: rgba(255,255,255,0.6); font-size: .9rem; line-height: 1.6; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: 22px;
  text-align: center;
  font-size: .82rem;
  color: rgba(255,255,255,0.55);
}
.footer-bottom a { color: rgba(255,255,255,0.7); }

/* --- 404 --- */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px var(--pad);
}
.error-page .num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 7rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 10px;
}

/* --- Utilities --- */
.center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: 20px; }
.mt-2 { margin-top: 40px; }
.flex-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
