:root {
  /* Brand palette (from provided reference) */
  --brand-bg: #f7f3ea;
  --brand-cream: #e7d3b4;
  --brand-sage: #95a98f;
  --brand-teal: #2f8b84;
  --brand-teal-deep: #0d6b63;
  --brand-ink: #083f3e;
  --brand-orange: #d46a3c;
  --brand-red: #b4443c;

  /* Theme tokens (used throughout the inner pages) */
  --bg: var(--brand-bg);
  --bg-subtle: #efe6d8;
  --panel: rgba(255, 253, 247, 0.84);
  --ink: var(--brand-ink);
  --ink-soft: #1f4c49;
  --muted: #5b746f;
  --gold: var(--brand-orange);
  --gold-light: var(--brand-cream);
  --gold-dark: var(--brand-teal-deep);
  --gold-glow: rgba(212, 106, 60, 0.22);
  --wine: var(--brand-red);
  --olive: var(--brand-sage);
  --sky: var(--brand-teal);
  --line: rgba(8, 63, 62, 0.12);
  --white: #fffdf7;
  --shadow: 0 24px 70px rgba(8, 63, 62, 0.12);
  --shadow-soft: 0 14px 34px rgba(8, 63, 62, 0.08);
  --shadow-xl: 0 40px 120px rgba(8, 63, 62, 0.16);
  --ring: 0 0 0 4px rgba(47, 139, 132, 0.18);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --glass: rgba(255, 253, 247, 0.72);
  --glass-strong: rgba(255, 253, 247, 0.82);
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --text: var(--ink);
  --text-muted: var(--muted);
  --border: var(--line);
  --bg-card: var(--panel);
  --color-primary: var(--gold);
  --color-light: var(--ink-soft);
  --font-serif: "Gloock", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  /* Force light rendering even if phone is dark mode */
  color-scheme: light;
}

footer {
  padding: clamp(3rem, 6vw, 5rem) var(--gutter) 2.5rem;
  background: #041d1c;
  color: rgba(255, 253, 247, 0.86);
  position: relative;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* ── TOP CTA BAR ── */
.footer-cta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.8rem 3rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  margin-bottom: 2.5rem;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.footer-cta-bar::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 60%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(231, 211, 180, 0.08) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-bar-left {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.cta-icon-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1.5px solid rgba(212, 106, 60, 0.25);
  display: grid;
  place-items: center;
  background: radial-gradient(circle, rgba(212, 106, 60, 0.12) 0%, transparent 75%);
  color: var(--gold);
}

.cta-bar-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  margin: 0 0 0.2rem;
  color: #fff;
  line-height: 1.2;
}

.cta-bar-text p {
  margin: 0;
  opacity: 0.65;
  font-size: 1rem;
  font-weight: 400;
}

.cta-bar-right {
  display: flex;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.btn-footer-cta {
  min-height: 52px;
  padding: 0 1.8rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: 0.4s var(--ease-smooth);
}

.btn-footer-cta--gold {
  background: #f1dabf;
  color: #041d1c;
  box-shadow: 0 0 40px rgba(231, 211, 180, 0.15);
}

.btn-footer-cta--outline {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}

.btn-footer-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.btn-footer-cta--gold:hover {
  background: #fff;
}

/* ── FOOTER GRID CARDS ── */
.footer-main-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.1fr;
  gap: 1.2rem;
}

.footer-card {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 2.2rem;
  backdrop-filter: blur(5px);
}

.footer-card h4 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: #f1dabf;
  margin: 0 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-weight: 400;
}

.footer-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(231, 211, 180, 0.2);
  display: grid;
  place-items: center;
  color: #f1dabf;
}

.footer-card p {
  line-height: 1.7;
  opacity: 0.75;
  font-size: 0.95rem;
  margin-bottom: 1.8rem;
}

/* Explore Links */
.footer-explore-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-explore-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.05rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 1rem;
  transition: 0.3s var(--ease-out);
}

.footer-explore-list li:last-child a {
  border-bottom: none;
}

.footer-explore-list li a:hover {
  color: #f1dabf;
  padding-left: 0.4rem;
}

.footer-explore-list li a svg {
  opacity: 0.5;
  transition: 0.3s;
}

.footer-explore-list li a:hover svg {
  opacity: 1;
  transform: translateX(3px);
}

