.faith-hero { --hero-zoom: 1.08; position: relative; display: grid; place-items: center; min-height: clamp(370px, 34vw, 500px); overflow: hidden; color: #fff; background: #2a211b; }
.faith-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 58%; }
.faith-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #130e0b5c 0%, #130e0b72 53%, #130e0b2e 100%); }
.faith-hero-content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; padding-block: 70px 95px; text-align: center; text-shadow: 0 2px 15px #0008; }
.faith-emblem { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 18px; border: 2px solid var(--gold); border-radius: 50%; }
.faith-emblem .icon { width: 36px; height: 36px; stroke-width: 1.2; }

.faith-intro, .scripture { padding-block: 75px; background: #fff; }
.faith-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(42px, 6vw, 92px); }
.faith-copy { min-width: 0; }
.faith-copy .eyebrow { margin-bottom: 22px; color: #bf8614; }
.faith-copy .eyebrow::after { content: ""; display: block; width: 27px; height: 2px; margin-top: 14px; background: var(--gold); }
.faith-copy h2, .solas-heading h2 { margin: 0; color: #102d50; font: normal clamp(36px, 3.3vw, 51px)/1.1 Georgia, "Times New Roman", serif; letter-spacing: -.03em; }
.faith-copy > p:not(.eyebrow):not(.scripture-verse) { max-width: 590px; margin: 18px 0 0; color: #596781; font-size: 18px; line-height: 1.55; }
.faith-image { display: block; width: 100%; aspect-ratio: 1.61; height: auto; object-fit: cover; }
.faith-photo-frame { min-width: 0; margin: 0; overflow: hidden; box-shadow: 14px 14px 0 #f3ead1; }
.faith-photo-frame.is-active .faith-image { --hero-zoom: 1.08; animation: hero-ken-burns 11s linear both; will-change: transform; }
.faith-intro .faith-image { aspect-ratio: 1.35; object-position: 68% center; }

.solas { padding-block: 80px 92px; background: #faf9f6; }
.solas-heading { max-width: 850px; margin: 0 auto 38px; text-align: center; }
.solas-heading .eyebrow { margin-bottom: 14px; color: #bf8614; }
.solas-heading .eyebrow::after { content: ""; display: block; width: 42px; height: 2px; margin: 12px auto 0; background: var(--gold); }
.solas-heading h2 { font-size: clamp(35px, 3.4vw, 49px); }
.solas-heading > p:last-child { max-width: 680px; margin: 14px auto 0; color: #596781; font-size: 16px; line-height: 1.5; }
.solas-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.sola-card { position: relative; width: 100%; min-width: 0; height: 232px; padding: 0; border: 0; color: #102d50; background: transparent; text-align: center; opacity: 1; cursor: default; perspective: 1000px; transition: transform .2s ease; }
.solas.is-enhanced .sola-card { cursor: pointer; }
.solas.is-enhanced .sola-card:hover { transform: translateY(-4px); }
.sola-card-inner { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .65s cubic-bezier(.22, 1, .36, 1); }
.sola-card.is-flipped .sola-card-inner { transform: rotateY(180deg); }
.sola-card-face { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 22px 15px 18px; border: 1px solid #e4e5e5; border-bottom: 4px solid transparent; border-radius: 5px; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.sola-card-front { background: #fff; }
.sola-card-back { border-color: var(--blue-dark); border-bottom-color: var(--gold); color: #fff; background: var(--blue-dark); box-shadow: 0 8px 24px #102d5020; transform: rotateY(180deg); }
.sola-card-front > .icon { width: 48px; height: 48px; margin-bottom: 16px; color: #e0a51d; stroke-width: 1.25; }
.sola-card-title { font: normal clamp(20px, 1.6vw, 25px)/1.14 Georgia, "Times New Roman", serif; letter-spacing: -.025em; }
.sola-card-subtitle { margin-top: 5px; color: #596781; font-size: 14px; line-height: 1.36; }
.sola-card-back-title { margin-bottom: 11px; font: normal 23px/1.15 Georgia, "Times New Roman", serif; }
.sola-card-description { color: #e6edf2; font-size: 14px; line-height: 1.45; }
.sola-card-action { margin-top: 18px; color: #a4771a; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.sola-card-back .sola-card-action { margin-top: 14px; color: #e5bd56; }
.solas:not(.is-enhanced) .sola-card-inner { transform: none; }
.solas:not(.is-enhanced) .sola-card-front { display: none; }
.solas:not(.is-enhanced) .sola-card-back { backface-visibility: visible; transform: none; }

.scripture { padding-block: 82px; }
.scripture .faith-split { grid-template-columns: minmax(0, 1fr) minmax(0, .98fr); }
.scripture .faith-image { aspect-ratio: 1.18; object-position: 55% center; }
.scripture .faith-copy > p:not(.eyebrow):not(.scripture-verse) { max-width: 610px; font-size: 17px; line-height: 1.58; }
.scripture-verse { margin: 22px 0 0; color: #c18d21; font: normal 19px Georgia, "Times New Roman", serif; letter-spacing: .035em; }
.scripture-verse::before { content: ""; display: block; width: 28px; height: 2px; margin-bottom: 15px; background: var(--gold); }

.faith-community { padding-block: 96px; background: #fbfaf7; }
.faith-community .faith-split { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(56px, 7vw, 100px); }
.faith-community .faith-image { aspect-ratio: 1.6; object-position: center; }
.faith-community .faith-copy h2 { color: #153653; }
.faith-community .faith-copy > p:not(.eyebrow):not(.scripture-verse) { max-width: 590px; margin-block: 18px 20px; color: #596b85; font-size: 18px; line-height: 1.5; }
.faith-community .button { min-height: 51px; gap: 32px; padding: 10px 22px; border-radius: 3px; background: #f5b92d; font-size: 14px; font-weight: 600; }
.faith-community .button:hover { background: #e6a617; }
.faith-community .button .icon { width: 19px; height: 19px; }

@media (max-width: 1200px) {
  .faith-hero-content { padding-block: 55px 65px; }
}

@media (max-width: 1100px) {
  .solas-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sola-card { height: 232px; }
}

@media (max-width: 900px) {
  .faith-photo-frame { box-shadow: 10px 10px 0 #f3ead1; }
  .faith-community { padding-block: 76px; }
  .faith-community .faith-split { grid-template-columns: 1fr; gap: 32px; }
  .faith-community .faith-image { aspect-ratio: 1.6; }
}

@media (max-width: 700px) {
  .faith-hero { --hero-zoom: 1.05; min-height: 420px; }
  .faith-hero > img { object-position: 51% center; }
  .faith-hero-content { padding-block: 70px 105px; }
  .faith-intro, .scripture { padding-block: 64px; }
  .faith-split, .scripture .faith-split, .faith-community .faith-split { grid-template-columns: 1fr; gap: 30px; }
  .faith-copy h2 { font-size: clamp(35px, 8.6vw, 46px); }
  .faith-copy > p:not(.eyebrow):not(.scripture-verse) { font-size: 16px; }
  .faith-image { aspect-ratio: 1.5; }
  .faith-intro .faith-image { aspect-ratio: 1.5; }
  .solas { padding-block: 66px 70px; }
  .solas-heading { margin-bottom: 30px; }
  .solas-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sola-card { height: 236px; }
  .sola-card-face { padding-inline: 12px; }
  .sola-card:last-child { grid-column: 1 / -1; height: 208px; }
  .scripture .faith-image { aspect-ratio: 1.5; }
  .faith-community { padding-block: 52px; }
  .faith-community .faith-image { aspect-ratio: 1.5; }
  .faith-community .faith-copy > p:not(.eyebrow):not(.scripture-verse) { font-size: 16px; }
  .faith-community .button { max-width: 100%; gap: 14px; padding-inline: 16px; }
}

@media (max-width: 420px) {
  .faith-hero { min-height: 420px; }
  .solas-grid { gap: 9px; }
  .sola-card { height: 252px; }
  .sola-card:last-child { height: 208px; }
  .sola-card-face { padding-inline: 10px; }
  .sola-card-title { font-size: 20px; }
  .sola-card-subtitle { font-size: 13px; }
  .sola-card-back-title { font-size: 21px; }
  .sola-card-description { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .faith-photo-frame.is-active .faith-image { animation: none; will-change: auto; }
  .sola-card, .sola-card-inner { transition: none; }
}
