/* journeys-of-faith.css — Page-specific styling for the Journeys of Faith page.
   Moved from an inline <style> block. */

/* ═══════════════════════════════════════
   PAGE-LEVEL VARIABLES & RESET
═══════════════════════════════════════ */
body.page-journeys-of-faith {
    --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    --text-primary: #1d1d1f;
    --text-secondary: #2c2c2e;
    --accent-blue: #0071e3;
    --accent-green: #34c759;
    --accent-purple: #5856D6;
    --grad-title-blue: linear-gradient(135deg,#0072ff 0%,#00c6ff 100%);
    --container-max: 1240px;
    --ease-spring: cubic-bezier(.25,1,.5,1);
}
:where(body.page-journeys-of-faith *, body.page-journeys-of-faith *::before, body.page-journeys-of-faith *::after) {
    box-sizing: border-box; margin: 0; padding: 0; -webkit-font-smoothing: antialiased;
}
body.page-journeys-of-faith { font-family: var(--font-body); color: var(--text-primary); background: #f5f5f7; font-size: 16px; line-height: 1.6; overflow-x: clip; }
body.page-journeys-of-faith a { text-decoration: none; color: inherit; }
body.page-journeys-of-faith ul { list-style: none; }
body.page-journeys-of-faith img { max-width: 100%; display: block; }
body.page-journeys-of-faith .container { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; position: relative; }

/* Background orbs */
body.page-journeys-of-faith .liquid-canvas { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: -1; overflow: hidden; background: #f5f5f7; pointer-events: none; }
body.page-journeys-of-faith .orb { position: absolute; border-radius: 50%; filter: blur(130px); will-change: transform; }
body.page-journeys-of-faith .orb-1 { width: 50vw; height: 50vw; top: -5%; left: -10%; background: radial-gradient(circle, rgba(0,113,227,.1) 0%, transparent 70%); animation: jof-o1 28s infinite ease-in-out alternate; }
body.page-journeys-of-faith .orb-2 { width: 40vw; height: 40vw; bottom: 10%; right: -5%; background: radial-gradient(circle, rgba(52,199,89,.1) 0%, transparent 70%); animation: jof-o2 34s infinite ease-in-out alternate; }
body.page-journeys-of-faith .orb-3 { width: 35vw; height: 35vw; top: 40%; left: 50%; background: radial-gradient(circle, rgba(88,86,214,.08) 0%, transparent 70%); animation: jof-o3 40s infinite ease-in-out alternate; }
@keyframes jof-o1 { 0%{transform:translate(0,0)} 100%{transform:translate(40px,60px)} }
@keyframes jof-o2 { 0%{transform:translate(0,0)} 100%{transform:translate(-30px,-40px)} }
@keyframes jof-o3 { 0%{transform:translate(0,0)} 100%{transform:translate(20px,-30px)} }

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
/* Fills the whole first screen and slides under the see-through header
   (css/course-hero.css; includes/hero.js measures the header in --pl-hero-top). */
body.page-journeys-of-faith .jof-hero {
    position: relative; min-height: 100vh; min-height: 100svh;
    margin-top: calc(-1 * var(--pl-hero-top, 121px));
    padding-top: var(--pl-hero-top, 121px);
    display: flex; align-items: center; overflow: hidden; color: #fff;
    background: #001525;
}
body.page-journeys-of-faith .jof-hero-img {
    position: absolute; inset: 0; background-size: cover; background-position: center;
    transform: scale(1.05); transition: transform 8s ease;
}
body.page-journeys-of-faith .jof-hero:hover .jof-hero-img { transform: scale(1.0); }
/* Header 100% see-through over the hero: no blurred glass sheet behind it
   (course-hero.css), so there is no band where the header ends. */
body.page-journeys-of-faith .nav-glass-container:not(.scrolled):not(.mobile-menu-open):not(.login-island-open) .glass-nav::before { content: none; }
/* lighter shade: dark only where the copy sits, the photo stays visible on the right */
body.page-journeys-of-faith .jof-hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(to right, rgba(0,12,32,.78) 0%, rgba(0,12,32,.5) 45%, rgba(0,12,32,.12) 100%),
                linear-gradient(to bottom, rgba(0,12,32,.45) 0%, transparent 28%),
                linear-gradient(to top, rgba(0,0,0,.35) 0%, transparent 40%);
}
body.page-journeys-of-faith .jof-hero-content { position: relative; z-index: 3; max-width: 680px; padding: 60px 0; }
@media (max-width: 768px) { body.page-journeys-of-faith .jof-hero-content { padding: 60px 24px; } }
body.page-journeys-of-faith .jof-hero h1 { text-shadow: 0 4px 24px rgba(0,12,28,.45); }
body.page-journeys-of-faith .jof-hero h1 span { text-shadow: none; }
body.page-journeys-of-faith .jof-hero p { text-shadow: 0 2px 12px rgba(0,12,28,.5); }

/* Dot grid behind the title that opens on hover and leans toward the cursor
   (same rules as the course pages; includes/hero.js sets the variables and
   .is-grid-on). Desktop pointers only. */
@property --hg-open { syntax: '<number>'; inherits: false; initial-value: 0; }
body.page-journeys-of-faith .jof-hero .hero-grid {
    position: absolute; inset: 0; z-index: 2; pointer-events: none;
    background-image: radial-gradient(rgba(255,255,255,.5) 1.3px, transparent 2px);
    background-size: 26px 26px;
    --hg-open: 0;
    -webkit-mask-image: radial-gradient(max(1px, calc((var(--hg-tw, 360px) + var(--hg-sx, 0px)) * var(--hg-open))) max(1px, calc((var(--hg-th, 110px) + var(--hg-sy, 0px)) * var(--hg-open))) at var(--hg-lx, 50%) var(--hg-ly, 45%), #000 20%, rgba(0,0,0,.55) 60%, transparent 100%);
    mask-image: radial-gradient(max(1px, calc((var(--hg-tw, 360px) + var(--hg-sx, 0px)) * var(--hg-open))) max(1px, calc((var(--hg-th, 110px) + var(--hg-sy, 0px)) * var(--hg-open))) at var(--hg-lx, 50%) var(--hg-ly, 45%), #000 20%, rgba(0,0,0,.55) 60%, transparent 100%);
    opacity: 0;
    transition: opacity .5s ease, --hg-open 1s cubic-bezier(.22,1,.36,1);
}
body.page-journeys-of-faith .jof-hero.is-grid-on .hero-grid { opacity: 1; --hg-open: 1; }
@media (max-width: 1024px) {
    body.page-journeys-of-faith .jof-hero .hero-grid { display: none; }
}
body.page-journeys-of-faith .jof-hero .hero-text { display: block; }
body.page-journeys-of-faith .jof-hero h1 {
    font-size: clamp(40px,6vw,80px); font-weight: 800; letter-spacing: -.04em;
    line-height: 1.0; margin: 16px 0;
}
body.page-journeys-of-faith .jof-hero h1 span { background: var(--grad-title-blue); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
body.page-journeys-of-faith .jof-hero p { font-size: 18px; color: rgba(255,255,255,.8); line-height: 1.7; max-width: 560px; margin-bottom: 28px; }
body.page-journeys-of-faith .jof-hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
body.page-journeys-of-faith .jof-hero-badges span {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px;
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
    border-radius: 100px; font-size: 13px; font-weight: 600; color: #fff;
    backdrop-filter: blur(10px);
}
body.page-journeys-of-faith .jof-cta-btn {
    display: inline-flex; align-items: center; gap: 10px; padding: 14px 32px;
    background: var(--accent-blue); color: #fff; border-radius: 100px; font-size: 15px; font-weight: 700;
    box-shadow: 0 8px 32px rgba(0,113,227,.4); transition: all .3s ease;
}
body.page-journeys-of-faith .jof-cta-btn:hover { background: #005bb5; transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0,113,227,.5); }

/* ═══════════════════════════════════════
   INTRO SECTION
═══════════════════════════════════════ */
body.page-journeys-of-faith .jof-intro-section { padding: 80px 0 60px; }
body.page-journeys-of-faith .jof-intro-header { text-align: center; margin-bottom: 48px; }
body.page-journeys-of-faith .jof-intro-header h2 { font-size: clamp(28px,4vw,48px); font-weight: 800; letter-spacing: -.03em; margin: 12px 0 16px; }
body.page-journeys-of-faith .jof-intro-header p { font-size: 17px; color: var(--text-secondary); max-width: 580px; margin: 0 auto; }
body.page-journeys-of-faith .jof-program-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
body.page-journeys-of-faith .jof-prog-card {
    border-radius: 24px; overflow: hidden; display: flex; flex-direction: column;
    box-shadow: 0 12px 40px rgba(0,0,0,.12); transition: transform .35s ease, box-shadow .35s ease; cursor: pointer;
}
body.page-journeys-of-faith .jof-prog-card:hover { transform: translateY(-8px); box-shadow: 0 24px 60px rgba(0,0,0,.2); }
body.page-journeys-of-faith .jof-prog-card-img { height: 220px; background-size: cover; background-position: center; }
body.page-journeys-of-faith .jof-prog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; gap: 8px; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); }
body.page-journeys-of-faith .jof-prog-tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-blue); }
body.page-journeys-of-faith .jof-prog-italy .jof-prog-tag { color: #1a7f3c; }
body.page-journeys-of-faith .jof-prog-churches .jof-prog-tag { color: var(--accent-purple); }
body.page-journeys-of-faith .jof-prog-card-body h3 { font-size: 13px; font-weight: 600; color: var(--text-secondary); }
body.page-journeys-of-faith .jof-prog-card-body h4 { font-size: 22px; font-weight: 800; color: var(--text-primary); line-height: 1.2; }
body.page-journeys-of-faith .jof-prog-card-body p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; flex: 1; }
body.page-journeys-of-faith .jof-prog-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--accent-blue); margin-top: 8px; }
body.page-journeys-of-faith .jof-prog-italy .jof-prog-link { color: #1a7f3c; }
body.page-journeys-of-faith .jof-prog-churches .jof-prog-link { color: var(--accent-purple); }

/* ═══════════════════════════════════════
   GALLERY STRIP (auto-scroll)
═══════════════════════════════════════ */
body.page-journeys-of-faith .jof-gallery-strip { overflow: hidden; padding: 0; height: 200px; position: relative; }
body.page-journeys-of-faith .jof-gallery-track { display: flex; gap: 8px; animation: jof-scroll 35s linear infinite; width: max-content; height: 100%; }
body.page-journeys-of-faith .jof-gallery-img { width: 300px; height: 200px; flex-shrink: 0; background-size: cover; background-position: center; border-radius: 4px; }
@keyframes jof-scroll { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ═══════════════════════════════════════
   DESTINATION SECTIONS
═══════════════════════════════════════ */
body.page-journeys-of-faith .jof-destination-section { padding: 80px 0; }
body.page-journeys-of-faith .jof-israel-section { background: transparent; }
/* no bands or lines between the sections */
body.page-journeys-of-faith .jof-italy-section,
body.page-journeys-of-faith .jof-churches-section { background: transparent; border: 0; }
body.page-journeys-of-faith .jof-dest-header { text-align: center; margin-bottom: 48px; }
body.page-journeys-of-faith .jof-dest-header h2 { font-size: clamp(26px,3.5vw,44px); font-weight: 800; letter-spacing: -.03em; margin: 12px 0 14px; }
body.page-journeys-of-faith .jof-dest-header p { font-size: 17px; color: var(--text-secondary); max-width: 620px; margin: 0 auto; line-height: 1.7; }

/* Bento grid (reuse global) */
body.page-journeys-of-faith .mission-bento-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
body.page-journeys-of-faith .bento-card { border-radius: 24px; padding: 32px 28px; box-shadow: 0 8px 32px rgba(0,0,0,.07); transition: transform .3s ease, box-shadow .3s ease; }
body.page-journeys-of-faith .bento-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,.12); }
body.page-journeys-of-faith .bento-wide { grid-column: 1 / -1; }
body.page-journeys-of-faith .bento-dark-gradient { background: linear-gradient(135deg,#001525,#002a4a); color: #fff; }
body.page-journeys-of-faith .bento-bg-gradient { background: rgba(255,255,255,.92); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,.7); color: var(--text-primary); }
body.page-journeys-of-faith .bento-icon-wrapper { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; background: rgba(255,255,255,.12); color: #fff; }
body.page-journeys-of-faith .bento-bg-gradient .bento-icon-wrapper { background: rgba(0,113,227,.1); color: var(--accent-blue); }
body.page-journeys-of-faith .bento-content h3 { font-size: 18px; font-weight: 800; margin-bottom: 10px; }
body.page-journeys-of-faith .bento-dark-gradient .bento-content h3 { color: #fff; }
body.page-journeys-of-faith .bento-bg-gradient .bento-content h3 { color: var(--text-primary); }
body.page-journeys-of-faith .bento-content p { font-size: 14px; line-height: 1.65; }
body.page-journeys-of-faith .bento-dark-gradient .bento-content p { color: rgba(255,255,255,.78); }
body.page-journeys-of-faith .bento-bg-gradient .bento-content p { color: var(--text-secondary); }

/* Route timeline */
body.page-journeys-of-faith .jof-route { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0; margin: 0 0 8px; }
body.page-journeys-of-faith .jof-route-city { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
body.page-journeys-of-faith .jof-route-dot { width: 14px; height: 14px; border-radius: 50%; background: #34c759; border: 3px solid #fff; box-shadow: 0 0 0 3px rgba(52,199,89,.3); }
body.page-journeys-of-faith .jof-route-line { flex: 1; min-width: 24px; height: 2px; background: linear-gradient(to right, #34c759, rgba(52,199,89,.3)); margin-top: -30px; }
body.page-journeys-of-faith .jof-route-info h4 { font-size: 13px; font-weight: 800; color: var(--text-primary); margin-top: 8px; }
body.page-journeys-of-faith .jof-route-info p { font-size: 11px; color: var(--text-secondary); line-height: 1.4; }

/* Tiers */
body.page-journeys-of-faith .jof-tiers { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 16px; }
body.page-journeys-of-faith .jof-tier { display: flex; flex-direction: column; gap: 8px; }
body.page-journeys-of-faith .jof-tier-badge { display: inline-block; padding: 4px 12px; border-radius: 100px; font-size: 12px; font-weight: 700; width: fit-content; }
body.page-journeys-of-faith .jof-tier p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* Payment grid */
body.page-journeys-of-faith .jof-payment-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 16px; }
body.page-journeys-of-faith .jof-payment-item { display: flex; flex-direction: column; gap: 4px; background: rgba(255,255,255,.08); padding: 16px; border-radius: 12px; }
body.page-journeys-of-faith .jof-payment-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.5); }
body.page-journeys-of-faith .jof-payment-amount { font-size: 24px; font-weight: 800; color: #fff; }
body.page-journeys-of-faith .jof-payment-note { font-size: 12px; color: rgba(255,255,255,.6); }

/* Digital course card */
body.page-journeys-of-faith .jof-digital-course {
    display: flex; align-items: center; gap: 24px; margin-top: 28px;
    background: rgba(255,255,255,.92); backdrop-filter: blur(20px); border: 1px solid rgba(52,199,89,.2);
    border-radius: 20px; padding: 28px 32px; box-shadow: 0 8px 30px rgba(0,0,0,.06);
}
body.page-journeys-of-faith .jof-digital-icon { font-size: 48px; color: var(--accent-green); flex-shrink: 0; }
body.page-journeys-of-faith .jof-digital-text { flex: 1; }
body.page-journeys-of-faith .jof-digital-text h3 { font-size: 18px; font-weight: 800; color: var(--text-primary); margin-bottom: 8px; }
body.page-journeys-of-faith .jof-digital-text p { font-size: 14px; color: var(--text-secondary); line-height: 1.65; }
body.page-journeys-of-faith .jof-interest-btn { flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; background: var(--accent-green); color: #fff; border-radius: 100px; font-size: 14px; font-weight: 700; white-space: nowrap; transition: all .3s ease; }
body.page-journeys-of-faith .jof-interest-btn:hover { filter: brightness(1.1); transform: translateY(-2px); }

/* Photo mosaic */
body.page-journeys-of-faith .jof-photo-mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; margin-top: 40px; height: 360px; }
body.page-journeys-of-faith .jof-mosaic-main { background-size: cover; background-position: center; border-radius: 16px; }
body.page-journeys-of-faith .jof-mosaic-side { display: grid; grid-template-rows: 1fr 1fr; gap: 12px; }
body.page-journeys-of-faith .jof-mosaic-side div { background-size: cover; background-position: center; border-radius: 12px; }

/* Full gallery grid */
body.page-journeys-of-faith .jof-full-gallery { padding: 80px 0; }
body.page-journeys-of-faith .jof-grid-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 12px;
    margin-top: 40px;
}
body.page-journeys-of-faith .jof-gg-item { background-size: cover; background-position: center; border-radius: 12px; transition: transform .3s ease, box-shadow .3s ease; overflow: hidden; }
body.page-journeys-of-faith .jof-gg-item:hover { transform: scale(1.02); box-shadow: 0 12px 40px rgba(0,0,0,.2); z-index: 1; }
body.page-journeys-of-faith .jof-gg-tall { grid-row: span 2; }
body.page-journeys-of-faith .jof-gg-wide { grid-column: span 2; }

/* Contact section */
body.page-journeys-of-faith .jof-contact-section { padding: 80px 0 100px; }
body.page-journeys-of-faith .jof-contact-card {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start;
    background: linear-gradient(135deg, #001525, #002a4a); border-radius: 32px;
    padding: 60px 56px; box-shadow: 0 24px 80px rgba(0,0,0,.2); color: #fff;
}
body.page-journeys-of-faith .jof-contact-left h2 { font-size: clamp(24px,3vw,36px); font-weight: 800; line-height: 1.2; margin: 12px 0 16px; }
body.page-journeys-of-faith .jof-contact-left p { font-size: 15px; color: rgba(255,255,255,.75); line-height: 1.7; }
body.page-journeys-of-faith .jof-contact-stats { display: flex; gap: 32px; margin-top: 32px; }
body.page-journeys-of-faith .jof-contact-stats div { display: flex; flex-direction: column; gap: 4px; }
body.page-journeys-of-faith .jof-contact-stats strong { font-size: 28px; font-weight: 800; color: #64D2FF; }
body.page-journeys-of-faith .jof-contact-stats span { font-size: 12px; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
body.page-journeys-of-faith .jof-form { display: flex; flex-direction: column; gap: 14px; }
body.page-journeys-of-faith .jof-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
body.page-journeys-of-faith .jof-input {
    width: 100%; padding: 14px 18px; font-size: 14px; font-family: var(--font-body);
    background: #fff; border: 1.5px solid transparent;
    border-radius: 12px; color: var(--text-primary); outline: none; transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
body.page-journeys-of-faith .jof-input::placeholder { color: rgba(29,29,31,.45); }
body.page-journeys-of-faith .jof-input:hover { background: #f5f5f7; }
body.page-journeys-of-faith .jof-input:focus { background: #fff; border-color: var(--accent-blue); box-shadow: 0 0 0 4px rgba(100,210,255,.25); }
body.page-journeys-of-faith .jof-select option { background: #fff; color: var(--text-primary); }
body.page-journeys-of-faith .jof-textarea { height: 100px; resize: none; }
body.page-journeys-of-faith .jof-submit-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 16px 32px; background: var(--accent-blue); color: #fff;
    border: none; border-radius: 100px; font-size: 15px; font-weight: 700;
    cursor: pointer; transition: all .3s ease; font-family: var(--font-body);
    box-shadow: 0 8px 32px rgba(0,113,227,.35);
}
body.page-journeys-of-faith .jof-submit-btn:hover { background: #005bb5; transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0,113,227,.5); }

/* Reveal */
body.page-journeys-of-faith .reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
body.page-journeys-of-faith .reveal.active { opacity: 1; transform: translateY(0); }
body.page-journeys-of-faith .stagger-1 { transition-delay: .1s; }
body.page-journeys-of-faith .stagger-2 { transition-delay: .2s; }
body.page-journeys-of-faith .stagger-3 { transition-delay: .3s; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
    body.page-journeys-of-faith .jof-program-cards { grid-template-columns: 1fr 1fr; }
    body.page-journeys-of-faith .jof-prog-churches { grid-column: 1 / -1; }
    body.page-journeys-of-faith .jof-prog-churches .jof-prog-card-img { height: 160px; }
    body.page-journeys-of-faith .jof-tiers { grid-template-columns: 1fr; }
    body.page-journeys-of-faith .jof-payment-grid { grid-template-columns: 1fr 1fr; }
    body.page-journeys-of-faith .jof-contact-card { grid-template-columns: 1fr; gap: 40px; padding: 40px 32px; }
}
@media (max-width: 768px) {
    body.page-journeys-of-faith .jof-hero h1 { font-size: 38px; }
    body.page-journeys-of-faith .jof-program-cards { grid-template-columns: 1fr; }
    body.page-journeys-of-faith .jof-prog-churches { grid-column: auto; }
    body.page-journeys-of-faith .mission-bento-grid { grid-template-columns: 1fr; }
    body.page-journeys-of-faith .jof-route { justify-content: flex-start; flex-direction: column; align-items: flex-start; gap: 12px; }
    body.page-journeys-of-faith .jof-route-line { display: none; }
    body.page-journeys-of-faith .jof-route-city { flex-direction: row; align-items: center; gap: 12px; text-align: left; }
    body.page-journeys-of-faith .jof-photo-mosaic { grid-template-columns: 1fr; height: auto; }
    body.page-journeys-of-faith .jof-mosaic-main { height: 220px; }
    body.page-journeys-of-faith .jof-mosaic-side { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; height: 130px; }
    body.page-journeys-of-faith .jof-grid-gallery { grid-template-columns: 1fr 1fr; }
    body.page-journeys-of-faith .jof-gg-wide { grid-column: span 1; }
    body.page-journeys-of-faith .jof-payment-grid { grid-template-columns: 1fr 1fr; }
    body.page-journeys-of-faith .jof-digital-course { flex-direction: column; text-align: center; }
    body.page-journeys-of-faith .jof-form-row { grid-template-columns: 1fr; }
    body.page-journeys-of-faith .jof-contact-card { padding: 32px 20px; }
}

/* ═══════════════════════════════════════
   SECTION TITLES & EYEBROWS
   The home's title blue (gradient) and its eyebrow above every title.
   Italy and the Seven Churches keep their color on the destination name.
═══════════════════════════════════════ */
body.page-journeys-of-faith .jof-intro-header h2,
body.page-journeys-of-faith .jof-dest-header h2 {
    display: block;
    width: fit-content;
    margin-left: auto; margin-right: auto;
    background-image: var(--grad-title-blue);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-bottom: .06em;
}
body.page-journeys-of-faith .jof-dest-header h2 span { -webkit-text-fill-color: transparent; }
body.page-journeys-of-faith .jof-accent-green { background: linear-gradient(135deg,#1a7f3c,#34c759); -webkit-background-clip: text; background-clip: text; }
body.page-journeys-of-faith .jof-accent-purple { background: linear-gradient(135deg,#5856D6,#bf5af2); -webkit-background-clip: text; background-clip: text; }
body.page-journeys-of-faith .jof-intro-header .eyebrow,
body.page-journeys-of-faith .jof-dest-header .eyebrow { justify-content: center; margin-bottom: 4px; }
body.page-journeys-of-faith .eyebrow.jof-eyebrow-green { color: #1a7f3c !important; }
body.page-journeys-of-faith .eyebrow.jof-eyebrow-purple { color: #5856D6 !important; }
body.page-journeys-of-faith .eyebrow.jof-eyebrow-light { color: #64D2FF !important; margin-bottom: 0; }

/* ═══════════════════════════════════════
   HOLY LAND
   Three places side by side and the digital course as one wide card
   under them, so the grid has no empty cell. Each place has a line icon
   that draws in when the cards appear and keeps a quiet loop.
═══════════════════════════════════════ */
body.page-journeys-of-faith .jof-holy-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
body.page-journeys-of-faith .jof-site-card {
    display: flex; flex-direction: column; gap: 10px;
    padding: 30px 28px 32px; border-radius: 24px;
    background: rgba(255,255,255,.94); border: 1px solid rgba(0,113,227,.08);
    box-shadow: 0 8px 32px rgba(0,0,0,.06);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
body.page-journeys-of-faith .jof-site-card:hover { transform: translateY(-4px); box-shadow: 0 18px 48px rgba(0,40,90,.12); border-color: rgba(0,113,227,.22); }
body.page-journeys-of-faith .jof-site-card h3 { font-size: 19px; font-weight: 800; color: var(--text-primary); margin-top: 8px; }
body.page-journeys-of-faith .jof-site-card p { font-size: 14.5px; line-height: 1.65; color: var(--text-secondary); }

body.page-journeys-of-faith .jof-anim-icon {
    width: 60px; height: 60px; border-radius: 18px; flex: none;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(0,114,255,.12), rgba(0,198,255,.12));
    color: var(--accent-blue);
}
body.page-journeys-of-faith .jof-svg {
    width: 36px; height: 36px; overflow: hidden;
    fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round;
}

/* waves: three lines drifting at different speeds, faded at the edges */
body.page-journeys-of-faith .jof-svg-waves {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent);
}
body.page-journeys-of-faith .jof-svg-waves path { animation: jof-wave 2.8s linear infinite; }
body.page-journeys-of-faith .jof-svg-waves .jof-w2 { animation-duration: 3.8s; animation-direction: reverse; opacity: .75; }
body.page-journeys-of-faith .jof-svg-waves .jof-w3 { animation-duration: 4.8s; opacity: .5; }
@keyframes jof-wave { to { transform: translateX(-16px); } }

/* cross: drawn in, then the light around it breathes */
body.page-journeys-of-faith .jof-svg-cross .jof-cross { stroke-dasharray: 48; stroke-dashoffset: 48; }
body.page-journeys-of-faith .jof-svg-cross .jof-ground { stroke-dasharray: 28; stroke-dashoffset: 28; opacity: .55; }
body.page-journeys-of-faith .jof-svg-cross .jof-rays { opacity: 0; transform-origin: 24px 17px; }
body.page-journeys-of-faith .reveal.active .jof-svg-cross .jof-cross { animation: jof-draw 1.1s .3s cubic-bezier(.65,0,.35,1) forwards; }
body.page-journeys-of-faith .reveal.active .jof-svg-cross .jof-ground { animation: jof-draw .7s .2s ease-out forwards; }
body.page-journeys-of-faith .reveal.active .jof-svg-cross .jof-rays { animation: jof-rays 2.6s 1.3s ease-in-out infinite; }
@keyframes jof-draw { to { stroke-dashoffset: 0; } }
@keyframes jof-rays { 0%, 100% { opacity: .25; transform: scale(.9); } 50% { opacity: 1; transform: scale(1.06); } }

/* scroll: unrolls, then the lines are written one after another */
body.page-journeys-of-faith .jof-svg-scroll .jof-sheet { transform-origin: 12px 24px; transform: scaleX(0); }
body.page-journeys-of-faith .jof-svg-scroll .jof-roll-r { transform: translateX(-24px); }
body.page-journeys-of-faith .jof-svg-scroll .jof-ln { stroke-dasharray: 14; stroke-dashoffset: 14; stroke-width: 2.2; opacity: .8; }
body.page-journeys-of-faith .reveal.active .jof-svg-scroll .jof-sheet { animation: jof-unroll 1s .3s cubic-bezier(.65,0,.35,1) forwards; }
body.page-journeys-of-faith .reveal.active .jof-svg-scroll .jof-roll-r { animation: jof-roll 1s .3s cubic-bezier(.65,0,.35,1) forwards; }
body.page-journeys-of-faith .reveal.active .jof-svg-scroll .jof-ln { animation: jof-write 4.5s 1.3s ease-in-out infinite; }
body.page-journeys-of-faith .reveal.active .jof-svg-scroll .jof-ln2 { animation-delay: 1.6s; }
body.page-journeys-of-faith .reveal.active .jof-svg-scroll .jof-ln3 { animation-delay: 1.9s; }
@keyframes jof-unroll { to { transform: scaleX(1); } }
@keyframes jof-roll { to { transform: translateX(0); } }
@keyframes jof-write { 0% { stroke-dashoffset: 14; } 25%, 80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -14; } }

/* digital course: a screen with a play button and a soft pulse */
body.page-journeys-of-faith .jof-svg-play .jof-play { fill: currentColor; stroke-width: 1.6; transform-origin: 25px 21px; }
body.page-journeys-of-faith .jof-svg-play .jof-ping { stroke-width: 1.6; transform-origin: 24px 21px; opacity: 0; }
body.page-journeys-of-faith .reveal.active .jof-svg-play .jof-ping { animation: jof-ping 2.4s .6s ease-out infinite; }
body.page-journeys-of-faith .reveal.active .jof-svg-play .jof-play { animation: jof-beat 2.4s .6s ease-in-out infinite; }
@keyframes jof-ping { 0% { opacity: .7; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.7); } }
@keyframes jof-beat { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.15); } 24% { transform: scale(1); } }

/* the icons speed up a little on hover */
body.page-journeys-of-faith .jof-site-card:hover .jof-svg-waves path { animation-duration: 1.6s; }
body.page-journeys-of-faith .jof-site-card:hover .jof-svg-waves .jof-w2 { animation-duration: 2.2s; }
body.page-journeys-of-faith .jof-site-card:hover .jof-svg-waves .jof-w3 { animation-duration: 2.8s; }

body.page-journeys-of-faith .jof-holy-course {
    grid-column: 1 / -1; position: relative; overflow: hidden;
    display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 28px;
    padding: 34px 36px; border-radius: 24px; color: #fff;
    background:
        radial-gradient(80% 120% at 70% 20%, rgba(0,82,155,.75) 0%, rgba(0,40,90,.35) 50%, transparent 80%),
        linear-gradient(135deg, #000 0%, #001525 35%, #002a4a 65%, #001a35 100%);
    box-shadow: 0 16px 48px rgba(0,16,40,.22);
}
body.page-journeys-of-faith .jof-holy-course::before,
body.page-journeys-of-faith .jof-contact-card::before {
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background-image: radial-gradient(rgba(255,255,255,.13) 1px, transparent 1.6px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(85% 90% at 65% 40%, #000 25%, transparent 100%);
    mask-image: radial-gradient(85% 90% at 65% 40%, #000 25%, transparent 100%);
}
body.page-journeys-of-faith .jof-holy-course > * { position: relative; z-index: 1; }
body.page-journeys-of-faith .jof-holy-course .jof-anim-icon { background: rgba(100,210,255,.14); color: #64D2FF; }
body.page-journeys-of-faith .jof-anim-icon-lg { width: 84px; height: 84px; border-radius: 24px; }
body.page-journeys-of-faith .jof-anim-icon-lg .jof-svg { width: 48px; height: 48px; }
body.page-journeys-of-faith .jof-holy-course h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; color: #fff; }
body.page-journeys-of-faith .jof-holy-course p { font-size: 14.5px; line-height: 1.65; color: rgba(255,255,255,.8); max-width: 680px; }
body.page-journeys-of-faith .jof-course-btn {
    display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
    padding: 13px 24px; border-radius: 100px; background: #fff; color: #0071e3;
    font-size: 14px; font-weight: 700; box-shadow: 0 6px 20px rgba(0,0,0,.25);
    transition: transform .25s ease, background-color .25s ease;
}
body.page-journeys-of-faith .jof-course-btn i { font-size: 12px; transition: transform .3s cubic-bezier(.22,1,.36,1); }
body.page-journeys-of-faith .jof-course-btn:hover { transform: translateY(-2px); background: #eaf4ff; }
body.page-journeys-of-faith .jof-course-btn:hover i { transform: translateX(4px); }

/* ═══════════════════════════════════════
   INTEREST FORM CARD: the dot grid of the hero behind it
═══════════════════════════════════════ */
body.page-journeys-of-faith .jof-contact-card {
    position: relative; overflow: hidden;
    background:
        radial-gradient(70% 90% at 75% 30%, rgba(0,82,155,.7) 0%, rgba(0,40,90,.3) 50%, transparent 80%),
        linear-gradient(135deg, #000 0%, #001525 35%, #002a4a 65%, #001a35 100%);
}
body.page-journeys-of-faith .jof-contact-card::before {
    background-image: radial-gradient(rgba(255,255,255,.16) 1.1px, transparent 1.7px);
    background-size: 24px 24px;
    -webkit-mask-image: radial-gradient(90% 100% at 70% 45%, #000 30%, transparent 100%);
    mask-image: radial-gradient(90% 100% at 70% 45%, #000 30%, transparent 100%);
}
body.page-journeys-of-faith .jof-contact-card > * { position: relative; z-index: 1; }

@media (max-width: 1024px) {
    body.page-journeys-of-faith .jof-holy-grid { grid-template-columns: 1fr 1fr; }
    body.page-journeys-of-faith .jof-site-card:nth-child(3) { grid-column: 1 / -1; }
    body.page-journeys-of-faith .jof-holy-course { grid-template-columns: auto minmax(0,1fr); }
    body.page-journeys-of-faith .jof-course-btn { grid-column: 2; justify-self: start; }
}
@media (max-width: 768px) {
    body.page-journeys-of-faith .jof-holy-grid { grid-template-columns: 1fr; }
    body.page-journeys-of-faith .jof-site-card:nth-child(3) { grid-column: auto; }
    body.page-journeys-of-faith .jof-site-card { padding: 24px 22px 26px; }
    body.page-journeys-of-faith .jof-holy-course { grid-template-columns: 1fr; gap: 18px; padding: 28px 22px; }
    body.page-journeys-of-faith .jof-course-btn { grid-column: auto; width: 100%; justify-content: center; }
    body.page-journeys-of-faith .jof-anim-icon-lg { width: 64px; height: 64px; border-radius: 18px; }
    body.page-journeys-of-faith .jof-anim-icon-lg .jof-svg { width: 38px; height: 38px; }
    body.page-journeys-of-faith .jof-intro-header h2,
    body.page-journeys-of-faith .jof-dest-header h2 { width: auto; }
}
@media (prefers-reduced-motion: reduce) {
    body.page-journeys-of-faith .jof-svg *, body.page-journeys-of-faith .reveal.active .jof-svg * { animation: none !important; }
    body.page-journeys-of-faith .jof-svg-cross .jof-cross, body.page-journeys-of-faith .jof-svg-cross .jof-ground,
    body.page-journeys-of-faith .jof-svg-scroll .jof-ln { stroke-dashoffset: 0; }
    body.page-journeys-of-faith .jof-svg-cross .jof-rays { opacity: .6; }
    body.page-journeys-of-faith .jof-svg-scroll .jof-sheet { transform: none; }
    body.page-journeys-of-faith .jof-svg-scroll .jof-roll-r { transform: none; }
}

/* ═══════════════════════════════════════
   ITALY & SEVEN CHURCHES
   Same card language as the Holy Land: light cards with an animated line
   icon, plus one or two dark cards with the dot grid. Green for Italy,
   purple for the Seven Churches.
═══════════════════════════════════════ */
body.page-journeys-of-faith .jof-italy-section { --tone: #1a7f3c; --tone-soft: rgba(52,199,89,.12); --tone-line: rgba(52,199,89,.28); --tone-light: #6fe39a; --env: #0f3a22; }
body.page-journeys-of-faith .jof-churches-section { --tone: #5856D6; --tone-soft: rgba(88,86,214,.12); --tone-line: rgba(88,86,214,.28); --tone-light: #d3a3ff; --env: #2a1c5e; }
body.page-journeys-of-faith .jof-italy-section .jof-anim-icon,
body.page-journeys-of-faith .jof-churches-section .jof-anim-icon { background: var(--tone-soft); color: var(--tone); }
body.page-journeys-of-faith .jof-italy-section .jof-site-card:hover,
body.page-journeys-of-faith .jof-churches-section .jof-site-card:hover { border-color: var(--tone-line); }

body.page-journeys-of-faith .jof-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; margin-top: 44px; }
body.page-journeys-of-faith .jof-churches-grid { grid-template-columns: repeat(4, minmax(0,1fr)); margin-top: 0; }
body.page-journeys-of-faith .jof-tiers-card { grid-column: span 2; }
body.page-journeys-of-faith .jof-pay-card,
body.page-journeys-of-faith .jof-why-card { grid-column: 1 / -1; }

body.page-journeys-of-faith .jof-dark-card {
    position: relative; overflow: hidden; border-radius: 24px; padding: 30px 28px 32px; color: #fff;
    display: flex; flex-direction: column; gap: 10px;
    box-shadow: 0 16px 48px rgba(0,16,24,.2);
}
body.page-journeys-of-faith .jof-italy-section .jof-dark-card {
    background: radial-gradient(90% 120% at 80% 10%, rgba(52,199,89,.35) 0%, rgba(20,90,50,.2) 45%, transparent 75%),
                linear-gradient(135deg, #020c06 0%, #0a2616 45%, #114126 100%);
}
body.page-journeys-of-faith .jof-churches-section .jof-dark-card {
    background: radial-gradient(90% 120% at 80% 10%, rgba(191,90,242,.32) 0%, rgba(88,86,214,.2) 45%, transparent 75%),
                linear-gradient(135deg, #07051a 0%, #1a1248 50%, #2a1b68 100%);
}
body.page-journeys-of-faith .jof-dark-card::before {
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background-image: radial-gradient(rgba(255,255,255,.13) 1px, transparent 1.6px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(85% 90% at 70% 35%, #000 25%, transparent 100%);
    mask-image: radial-gradient(85% 90% at 70% 35%, #000 25%, transparent 100%);
}
body.page-journeys-of-faith .jof-dark-card > * { position: relative; z-index: 1; }
body.page-journeys-of-faith .jof-section-x, body.page-journeys-of-faith .jof-dark-card .jof-anim-icon { background: rgba(255,255,255,.1); color: var(--tone-light); }
body.page-journeys-of-faith .jof-dark-card h3 { font-size: 19px; font-weight: 800; color: #fff; margin-top: 8px; }
body.page-journeys-of-faith .jof-dark-card p { font-size: 14.5px; line-height: 1.65; color: rgba(255,255,255,.78); }

/* price: the number is the headline */
body.page-journeys-of-faith .jof-price-card h3 { font-size: clamp(30px, 2.6vw, 38px); letter-spacing: -.02em; line-height: 1.1; }

/* tiers */
body.page-journeys-of-faith .jof-tiers-card .jof-tiers { margin-top: 6px; gap: 14px; }
body.page-journeys-of-faith .jof-tiers-card .jof-tier { padding: 16px; border-radius: 16px; background: #f7f8fa; border: 1px solid rgba(0,0,0,.04); }

/* payment schedule */
body.page-journeys-of-faith .jof-pay-head { display: flex; align-items: center; gap: 16px; }
body.page-journeys-of-faith .jof-pay-head h3 { margin: 0; }
body.page-journeys-of-faith .jof-pay-card .jof-payment-grid { margin-top: 10px; }
body.page-journeys-of-faith .jof-pay-card .jof-payment-item {
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border-radius: 16px; padding: 18px;
}
body.page-journeys-of-faith .jof-pay-card .jof-payment-amount { color: #fff; }
body.page-journeys-of-faith .jof-pay-card .jof-payment-label { color: var(--tone-light); opacity: .85; }

/* Italy digital course */
body.page-journeys-of-faith .jof-digital-course { border-color: var(--tone-line); border-radius: 24px; }
body.page-journeys-of-faith .jof-digital-icon { font-size: 0; }

/* why the seven churches matter */
body.page-journeys-of-faith .jof-why-card { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 28px; padding: 36px; }
body.page-journeys-of-faith .jof-why-card h3 { font-size: 21px; margin: 0 0 8px; }
body.page-journeys-of-faith .jof-why-card p { max-width: 720px; }
body.page-journeys-of-faith .jof-why-note {
    display: flex; align-items: flex-start; gap: 12px; margin-top: 18px; padding: 14px 18px;
    border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
}
body.page-journeys-of-faith .jof-why-note i { color: var(--tone-light); margin-top: 3px; animation: jof-hourglass 3s ease-in-out infinite; }
body.page-journeys-of-faith .jof-why-note p { color: rgba(255,255,255,.92); font-weight: 600; font-size: 14px; }
body.page-journeys-of-faith .jof-why-card .jof-course-btn { color: var(--tone); }
@keyframes jof-hourglass { 0%, 40% { transform: rotate(0); } 50%, 90% { transform: rotate(180deg); } 100% { transform: rotate(360deg); } }

/* ── icon animations ── */
body.page-journeys-of-faith .jof-svg-ship { -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
body.page-journeys-of-faith .jof-svg-ship .jof-boat { transform-origin: 24px 34px; animation: jof-bob 3s ease-in-out infinite; }
body.page-journeys-of-faith .jof-svg-ship .jof-sail { fill: currentColor; fill-opacity: .18; }
body.page-journeys-of-faith .jof-svg-ship .jof-sea { animation: jof-wave 2.4s linear infinite; opacity: .7; }
@keyframes jof-bob { 0%, 100% { transform: rotate(-5deg) translateY(0); } 50% { transform: rotate(5deg) translateY(-1.5px); } }

body.page-journeys-of-faith .jof-svg-bible .jof-flip { transform-origin: 24px 24px; fill: currentColor; fill-opacity: .12; animation: jof-flip 4.5s ease-in-out infinite; }
@keyframes jof-flip { 0%, 20% { transform: scaleX(1); opacity: 1; } 50% { transform: scaleX(-1); opacity: 1; } 58% { transform: scaleX(-1); opacity: 0; } 59% { transform: scaleX(1); opacity: 0; } 75%, 100% { transform: scaleX(1); opacity: 1; } }

body.page-journeys-of-faith .jof-svg-guide .jof-pin { animation: jof-pin 2.2s cubic-bezier(.3,0,.3,1) infinite; }
body.page-journeys-of-faith .jof-svg-guide .jof-pin path { fill: currentColor; fill-opacity: .18; }
@keyframes jof-pin { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-3.5px); } 60% { transform: translateY(0); } 70% { transform: translateY(-1px); } }

body.page-journeys-of-faith .jof-svg-tag .jof-tag { transform-origin: 16.5px 16.5px; animation: jof-swing 3s ease-in-out infinite; }
body.page-journeys-of-faith .jof-svg-tag .jof-spark { transform-origin: 40px 7.5px; animation: jof-spark 2s ease-in-out infinite; }
@keyframes jof-swing { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(7deg); } }
@keyframes jof-spark { 0%, 100% { opacity: 0; transform: scale(.4) rotate(0); } 50% { opacity: 1; transform: scale(1) rotate(45deg); } }

body.page-journeys-of-faith .jof-svg-layers .jof-l1 { fill: currentColor; fill-opacity: .14; animation: jof-l1 3.2s ease-in-out infinite; }
body.page-journeys-of-faith .jof-svg-layers .jof-l2 { animation: jof-l2 3.2s ease-in-out infinite; }
body.page-journeys-of-faith .jof-svg-layers .jof-l3 { animation: jof-l3 3.2s ease-in-out infinite; }
@keyframes jof-l1 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes jof-l2 { 0%, 100% { transform: translateY(-3px); opacity: .5; } 50% { transform: translateY(0); opacity: 1; } }
@keyframes jof-l3 { 0%, 100% { transform: translateY(-6px); opacity: .25; } 50% { transform: translateY(0); opacity: 1; } }

body.page-journeys-of-faith .jof-svg-calendar .jof-check { stroke-dasharray: 22; stroke-dashoffset: 22; stroke-width: 3; }
body.page-journeys-of-faith .reveal.active .jof-svg-calendar .jof-check { animation: jof-check 3.2s .5s ease-in-out infinite; }
@keyframes jof-check { 0% { stroke-dashoffset: 22; opacity: 1; } 30%, 80% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }

body.page-journeys-of-faith .jof-svg-lamp .jof-flame { fill: currentColor; fill-opacity: .3; transform-origin: 24px 23px; animation: jof-flicker 1.6s ease-in-out infinite; }
@keyframes jof-flicker { 0%, 100% { transform: scale(1, 1) skewX(0); } 25% { transform: scale(.92, 1.08) skewX(3deg); } 50% { transform: scale(1.04, .95) skewX(-2deg); } 75% { transform: scale(.96, 1.05) skewX(2deg); } }

body.page-journeys-of-faith .jof-svg-shield .jof-shield { stroke-dasharray: 110; stroke-dashoffset: 110; }
body.page-journeys-of-faith .jof-svg-shield .jof-crown { fill: currentColor; fill-opacity: .2; transform-origin: 24px 24px; opacity: 0; }
body.page-journeys-of-faith .reveal.active .jof-svg-shield .jof-shield { animation: jof-draw 1.4s .3s cubic-bezier(.65,0,.35,1) forwards; }
body.page-journeys-of-faith .reveal.active .jof-svg-shield .jof-crown { animation: jof-crown 3s 1.5s ease-in-out infinite; }
@keyframes jof-crown { 0%, 100% { opacity: .55; transform: translateY(1.5px) scale(.94); } 50% { opacity: 1; transform: translateY(-1px) scale(1.04); } }

body.page-journeys-of-faith .jof-svg-door .jof-light { fill: currentColor; stroke: none; opacity: 0; animation: jof-light 4s ease-in-out infinite; }
body.page-journeys-of-faith .jof-svg-door .jof-door { transform-origin: 15px 27px; animation: jof-door 4s ease-in-out infinite; }
body.page-journeys-of-faith .jof-svg-door .jof-door path { fill: var(--env, #fff); fill-opacity: 1; }
body.page-journeys-of-faith .jof-site-card .jof-svg-door .jof-door path { fill: #eeeefb; }
@keyframes jof-door { 0%, 15%, 100% { transform: scaleX(1); } 45%, 75% { transform: scaleX(.28); } }
@keyframes jof-light { 0%, 15%, 100% { opacity: 0; } 45%, 75% { opacity: .35; } }

body.page-journeys-of-faith .jof-svg-thermo .jof-merc { stroke-width: 4; transform-origin: 24px 37px; animation: jof-merc 3s ease-in-out infinite alternate; }
body.page-journeys-of-faith .jof-svg-thermo .jof-bulb { fill: currentColor; stroke: none; }
body.page-journeys-of-faith .jof-svg-thermo .jof-marks { stroke-width: 2; opacity: .5; }
@keyframes jof-merc { from { transform: scaleY(.3); } to { transform: scaleY(.75); } }

body.page-journeys-of-faith .jof-svg-letter .jof-letter { animation: jof-letter 3.2s ease-in-out infinite; }
body.page-journeys-of-faith .jof-svg-letter .jof-letter rect { fill: var(--env); }
body.page-journeys-of-faith .jof-svg-letter > path:first-of-type { fill: var(--env); }
@keyframes jof-letter { 0%, 100% { transform: translateY(9px); } 50% { transform: translateY(-4px); } }

/* ═══════════════════════════════════════
   GALLERY: nine photos (people first), the rest behind "See more"
═══════════════════════════════════════ */
body.page-journeys-of-faith .jof-grid-gallery { grid-auto-flow: dense; grid-auto-rows: 220px; }
body.page-journeys-of-faith .jof-gg-more { display: none; }
body.page-journeys-of-faith .jof-grid-gallery.is-open .jof-gg-more { display: block; animation: jof-gg-in .5s ease both; }
@keyframes jof-gg-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
body.page-journeys-of-faith .jof-gg-actions { display: flex; justify-content: center; margin-top: 32px; }
body.page-journeys-of-faith .jof-gg-toggle {
    display: inline-flex; align-items: center; gap: 10px; padding: 13px 28px; border-radius: 100px;
    border: 1.5px solid rgba(0,113,227,.35); background: #fff; color: var(--accent-blue);
    font: 700 14.5px/1.4 var(--font-body); cursor: pointer;
    box-shadow: 0 6px 20px rgba(0,40,90,.08); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
body.page-journeys-of-faith .jof-gg-toggle:hover { transform: translateY(-2px); border-color: var(--accent-blue); box-shadow: 0 10px 28px rgba(0,40,90,.14); }
body.page-journeys-of-faith .jof-gg-toggle:focus-visible { outline: 3px solid #64d2ff; outline-offset: 3px; }
body.page-journeys-of-faith .jof-gg-toggle i { font-size: 12px; transition: transform .3s ease; }
body.page-journeys-of-faith .jof-gg-toggle[aria-expanded="true"] i { transform: rotate(180deg); }
body.page-journeys-of-faith .jof-gg-less-label,
body.page-journeys-of-faith .jof-gg-toggle[aria-expanded="true"] .jof-gg-more-label { display: none; }
body.page-journeys-of-faith .jof-gg-toggle[aria-expanded="true"] .jof-gg-less-label { display: inline; }

@media (max-width: 1100px) {
    body.page-journeys-of-faith .jof-churches-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
    body.page-journeys-of-faith .jof-feature-grid:not(.jof-churches-grid) { grid-template-columns: 1fr 1fr; }
    body.page-journeys-of-faith .jof-tiers-card { grid-column: 1 / -1; }
    body.page-journeys-of-faith .jof-why-card { grid-template-columns: auto minmax(0,1fr); }
    body.page-journeys-of-faith .jof-why-card .jof-course-btn { grid-column: 2; justify-self: start; }
}
@media (max-width: 768px) {
    body.page-journeys-of-faith .jof-feature-grid,
    body.page-journeys-of-faith .jof-feature-grid:not(.jof-churches-grid),
    body.page-journeys-of-faith .jof-churches-grid { grid-template-columns: 1fr; margin-top: 32px; }
    body.page-journeys-of-faith .jof-churches-grid { margin-top: 0; }
    body.page-journeys-of-faith .jof-dark-card { padding: 26px 22px; }
    body.page-journeys-of-faith .jof-why-card { grid-template-columns: 1fr; gap: 16px; padding: 28px 22px; }
    body.page-journeys-of-faith .jof-why-card .jof-course-btn { grid-column: auto; width: 100%; justify-content: center; }
    body.page-journeys-of-faith .jof-grid-gallery { grid-auto-rows: 160px; }
}
@media (prefers-reduced-motion: reduce) {
    body.page-journeys-of-faith .jof-svg *, body.page-journeys-of-faith .jof-why-note i { animation: none !important; }
    body.page-journeys-of-faith .jof-svg-shield .jof-shield, body.page-journeys-of-faith .jof-svg-calendar .jof-check { stroke-dashoffset: 0; }
    body.page-journeys-of-faith .jof-svg-shield .jof-crown { opacity: 1; }
}

/* photos load late (data-src): a quiet gray until they arrive */
body.page-journeys-of-faith .jof-prog-card-img,
body.page-journeys-of-faith .jof-gallery-img,
body.page-journeys-of-faith .jof-mosaic-main,
body.page-journeys-of-faith .jof-mosaic-side div,
body.page-journeys-of-faith .jof-gg-item { background-color: #e4e6ea; }

/* ═══════════════════════════════════════
   BIBLICAL COURSE IN ISRAEL: hero buttons, overview, pre-registration, FAQ
═══════════════════════════════════════ */
body.page-journeys-of-faith .jof-hero p strong { color: #fff; }
body.page-journeys-of-faith .jof-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
body.page-journeys-of-faith .jof-cta-ghost {
    background: rgba(255,255,255,.12); border: 1.5px solid rgba(255,255,255,.45); box-shadow: none;
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
body.page-journeys-of-faith .jof-cta-ghost:hover { background: #fff; color: #0071e3; box-shadow: none; }

/* overview: copy on the left, the facts on a dark card on the right */
body.page-journeys-of-faith .jof-course-section { padding: 90px 0 40px; }
body.page-journeys-of-faith .jof-course-grid { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); gap: 48px; align-items: center; }
body.page-journeys-of-faith .jof-course-copy h2 {
    font-size: clamp(28px,3.4vw,44px); font-weight: 800; letter-spacing: -.03em; line-height: 1.12; margin: 6px 0 18px;
    background-image: var(--grad-title-blue); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
body.page-journeys-of-faith .jof-course-copy p { font-size: 16.5px; line-height: 1.75; color: var(--text-secondary); margin-bottom: 16px; }
body.page-journeys-of-faith .jof-course-copy strong { color: var(--text-primary); }
body.page-journeys-of-faith .jof-course-btn-blue { background: var(--accent-blue); color: #fff; margin-top: 8px; box-shadow: 0 8px 24px rgba(0,113,227,.3); }
body.page-journeys-of-faith .jof-course-btn-blue:hover { background: #005bb5; color: #fff; }
body.page-journeys-of-faith .jof-facts-card {
    position: relative; overflow: hidden; border-radius: 28px; padding: 34px 32px; color: #fff;
    background: radial-gradient(80% 90% at 75% 15%, rgba(0,82,155,.8) 0%, rgba(0,40,90,.35) 50%, transparent 80%),
                linear-gradient(135deg, #000 0%, #001525 35%, #002a4a 65%, #001a35 100%);
    box-shadow: 0 24px 60px rgba(0,16,40,.3);
}
body.page-journeys-of-faith .jof-facts-card::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1.6px); background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(90% 90% at 70% 30%, #000 25%, transparent 100%); mask-image: radial-gradient(90% 90% at 70% 30%, #000 25%, transparent 100%);
}
body.page-journeys-of-faith .jof-facts-card > * { position: relative; }
body.page-journeys-of-faith .jof-facts-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 18px; }
body.page-journeys-of-faith .jof-facts { display: grid; gap: 10px; }
body.page-journeys-of-faith .jof-facts li {
    display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px;
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
}
body.page-journeys-of-faith .jof-facts li > i { width: 34px; height: 34px; flex: none; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: rgba(100,210,255,.14); color: #64D2FF; font-size: 15px; }
body.page-journeys-of-faith .jof-facts span { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.55); }
body.page-journeys-of-faith .jof-facts strong { display: block; font-size: 14.5px; font-weight: 700; color: #fff; line-height: 1.35; }

body.page-journeys-of-faith .jof-steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; margin-top: 48px; counter-reset: step; }
body.page-journeys-of-faith .jof-step {
    position: relative; padding: 28px 26px; border-radius: 22px; background: rgba(255,255,255,.94);
    border: 1px solid rgba(0,113,227,.08); box-shadow: 0 8px 28px rgba(0,0,0,.05);
}
body.page-journeys-of-faith .jof-step-num {
    display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%;
    background: var(--grad-title-blue); color: #fff; font-weight: 800; font-size: 16px; margin-bottom: 14px;
    box-shadow: 0 6px 16px rgba(0,114,255,.3);
}
body.page-journeys-of-faith .jof-step h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; color: var(--text-primary); }
body.page-journeys-of-faith .jof-step p { font-size: 14.5px; line-height: 1.65; color: var(--text-secondary); }

/* pre-registration: one dark card, four reasons, one button */
body.page-journeys-of-faith .jof-prereg-section { padding: 40px 0 30px; }
body.page-journeys-of-faith .jof-prereg-card {
    position: relative; overflow: hidden; border-radius: 32px; padding: 52px 48px; color: #fff;
    background: radial-gradient(70% 90% at 80% 10%, rgba(0,113,227,.55) 0%, rgba(0,40,90,.3) 45%, transparent 75%),
                linear-gradient(135deg, #000 0%, #001525 35%, #002a4a 65%, #001a35 100%);
    box-shadow: 0 24px 70px rgba(0,16,40,.28);
}
body.page-journeys-of-faith .jof-prereg-card::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(rgba(255,255,255,.13) 1px, transparent 1.6px); background-size: 24px 24px;
    -webkit-mask-image: radial-gradient(90% 100% at 75% 30%, #000 25%, transparent 100%); mask-image: radial-gradient(90% 100% at 75% 30%, #000 25%, transparent 100%);
}
body.page-journeys-of-faith .jof-prereg-card > * { position: relative; }
body.page-journeys-of-faith .jof-prereg-head { max-width: 760px; }
body.page-journeys-of-faith .jof-prereg-head h2 { font-size: clamp(26px,3vw,40px); font-weight: 800; letter-spacing: -.025em; line-height: 1.15; margin: 6px 0 14px; color: #fff; }
body.page-journeys-of-faith .jof-prereg-head p { font-size: 16.5px; line-height: 1.7; color: rgba(255,255,255,.8); }
body.page-journeys-of-faith .jof-prereg-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; margin-top: 34px; }
body.page-journeys-of-faith .jof-prereg-item { padding: 22px 20px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
body.page-journeys-of-faith .jof-prereg-item > i { font-size: 20px; color: #64D2FF; margin-bottom: 12px; display: block; }
body.page-journeys-of-faith .jof-prereg-item h3 { font-size: 16px; font-weight: 800; margin-bottom: 6px; color: #fff; }
body.page-journeys-of-faith .jof-prereg-item p { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.75); }
body.page-journeys-of-faith .jof-prereg-item strong { color: #fff; }
body.page-journeys-of-faith .jof-prereg-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 32px; }
body.page-journeys-of-faith .jof-prereg-foot span { font-size: 13.5px; color: rgba(255,255,255,.65); font-weight: 600; }

/* FAQ */
body.page-journeys-of-faith .jof-faq-section { padding: 30px 0 100px; }
body.page-journeys-of-faith .jof-faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
body.page-journeys-of-faith .jof-faq-item {
    border-radius: 18px; background: rgba(255,255,255,.95); border: 1px solid rgba(0,113,227,.08);
    box-shadow: 0 6px 22px rgba(0,0,0,.04); transition: border-color .25s ease, box-shadow .25s ease;
}
body.page-journeys-of-faith .jof-faq-item[open] { border-color: rgba(0,113,227,.25); box-shadow: 0 12px 34px rgba(0,40,90,.08); }
body.page-journeys-of-faith .jof-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; cursor: pointer; }
body.page-journeys-of-faith .jof-faq-item summary h3 { font-size: 16.5px; font-weight: 700; color: var(--text-primary); line-height: 1.4; }
body.page-journeys-of-faith .jof-faq-item summary i { flex: none; color: var(--accent-blue); font-size: 14px; transition: transform .3s ease; }
body.page-journeys-of-faith .jof-faq-item[open] summary i { transform: rotate(45deg); }
body.page-journeys-of-faith .jof-faq-item summary:focus-visible { outline: 3px solid #64d2ff; outline-offset: 2px; border-radius: 18px; }
body.page-journeys-of-faith .jof-faq-item p { padding: 0 24px 22px; font-size: 15px; line-height: 1.7; color: var(--text-secondary); }

@media (max-width: 1024px) {
    body.page-journeys-of-faith .jof-course-grid { grid-template-columns: 1fr; gap: 32px; }
    body.page-journeys-of-faith .jof-prereg-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    body.page-journeys-of-faith .jof-hero-ctas .jof-cta-btn { width: 100%; justify-content: center; }
    body.page-journeys-of-faith .jof-course-section { padding: 60px 0 24px; }
    body.page-journeys-of-faith .jof-steps { grid-template-columns: 1fr; margin-top: 32px; }
    body.page-journeys-of-faith .jof-facts-card { padding: 26px 20px; }
    body.page-journeys-of-faith .jof-prereg-card { padding: 34px 22px; border-radius: 26px; }
    body.page-journeys-of-faith .jof-prereg-grid { grid-template-columns: 1fr; }
    body.page-journeys-of-faith .jof-prereg-foot .jof-course-btn { width: 100%; justify-content: center; }
    body.page-journeys-of-faith .jof-faq-item summary { padding: 18px 18px; }
    body.page-journeys-of-faith .jof-faq-item p { padding: 0 18px 20px; }
}

/* ═══════════════════════════════════════
   VIDEO: someone explains the course. A 16:9 frame with the photo as the
   poster and a glass play button; once it plays, the native controls take over.
═══════════════════════════════════════ */
body.page-journeys-of-faith .jof-video-section { padding: 70px 0 40px; }
body.page-journeys-of-faith .jof-video-frame {
    position: relative; max-width: 980px; margin: 0 auto; aspect-ratio: 16 / 9;
    border-radius: 28px; overflow: hidden; background: #001525;
    box-shadow: 0 24px 70px rgba(0,16,40,.22);
}
body.page-journeys-of-faith .jof-video { display: block; width: 100%; height: 100%; object-fit: cover; }
body.page-journeys-of-faith .jof-video-frame::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(to top, rgba(0,12,32,.55) 0%, rgba(0,12,32,.15) 55%, rgba(0,12,32,.25) 100%);
    transition: opacity .3s ease;
}
body.page-journeys-of-faith .jof-video-play {
    position: absolute; inset: 0; z-index: 2; margin: auto; width: 92px; height: 92px; border-radius: 50%;
    display: grid; place-items: center; cursor: pointer; color: #fff; font-size: 28px;
    background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.4);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    box-shadow: 0 12px 40px rgba(0,12,32,.35);
    transition: transform .25s ease, background-color .25s ease;
}
body.page-journeys-of-faith .jof-video-play i { margin-left: 5px; }
body.page-journeys-of-faith .jof-video-frame:hover .jof-video-play,
body.page-journeys-of-faith .jof-video-play:focus-visible { transform: scale(1.07); background: #0071e3; border-color: #0071e3; }
body.page-journeys-of-faith .jof-video-play:focus-visible { outline: 3px solid rgba(100,210,255,.7); outline-offset: 4px; }
body.page-journeys-of-faith .jof-video-frame.is-playing::after,
body.page-journeys-of-faith .jof-video-frame.is-playing .jof-video-play { opacity: 0; pointer-events: none; }
@media (max-width: 768px) {
    body.page-journeys-of-faith .jof-video-section { padding: 48px 0 24px; }
    body.page-journeys-of-faith .jof-video-frame { border-radius: 20px; }
    body.page-journeys-of-faith .jof-video-play { width: 68px; height: 68px; font-size: 22px; }
}
/* placeholder while the video is on its way: the photo with a "coming soon" glass pill */
body.page-journeys-of-faith .jof-video-soon {
    position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%);
    display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
    padding: 12px 22px; border-radius: 100px; color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .01em;
    background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    box-shadow: 0 12px 40px rgba(0,12,32,.35);
}
body.page-journeys-of-faith .jof-video-frame.is-soon::after { background: linear-gradient(to top, rgba(0,12,32,.6) 0%, rgba(0,12,32,.3) 60%, rgba(0,12,32,.35) 100%); }
@media (max-width: 768px) { body.page-journeys-of-faith .jof-video-soon { font-size: 14px; padding: 10px 18px; } }