/* Contact Items */
.footer-contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.2rem;
  padding: 0.9rem;
  background: rgba(255, 255, 255, 0.015);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.03);
  transition: 0.3s;
}

.footer-contact-item:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}

.footer-contact-item .icon {
  color: #f1dabf;
  opacity: 0.8;
}

.footer-contact-item .val {
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

/* Social Icons */
.footer-social-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #f1dabf;
  margin-bottom: 1.1rem;
  font-weight: 700;
}

.footer-social-row {
  display: flex;
  gap: 0.7rem;
}

.footer-social-btn {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.9);
  transition: 0.4s var(--ease-smooth);
}

.footer-social-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
  color: #fff;
}

/* Footer Bottom */
.footer-legal-bar {
  margin-top: 3.5rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  opacity: 0.6;
  letter-spacing: 0.05em;
}

.footer-legal-left {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.footer-shield {
  width: 28px;
  height: 34px;
  border: 1px solid rgba(231, 211, 180, 0.6);
  border-radius: 5px;
  display: grid;
  place-items: center;
  color: #f1dabf;
}

.footer-legal-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

@media (max-width: 1100px) {
  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .footer-cta-bar {
    flex-direction: column;
    text-align: center;
    gap: 1.8rem;
    padding: 2.5rem 2rem;
  }
  
  .cta-bar-left {
    flex-direction: column;
    gap: 1.2rem;
  }
}

@media (max-width: 600px) {
  .cta-bar-right {
    flex-direction: column;
    width: 100%;
  }
  
  .btn-footer-cta {
    width: 100%;
    justify-content: center;
  }
  
  .footer-legal-bar {
    flex-direction: column;
    gap: 1.2rem;
    text-align: center;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: #ffffff;
  line-height: 1.76;
  overflow-x: hidden;
  text-rendering: geometricPrecision;
}

@keyframes bgFlow {
  0% { background-position: 0% 30%; }
  50% { background-position: 100% 70%; }
  100% { background-position: 0% 30%; }
}

:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: 10px;
}

body::before {
  content: none;
}

body::after { content: none; }

@keyframes ambientDrift {
  0% { transform: translate3d(0, 0, 0); opacity: 0.85; }
  50% { transform: translate3d(0, -10px, 0); opacity: 1; }
  100% { transform: translate3d(0, 0, 0); opacity: 0.88; }
}

.vignette {
  animation: ambientDrift 12s ease-in-out infinite;
}

.noise-overlay {
  animation: ambientDrift 16s ease-in-out infinite reverse;
}

.pillar-hero-bg {
  animation: ambientDrift 14s ease-in-out infinite;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
}

#canvas-container {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: #ffffff;
}

#canvas-container::before {
  content: "";
  position: absolute;
  inset: -10%;
  pointer-events: none;
  opacity: 0.08;
  background:
    repeating-linear-gradient(0deg,
      rgba(8, 63, 62, 0.55) 0 1px,
      transparent 1px 88px),
    repeating-linear-gradient(90deg,
      rgba(8, 63, 62, 0.55) 0 1px,
      transparent 1px 88px);
  background-position:
    calc(var(--bg-grid-x, 0px) * 1) calc(var(--bg-grid-y, 0px) * 1),
    calc(var(--bg-grid-x, 0px) * 1) calc(var(--bg-grid-y, 0px) * 1);
  transform: translate3d(0, 0, 0);
  animation: gridDrift 18s ease-in-out infinite alternate;
}

#canvas-container::after {
  content: "";
  position: absolute;
  inset: -18%;
  pointer-events: none;
  background:
    radial-gradient(circle at 22% 24%, rgba(47, 139, 132, 0.16), transparent 0 48%),
    radial-gradient(circle at 78% 26%, rgba(231, 211, 180, 0.22), transparent 0 50%),
    radial-gradient(circle at 62% 84%, rgba(180, 68, 60, 0.12), transparent 0 52%);
  filter: blur(22px) saturate(1.05);
  opacity: 0.55;
  transform: translate3d(calc(var(--bg-blob-x, 0px) * 1), calc(var(--bg-blob-y, 0px) * 1), 0);
  animation: blobFloat 22s var(--ease-smooth) infinite alternate;
}

@keyframes gridDrift {
  0% { transform: translate3d(-0.8%, -0.4%, 0); }
  100% { transform: translate3d(0.8%, 0.6%, 0); }
}

@keyframes blobFloat {
  0% { filter: blur(22px) saturate(1.05); }
  100% { filter: blur(28px) saturate(1.08); }
}

#luxury-canvas {
  width: 100%;
  height: 100%;
  opacity: 0;
}

.vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 18%, transparent 0 36%, rgba(247, 243, 234, 0.72) 74%),
    linear-gradient(to bottom, transparent 0 62%, rgba(247, 243, 234, 0.88));
  display: none;
}

.noise-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.045;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  display: none;
}

#page-transition {
  position: fixed;
  inset: 0;
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at 30% 20%, rgba(231, 211, 180, 0.30), transparent 0 45%),
    radial-gradient(circle at 70% 10%, rgba(47, 139, 132, 0.20), transparent 0 40%),
    radial-gradient(circle at 60% 80%, rgba(180, 68, 60, 0.14), transparent 0 42%),
    var(--bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.transition-strip {
  display: none;
}

#page-transition.is-active {
  opacity: 1;
  visibility: visible;
}

nav {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 1000;
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  padding: 0.65rem 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateX(-50%);
  background: linear-gradient(120deg, rgba(8, 63, 62, 0.96), rgba(13, 107, 99, 0.92) 55%, rgba(8, 63, 62, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-bottom-color: rgba(8, 63, 62, 0.11);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(8, 63, 62, 0.10);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), background 0.35s var(--ease-out);
}

nav::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.10), rgba(255, 253, 247, 0.02) 42%, rgba(231, 211, 180, 0.06)),
    radial-gradient(circle at 18% 35%, rgba(212, 106, 60, 0.14), transparent 0 55%),
    radial-gradient(circle at 82% 20%, rgba(47, 139, 132, 0.16), transparent 0 50%);
  opacity: 1;
  pointer-events: none;
}

.nav-logo,
.nav-links {
  position: relative;
  z-index: 1;
}

@media (hover: hover) {
  nav:hover {
    background: rgba(8, 63, 62, 0.94);
    box-shadow: 0 28px 82px rgba(8, 63, 62, 0.12);
  }
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.95rem;
}

.nav-logo img {
  height: 70px !important;
  filter:
    drop-shadow(0 2px 0 rgba(255, 255, 255, 0.95))
    drop-shadow(0 14px 28px rgba(8, 63, 62, 0.18)) !important;
}

.nav-logo-name {
  color: rgba(255, 253, 247, 0.92);
  font-family: var(--font-serif);
  font-size: 1.12rem !important;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0 !important;
  word-spacing: 0.08em;
}

.nav-tagline {
  margin-top: 0.25rem;
  color: rgba(231, 211, 180, 0.78);
  font-size: 0.58rem !important;
  font-weight: 700;
  letter-spacing: 0.18em !important;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a,
.nav-home {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 0.95rem;
  color: rgba(255, 253, 247, 0.92) !important;
  border: 0;
  border-radius: 999px;
  font-size: 0.74rem !important;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.nav-home {
  color: rgba(255, 253, 247, 0.92) !important;
  background: rgba(255, 253, 247, 0.10);
}

.nav-links a:hover {
  color: rgba(255, 253, 247, 0.92) !important;
  background: rgba(255, 253, 247, 0.10);
  transform: translateY(-1px);
}

.nav-links a:focus-visible,
.nav-home:focus-visible {
  box-shadow: 0 0 0 4px rgba(255, 253, 247, 0.18);
}

.pillar-hero {
  min-height: 88vh;
  padding: 148px 2rem 5rem;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.pillar-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 28%, rgba(180, 68, 60, 0.14), transparent 0 30%),
    radial-gradient(circle at 78% 20%, rgba(47, 139, 132, 0.16), transparent 0 32%),
    radial-gradient(circle at 50% 58%, rgba(231, 211, 180, 0.18), transparent 0 36%);
}

.pillar-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(8, 63, 62, 0.72), rgba(8, 63, 62, 0.44) 55%, rgba(8, 63, 62, 0.22)),
    radial-gradient(circle at 50% 20%, rgba(255, 253, 247, 0.10), transparent 0 60%);
  pointer-events: none;
}

.pillar-hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2rem;
  width: min(940px, calc(100% - 2rem));
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 106, 60, 0.5), transparent);
  transform: translateX(-50%);
}

.pillar-hero-content {
  position: relative;
  z-index: 1;
  width: min(900px, 100%);
}

.pillar-badge,
.section-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  padding: 0 0.88rem;
  color: var(--gold-dark);
  border: 1px solid rgba(212, 106, 60, 0.26);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.58);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.pillar-hero h1 {
  margin: 1.35rem 0 1.2rem;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(3.4rem, 7vw, 7.2rem);
  font-weight: 400;
  /* Prevent last-letter clipping on big serif headings */
  line-height: 1.03;
  letter-spacing: 0;
  text-shadow: none !important;
  padding-right: 0.06em;
}

.pillar-hero h1 em {
  /* Single solid accent color for the pillar word (Faith / Never Ends / Never Fails) */
  color: var(--gold);
  background: none;
  -webkit-text-fill-color: var(--gold);
  font-style: italic;
}

.pillar-hero-sub {
  max-width: 720px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 500;
}

.pillar-hero h1,
.pillar-hero-sub,
.hero-scripture blockquote {
  text-shadow: 0 10px 34px rgba(0, 0, 0, 0.42);
}

/* Hope page title */
.hope-page .pillar-hero h1 {
  color: rgba(255, 253, 247, 0.92);
}

.hope-page .pillar-hero h1 em {
  /* Use the same accent color as other pillar pages */
  color: var(--gold);
  -webkit-text-fill-color: var(--gold);
  background: none;
}

.hero-scripture {
  max-width: 700px;
  margin: 2rem auto 0;
  padding: 1.45rem;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius-md);
  background: var(--glass-strong);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hero-scripture blockquote {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.1vw, 1.65rem);
  font-style: normal;
  font-weight: 400;
  line-height: 1.35;
}

.hero-scripture cite,
.scripture-card cite,
.passage-highlight cite {
  display: block;
  margin-top: 1rem;
  color: var(--gold-dark);
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.scripture-keyword {
  margin-top: 1rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-transform: uppercase;
  border-top: 1px solid rgba(212, 106, 60, 0.15);
  padding-top: 0.8rem;
}

.pillar-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.pillar-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 1rem;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.62);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.pillar-nav a:hover,
.pillar-nav a.active {
  color: #fff;
  background: var(--ink);
  transform: translateY(-2px);
}

.page-section {
  width: min(1180px, calc(100% - 4rem));
  margin: 0 auto;
  padding: clamp(5rem, 8vw, 8rem) 0;
}

.page-section.full-width {
  width: 100%;
  max-width: none;
  padding-inline: 2rem;
  border-block: 1px solid var(--line);
  background: rgba(255, 253, 247, 0.48);
}

.inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section-title,
.col-text h2,
.cta-section h2 {
  margin: 0.85rem 0 1rem;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(2.35rem, 5vw, 4.4rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0;
}

.col-text h2 {
  font-size: clamp(2rem, 4vw, 3.45rem);
}

.section-desc,
.col-text p,
.card p,
.attr-item p,
.timeline-item p,
.cta-section p {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 500;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.two-col.reverse .col-text {
  order: 2;
}

.two-col.reverse .col-art {
  order: 1;
}

.col-art {
  min-height: 520px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 50% 40%, rgba(231, 211, 180, 0.24), transparent 0 34%),
    linear-gradient(135deg, rgba(8, 63, 62, 0.96), rgba(13, 107, 99, 0.92));
  box-shadow: var(--shadow);
  transition: transform 0.55s var(--ease-out), box-shadow 0.55s var(--ease-out), border-color 0.55s var(--ease-out);
}

.col-art::before {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: calc(var(--radius-lg) - 8px);
  pointer-events: none;
}

.col-art::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 253, 247, 0.10), transparent 0 55%),
    linear-gradient(to top, rgba(8, 63, 62, 0.28), transparent 58%);
  pointer-events: none;
}

.col-art--fill {
  place-items: stretch;
}

.col-art-fill {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  filter: saturate(1.05) contrast(1.02);
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.35s ease;
}

.col-art--poster::after {
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 253, 247, 0.10), transparent 0 55%),
    linear-gradient(to top, var(--poster-tint, rgba(8, 63, 62, 0.78)), transparent 58%);
}

.col-art-poster {
  position: absolute;
  left: 2.2rem;
  right: 2.2rem;
  bottom: 2rem;
  z-index: 2;
  max-width: 860px;
  color: rgba(255, 253, 247, 0.92);
  transform: translateY(0);
  transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.col-art-poster .poster-quote {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 2.25vw, 2.7rem);
  font-weight: 400;
  line-height: 1.12;
  font-style: italic;
  text-shadow: 0 3px 34px rgba(0, 0, 0, 0.58);
}

.col-art-poster .poster-accent {
  width: 46px;
  height: 4px;
  margin-top: 1.1rem;
  border-radius: 999px;
  background: var(--gold);
  opacity: 0.95;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.32);
}

.col-art-poster .poster-ref {
  margin-top: 1.05rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255, 253, 247, 0.74);
}

.col-art-poster--compact .poster-quote {
  font-size: clamp(1.25rem, 1.55vw, 1.75rem);
  line-height: 1.18;
  font-style: italic;
}

.col-art-poster--compact .poster-accent {
  width: 36px;
  height: 3px;
  margin-top: 0.85rem;
}

.col-art-poster--compact .poster-ref {
  margin-top: 0.8rem;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  opacity: 0.95;
}

.premium-icon-wrap {
  width: 100%    !important;
  height: 100% !important;
  margin: 0;
  position: relative;
  z-index: 1;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
  transform: translateY(0);
  transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.premium-icon-wrap img,
.premium-icon-wrap svg {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  transform: scale(1);
  filter: drop-shadow(0 22px 38px rgba(0, 0, 0, 0.22)) !important;
}

.col-art-label {
  position: absolute;
  left: 1.3rem;
  right: 1.3rem;
  bottom: 1.3rem;
  z-index: 2;
  padding: 1.05rem 1.15rem;
  color: rgba(255, 253, 247, 0.82) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 8px;
  background: rgba(8, 63, 62, 0.26) !important;
  font-family: var(--font-serif);
  font-style: italic;
  line-height: 1.45;
  letter-spacing: 0.01em;
  backdrop-filter: blur(1px);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
  transform: translateY(0);
  transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.25s ease, border-color 0.25s ease;
}

@media (hover: hover) {
  .col-art:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 106, 60, 0.34);
    box-shadow: 0 26px 80px rgba(8, 63, 62, 0.18);
  }

  .col-art:hover .col-art-fill {
    transform: scale(1.08);
    filter: saturate(1.12) contrast(1.05);
  }

  .col-art:hover .premium-icon-wrap {
    transform: translateY(-6px) scale(1.02);
  }

  .col-art:hover .col-art-label {
    transform: translateY(-6px);
    background: rgba(8, 63, 62, 0.32) !important;
    border-color: rgba(255, 255, 255, 0.22) !important;
  }

  .col-art:hover .col-art-poster {
    transform: translateY(-4px);
  }
}

.cards-grid,
.scriptures-grid,
.attrs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2.4rem;
}

.cards-grid--2col {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.scriptures-grid,
.attrs-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.scripture-card,
.attr-item,
.timeline-item,
.passage-highlight {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius-md);
  background: var(--panel) !important;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.scripture-card--dark,
.card--dark {
  background: rgba(8, 63, 62, 0.82) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 26px 80px rgba(8, 63, 62, 0.18) !important;
}

.scripture-card--dark blockquote,
.card--dark blockquote {
  color: rgba(255, 253, 247, 0.92) !important;
}

.scripture-card--dark cite,
.card--dark cite {
  color: rgba(255, 253, 247, 0.72) !important;
}

.card,
.scripture-card,
.attr-item,
.timeline-item {
  padding: 1.45rem;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.card:hover,
.scripture-card:hover,
.attr-item:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 106, 60, 0.35);
  box-shadow: var(--shadow);
}

.card::before,
.scripture-card::before,
.attr-item::before {
  content: "";
  position: absolute;
  inset: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--wine));
}

.card-icon {
  margin-bottom: 1rem;
  color: var(--gold-dark) !important;
  font-size: 2rem;
  line-height: 1;
}

.card h3,
.attr-item h3,
.timeline-item h3 {
  margin: 0 0 0.65rem;
  color: var(--ink) !important;
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.15;
}

.scripture-card {
  text-align: left;
}

.scripture-card blockquote {
  margin: 0;
  position: relative;
  z-index: 1;
  color: var(--ink-soft);
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-style: italic;
  line-height: 1.5;
}

.open-q {
  position: absolute;
  top: -0.55rem;
  left: 0.7rem;
  color: rgba(212, 106, 60, 0.18);
  font-family: var(--font-serif);
  font-size: 5rem;
  line-height: 1;
}

.passage-highlight {
  max-width: 980px;
  margin: 2.3rem auto 0;
  padding: clamp(1.4rem, 4vw, 3rem);
  text-align: left;
}

.passage-highlight p {
  margin: 0;
  position: relative;
  z-index: 1;
  color: var(--ink-soft);
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-style: italic;
  line-height: 1.42;
}

.timeline {
  display: grid;
  gap: 0.9rem;
}

.timeline-item {
  padding-left: 4.2rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 1.45rem;
  top: 1.55rem;
  width: 1.35rem;
  height: 1.35rem;
  border: 5px solid rgba(212, 106, 60, 0.25);
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 1px rgba(212, 106, 60, 0.35);
}

.cta-section {
  padding: clamp(5rem, 8vw, 8rem) 2rem;
  text-align: center;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(8, 63, 62, 0.96), rgba(13, 107, 99, 0.96)),
    var(--ink);
  color: var(--white);
}

.cta-section .section-label {
  margin-inline: auto;
  color: var(--gold-light);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(231, 211, 180, 0.3);
}

.cta-section h2 {
  color: var(--white);
}

.cta-section p {
  max-width: 760px;
  margin: 0 auto 1.6rem;
  color: rgba(255, 253, 247, 0.7) !important;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin: 0.35rem;
  padding: 0 1.35rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-primary {
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 18px 38px rgba(212, 106, 60, 0.22);
}

.btn-ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
}

.btn-primary:hover,
.btn-ghost:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
}

.heart-icon {
  transform-origin: center;
  animation: heartPulse 2.8s ease-in-out infinite;
}

@keyframes heartPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

.reveal {
  transition: 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  nav {
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - (2 * var(--gutter)));
  }

  .two-col,
  .two-col.reverse {
    grid-template-columns: 1fr;
  }

  .two-col.reverse .col-text,
  .two-col.reverse .col-art {
    order: initial;
  }

  .cards-grid,
  .scriptures-grid,
  .attrs-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .page-section,
  .page-section.full-width {
    width: 100%;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

/* ── MOBILE HAMBURGER ── */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 253, 247, 0.08);
  color: rgba(255, 253, 247, 0.9);
  cursor: pointer;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: rgba(255, 253, 247, 0.85);
  border-radius: 2px;
  margin: 0 auto;
  transition: transform 0.35s var(--ease-out), opacity 0.25s ease, margin 0.35s var(--ease-out);
}

.nav-toggle span + span {
  margin-top: 5px;
}

.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: 720px) {
  nav {
    min-height: 64px;
    padding: 0.5rem 0.65rem;
    border-radius: 16px;
  }

  .nav-logo {
    gap: 0.75rem;
  }

  .nav-logo img {
    height: 48px !important;
  }

  .nav-logo-name {
    font-size: 0.92rem !important;
  }

  .nav-tagline {
    font-size: 0.48rem !important;
    letter-spacing: 0.12em !important;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem;
    background: linear-gradient(135deg, rgba(8, 63, 62, 0.98), rgba(13, 107, 99, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 100;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a,
  .nav-links .nav-home {
    width: 100%;
    justify-content: center;
    border-radius: 12px;
    font-size: 0.82rem !important;
    padding: 0 1rem;
  }

  .pillar-hero {
    min-height: auto;
    padding: 118px 1.25rem 3.5rem;
  }

  .pillar-hero h1 {
    font-size: clamp(3rem, 16vw, 4.2rem);
  }

  .hero-scripture {
    padding: 1rem;
  }

  .hero-scripture blockquote {
    font-size: clamp(1rem, 3.5vw, 1.35rem);
  }

  .pillar-nav {
    gap: 0.45rem;
  }

  .pillar-nav a {
    min-height: 36px;
    padding: 0 0.85rem;
    font-size: 0.66rem;
  }

  .col-art {
    min-height: 380px;
  }

  .col-art-poster {
    left: 1.25rem;
    right: 1.25rem;
    bottom: 1.25rem;
  }

  .col-art-poster .poster-quote {
    font-size: clamp(1.35rem, 5.2vw, 1.85rem);
    line-height: 1.14;
  }

  .premium-icon-wrap {
    width: clamp(200px, 62vw, 260px) !important;
    height: clamp(200px, 62vw, 260px) !important;
  }

  .cards-grid,
  .scriptures-grid,
  .attrs-grid {
    gap: 1rem;
  }

  .card,
  .scripture-card,
  .attr-item,
  .timeline-item {
    padding: 1.15rem;
  }

  .card h3,
  .attr-item h3,
  .timeline-item h3 {
    font-size: 1.35rem;
  }

  .section-title,
  .col-text h2,
  .cta-section h2 {
    font-size: clamp(2rem, 7vw, 3rem);
  }

  .btn-primary,
  .btn-ghost {
    min-height: 48px;
    padding: 0 1.1rem;
    font-size: 0.72rem;
  }

  .timeline-item {
    padding-left: 1.35rem;
  }

  .timeline-item::before {
    display: none;
  }

  .footer-cta-bar {
    padding: 1.5rem 1.25rem;
    margin-bottom: 1.5rem;
    border-radius: 18px;
  }

  .cta-icon-circle {
    width: 56px;
    height: 56px;
  }

  .cta-bar-text h2 {
    font-size: clamp(1.3rem, 4vw, 1.7rem);
  }

  .footer-card {
    padding: 1.5rem;
    border-radius: 18px;
  }

  .footer-card h4 {
    font-size: 1.25rem;
  }

  .passage-highlight {
    padding: clamp(1.2rem, 3vw, 2rem);
  }

  .passage-highlight p {
    font-size: clamp(1.1rem, 4vw, 1.5rem);
  }
}

/* ── EXTRA SMALL SCREENS (≤480px) ── */
@media (max-width: 480px) {
  nav {
    min-height: 56px;
    padding: 0.4rem 0.55rem;
    border-radius: 14px;
  }

  .nav-logo img {
    height: 40px !important;
  }

  .nav-logo-name {
    font-size: 0.82rem !important;
  }

  .nav-tagline {
    display: none;
  }

  .pillar-hero {
    padding: 100px 1.25rem 3rem;
  }

  .pillar-hero h1 {
    font-size: clamp(2.5rem, 14vw, 3.5rem);
  }

  .pillar-hero-sub {
    font-size: 0.92rem;
  }

  .hero-scripture {
    padding: 0.85rem;
  }

  .col-art {
    min-height: 320px;
    border-radius: var(--radius-md);
  }

  .col-art::before {
    inset: 12px;
    border-radius: calc(var(--radius-md) - 6px);
  }

  .col-art-poster .poster-quote {
    font-size: clamp(1.15rem, 4.5vw, 1.5rem);
  }

  .premium-icon-wrap {
    width: clamp(160px, 55vw, 220px) !important;
    height: clamp(160px, 55vw, 220px) !important;
  }

  .cards-grid,
  .scriptures-grid,
  .attrs-grid {
    gap: 0.75rem;
    margin-top: 1.5rem;
  }

  .card,
  .scripture-card,
  .attr-item,
  .timeline-item {
    padding: 1rem;
  }

  .card h3,
  .attr-item h3,
  .timeline-item h3 {
    font-size: 1.2rem;
  }

  .scripture-card blockquote {
    font-size: 1rem;
  }

  .section-title,
  .col-text h2,
  .cta-section h2 {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
  }

  .page-section {
    padding: clamp(3.5rem, 6vw, 5rem) 0;
  }

  .btn-primary,
  .btn-ghost {
    min-height: 44px;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
  }

  .cta-section {
    padding: clamp(3.5rem, 6vw, 5rem) 1.25rem;
  }

  .footer-cta-bar {
    padding: 1.25rem 1.25rem;
    border-radius: 16px;
  }

  .cta-icon-circle {
    width: 48px;
    height: 48px;
  }

  .cta-bar-text h2 {
    font-size: 1.2rem;
  }

  .footer-card {
    padding: 1.25rem;
    border-radius: 16px;
  }
}
