:root {
  --ink: #17151c;
  --muted: #716d78;
  --paper: #f5f2ee;
  --cream: #ebe5de;
  --yellow: #f5cf54;
  --purple: #c6b8ff;
  --orange: #f2a05c;
  --blue: #a9d8e6;
  --line: rgba(23, 21, 28, .16);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
html.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { background: var(--paper); color: var(--ink); font-family: 'DM Sans', sans-serif; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: 'Manrope', sans-serif; letter-spacing: -.055em; line-height: .98; }
h1 { font-size: clamp(3.4rem, 8vw, 8.4rem); max-width: 930px; }
h2 { font-size: clamp(2.8rem, 5vw, 5.8rem); }
h3 { font-size: clamp(2rem, 3.2vw, 3.3rem); }
p { line-height: 1.55; }

.site-header { align-items: center; background: rgba(245, 242, 238, .88); backdrop-filter: blur(16px); display: flex; justify-content: space-between; left: 0; padding: 1.25rem 4.5vw; position: absolute; top: 0; width: 100%; z-index: 20; }
.brand { align-items: center; display: inline-flex; gap: .7rem; font-family: 'Manrope', sans-serif; font-size: .85rem; font-weight: 800; letter-spacing: .16em; }
.brand-logo { height: 2.7rem; object-fit: contain; width: 2.7rem; }
.brand-name { border-left: 1px solid var(--ink); letter-spacing: .13em; line-height: 1; padding-left: .7rem; }
.brand-mark { align-items: center; background: var(--ink); border-radius: 50%; color: var(--paper); display: inline-flex; font-size: .95rem; height: 2rem; justify-content: center; letter-spacing: 0; width: 2rem; }
.desktop-nav { display: flex; flex: 1; gap: 1.6rem; justify-content: center; margin-left: 2.5rem; margin-right: 2.5rem; }
.desktop-nav a { font-size: .78rem; font-weight: 700; white-space: nowrap; }
.desktop-nav a:hover, .social-links a:hover { opacity: .55; }
.header-button, .button { border: 1px solid var(--ink); border-radius: 100px; display: inline-flex; font-size: .8rem; font-weight: 700; gap: 1.15rem; justify-content: center; padding: .9rem 1.3rem; transition: background .25s, color .25s, transform .25s; }
.header-button:hover, .button:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }
.menu-toggle { background: none; border: 0; display: none; padding: .4rem; }
.menu-toggle span { background: var(--ink); display: block; height: 2px; margin: 5px 0; width: 24px; }

.hero { background: linear-gradient(90deg, rgba(245,207,84,.92) 0%, rgba(245,207,84,.78) 42%, rgba(245,207,84,.28) 100%), url('assets/ebenezer-grupo.jpg') center 42% / cover no-repeat; min-height: 100vh; overflow: hidden; padding: 17vh 8vw 6rem; position: relative; }
.hero-content { position: relative; z-index: 1; }
.hero h1 em { font-style: normal; position: relative; }
.hero h1 em::after { background: var(--ink); bottom: -.08em; content: ''; height: .07em; left: 0; position: absolute; transform: rotate(-2deg); width: 100%; }
.hero-copy { font-size: 1.05rem; margin: 2rem 0 2.5rem; max-width: 430px; }
.eyebrow { font-size: .68rem; font-weight: 700; letter-spacing: .18em; margin-bottom: 1.1rem; }
.accent { color: #aa7a12; }
.hero-actions { align-items: center; display: flex; gap: 1.7rem; }
.button-light { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.button-light:hover { background: transparent; color: var(--ink); }
.text-link { border-bottom: 1px solid currentColor; display: inline-flex; font-size: .78rem; font-weight: 700; gap: .65rem; padding-bottom: .35rem; }
.light-link { color: var(--ink); }
.hero-note { align-items: center; bottom: 3rem; display: flex; font-size: .7rem; font-weight: 700; gap: .65rem; left: 8vw; position: absolute; z-index: 1; }
.pulse { background: #e25543; border-radius: 50%; display: inline-block; height: .55rem; width: .55rem; }
.scroll-hint { bottom: 3rem; font-size: .65rem; letter-spacing: .08em; position: absolute; right: 8vw; text-transform: uppercase; z-index: 1; }
.scroll-hint span { border-left: 1px solid var(--ink); display: inline-block; height: 2rem; margin-right: .75rem; vertical-align: middle; }

.section { padding: 8rem 8vw; }
.section-label { border-top: 1px solid var(--line); font-size: .65rem; font-weight: 700; letter-spacing: .16em; padding-top: 1rem; }
.welcome { background: var(--paper); }
.welcome-layout, .gather-layout, .resources-header, .giving-layout { display: grid; gap: 8vw; grid-template-columns: 1.25fr .75fr; margin: 7rem 0 6rem; }
.welcome h2 { max-width: 720px; }
.welcome-copy { align-self: end; max-width: 350px; }
.welcome-copy p, .gather-heading > p, .resources-header > p, .giving-layout p { color: var(--muted); font-size: 1.05rem; margin-bottom: 2rem; }
.dark-link { color: var(--ink); }
.values-grid { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr 1fr; }
.value-card { background: var(--cream); display: flex; flex-direction: column; justify-content: space-between; min-height: 440px; padding: 2rem; }
.value-card-image { color: white; }
.value-card-image-one { background: linear-gradient(135deg, rgba(20, 19, 26, .15), rgba(20, 19, 26, .75)), url('assets/iglesia-reunion.jpg') center/cover; }
.value-card-image-two { background: linear-gradient(135deg, rgba(20, 19, 26, .15), rgba(20, 19, 26, .75)), url('assets/iglesia-santuario.jpg') center/cover; }
.value-card-hands { background: linear-gradient(135deg, rgba(20, 19, 26, .15), rgba(20, 19, 26, .75)), url('assets/hands-city.jpg') center/cover; }
.value-card-yellow { background: var(--yellow); }
.card-number { font-size: .75rem; font-weight: 700; }
.value-card h3 { margin-bottom: 1.4rem; }
.value-card p:not(.eyebrow) { color: var(--muted); max-width: 250px; }
.value-card-image p { color: white; }

.gather { background: var(--ink); color: var(--paper); }
.gather .section-label { border-color: rgba(255,255,255,.25); }
.gather-heading { align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding: 3rem 0; }
.gather-heading > p { color: #aaa6b0; line-height: 1.75; margin-top: 2.5rem; max-width: 470px; }
.schedule-list { align-self: end; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.15); padding: 0 1.5rem; }
.schedule-row { align-items: center; border-bottom: 1px solid rgba(255,255,255,.2); border-left: 2px solid var(--yellow); display: grid; gap: 1rem; grid-template-columns: 1fr 1fr 1.2fr; padding: 1.35rem 1rem; transition: background .25s, padding-left .25s; }
.schedule-row:last-child { border-bottom: 0; }
.schedule-row:hover { background: rgba(255,255,255,.06); padding-left: 1.3rem; }
.schedule-row span, .schedule-row strong { font-family: 'Manrope', sans-serif; font-size: 1.35rem; }
.schedule-row strong { color: var(--yellow); }
.schedule-row small { align-self: center; color: #aaa6b0; font-size: .78rem; line-height: 1.4; }

.ministries { background: var(--paper); }
.ministries-header { display: grid; gap: 8vw; grid-template-columns: 1.25fr .75fr; margin: 7rem 0 4rem; }
.ministries-header > p { align-self: end; color: var(--muted); font-size: 1.05rem; max-width: 350px; }
.ministry-grid { display: grid; gap: 1rem; grid-template-columns: 1.15fr .85fr .85fr; }
.ministry-card { background: var(--cream); display: flex; flex-direction: column; justify-content: space-between; min-height: 330px; padding: 2rem; }
.ministry-card-main { background: var(--purple); grid-row: span 2; min-height: 675px; }
.ministry-card-main > div { margin-bottom: auto; margin-top: auto; }
.ministry-card-dark { background: var(--ink); color: var(--paper); }
.ministry-symbol { align-items: center; border: 1px solid currentColor; border-radius: 50%; display: flex; font-size: 1.35rem; height: 3rem; justify-content: center; transition: background .25s, color .25s; width: 3rem; }
.ministry-card:hover .ministry-symbol { background: currentColor; color: var(--paper); }
.ministry-card-dark:hover .ministry-symbol { background: var(--yellow); color: var(--ink); }
.ministry-card h3 { font-size: clamp(1.7rem, 2.7vw, 2.7rem); margin-bottom: 1.2rem; }
.ministry-card > div > p:last-child { color: var(--muted); max-width: 300px; }
.ministry-card-dark > div > p:last-child { color: #aaa6b0; }

.location { background: var(--cream); }
.location-heading { margin-bottom: 5rem; max-width: 700px; }
.location-heading h2 { margin-bottom: 1.5rem; }
.location-heading > p:last-child { color: var(--muted); font-size: 1.05rem; }
.location-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
.location-card { background: var(--paper); display: grid; grid-template-rows: auto 260px; min-height: 600px; }
.location-card-rural { background: #d7ecf2; }
.location-info { display: flex; flex-direction: column; justify-content: center; padding: 4rem; }
.location-type { font-size: .65rem; font-weight: 700; letter-spacing: .16em; margin-bottom: 1.2rem; }
.location-info h3 { font-size: clamp(2rem, 3.2vw, 3.4rem); margin-bottom: 1rem; }
.location-info > p:not(.eyebrow) { color: var(--muted); margin-bottom: 2.5rem; }
.button-dark { align-self: flex-start; background: var(--ink); color: var(--paper); }
.button-dark:hover { background: transparent; color: var(--ink); }
.map-placeholder { align-items: flex-start; background: linear-gradient(135deg, rgba(23,21,28,.04), rgba(169,216,230,.38)); display: flex; flex-direction: column; justify-content: center; min-height: 260px; padding: 2.5rem 4rem; }
.location-card-rural .map-placeholder { background: linear-gradient(135deg, rgba(23,21,28,.04), rgba(198,184,255,.35)); }
.map-placeholder strong { font-family: 'Manrope', sans-serif; font-size: clamp(1.5rem, 2.4vw, 2.3rem); letter-spacing: -.04em; margin: .7rem 0 1.5rem; max-width: 260px; }

.live { background: #25222e; color: var(--paper); }
.live-header { align-items: end; display: flex; justify-content: space-between; margin-bottom: 4rem; }
.live-header h2 { color: var(--yellow); }
.live-status { align-items: center; display: inline-flex; font-size: .75rem; gap: .6rem; }
.live-placeholder { align-items: center; aspect-ratio: 16 / 6; background: linear-gradient(120deg, #393244, #1d1b25); display: flex; flex-direction: column; justify-content: center; text-align: center; }
.live-placeholder p { color: #b7b2c0; margin: 1.4rem 0; }
.play-icon { align-items: center; background: var(--yellow); border-radius: 50%; color: var(--ink); display: flex; font-size: .8rem; height: 4rem; justify-content: center; padding-left: .2rem; width: 4rem; }

.youth { background: var(--orange); }
.youth-layout { display: grid; gap: 8vw; grid-template-columns: .9fr 1.1fr; margin-top: 7rem; }
.youth-heading h2 { font-size: clamp(2.7rem, 4.8vw, 5rem); margin-bottom: 1.8rem; }
.youth-heading > p:not(.eyebrow) { color: rgba(23, 21, 28, .68); margin-bottom: 2rem; max-width: 380px; }
.youth-content { align-self: end; }
.youth-feature { background: var(--ink); color: var(--paper); min-height: 300px; padding: 2.5rem; }
.content-badge { border: 1px solid rgba(245, 242, 238, .35); border-radius: 50px; display: inline-block; font-size: .65rem; font-weight: 700; letter-spacing: .12em; padding: .55rem .8rem; }
.youth-feature h3 { color: var(--yellow); font-size: clamp(2.3rem, 4vw, 4.4rem); margin: 2.8rem 0 1.2rem; }
.youth-feature p { color: #b7b2c0; max-width: 330px; }
.youth-links a { align-items: center; border-bottom: 1px solid rgba(23, 21, 28, .3); display: flex; justify-content: space-between; padding: 1.25rem 0; transition: padding .25s; }
.youth-links a:hover { padding-left: .5rem; padding-right: .5rem; }
.youth-links small { display: block; font-size: .6rem; font-weight: 700; letter-spacing: .12em; margin-bottom: .35rem; }
.youth-links strong { font-family: 'Manrope', sans-serif; font-size: 1rem; }
.youth-links b { font-size: 1.2rem; }

.resources { background: var(--paper); }
.bible-resource { background: #dcecf0; }
.bible-resource-inner { display: grid; gap: 8vw; grid-template-columns: 1.1fr .9fr; }
.bible-resource h2 { font-size: clamp(2.5rem, 4vw, 4.5rem); max-width: 650px; }
.bible-heading { align-items: center; display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr) 9rem; }
.bible-heading-copy { min-width: 0; }
.bible-heading .bible-app-icon { height: 9rem; margin: 0; width: 9rem; }
.bible-resource-inner > div:last-child { max-width: 440px; }
.bible-app-icon { border-radius: 22%; box-shadow: 0 18px 30px rgba(23, 21, 28, .2); display: block; height: 5rem; margin-bottom: 1.5rem; width: 5rem; }
.bible-resource-inner > div:last-child > p:first-child { color: var(--muted); font-size: 1.05rem; margin-bottom: 1.5rem; }
.bible-verse { border-left: 2px solid #5b8c99; color: #315964; font-family: 'Manrope', sans-serif; font-size: .95rem; line-height: 1.5; margin-bottom: 2rem; padding-left: 1rem; }
.bible-verse strong { display: block; font-size: .72rem; letter-spacing: .1em; margin-top: .5rem; text-transform: uppercase; }
.resources-header { margin-bottom: 4rem; }
.resources-header > p { align-self: end; max-width: 300px; }
.resource-grid { display: grid; gap: 1rem; grid-template-columns: repeat(3, 1fr); }
.resource-card { display: flex; flex-direction: column; justify-content: space-between; min-height: 390px; padding: 2rem; transition: transform .25s; }
.resource-card:hover { transform: translateY(-5px); }
.resource-card-purple { background: var(--purple); }
.resource-card-orange { background: var(--orange); }
.resource-card-blue { background: var(--blue); }
.resource-icon { align-items: center; border: 1px solid currentColor; border-radius: 50%; display: flex; font-size: 1.35rem; height: 3rem; justify-content: center; width: 3rem; }
.resource-card h3 { margin-bottom: 2rem; }

.giving { background: var(--yellow); }
.giving-layout { margin: 0; }
.giving-layout > div:last-child { align-self: end; max-width: 370px; }
.button-outline { margin-top: .5rem; }
.button-outline:hover { border-color: var(--ink); }
.newsletter { background: var(--paper); text-align: center; }
.newsletter-inner { margin: 0 auto; max-width: 700px; }
.newsletter-inner h2 { margin-bottom: 1.5rem; }
.newsletter-inner > p:not(.eyebrow) { color: var(--muted); margin: 0 auto 2.5rem; max-width: 400px; }
.social-links { display: flex; gap: 2rem; justify-content: center; }
.social-links a { border-bottom: 1px solid var(--ink); font-size: .8rem; font-weight: 700; padding-bottom: .3rem; }
.site-footer { align-items: center; background: var(--ink); color: var(--paper); display: flex; justify-content: space-between; padding: 2rem 8vw; }
.site-footer .brand-logo { height: 2.7rem; width: 2.7rem; }
.site-footer .brand-name { border-color: rgba(245, 242, 238, .55); }
.site-footer p { color: #aaa6b0; font-size: .7rem; }
.communications-credit { align-items: center; display: flex; gap: .75rem; }
.communications-credit img { filter: drop-shadow(0 0 .45rem rgba(255,255,255,.12)); height: 2.6rem; object-fit: contain; width: 4.7rem; }
.communications-credit p { color: #aaa6b0; font-size: .7rem; }
.whatsapp-link { align-items: center; border: 1px solid #25d366; color: #176b3a; display: inline-flex; font-size: .8rem; font-weight: 700; gap: .5rem; margin-top: 2rem; padding: .85rem 1.25rem; transition: background .25s, color .25s, transform .25s; }
.whatsapp-link:hover { background: #25d366; color: #fff; transform: translateY(-2px); }
.hero-whatsapp { margin-top: 1.75rem; }
.back-to-top { align-items: center; background: var(--ink); border: 1px solid rgba(245,242,238,.35); border-radius: 50%; bottom: 1.5rem; color: var(--paper); cursor: pointer; display: flex; font-size: 1.2rem; height: 3rem; justify-content: center; opacity: 0; pointer-events: none; position: fixed; right: 1.5rem; transform: translateY(1rem); transition: opacity .25s, transform .25s, background .25s; width: 3rem; z-index: 30; }
.back-to-top:hover { background: var(--yellow); color: var(--ink); }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

.inner-page .site-header { position: relative; }
.page-hero { min-height: 78vh; overflow: hidden; padding: 15rem 8vw 8rem; position: relative; }
.page-hero-yellow { background: var(--yellow); }
.page-hero-purple { background: var(--purple); }
.page-hero-orange { background: var(--orange); }
.page-hero-blue { background: var(--blue); }
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(3.5rem, 8vw, 8rem); max-width: 850px; }
.page-hero h1 em { font-style: normal; position: relative; }
.page-hero h1 em::after { background: var(--ink); bottom: -.08em; content: ''; height: .07em; left: 0; position: absolute; transform: rotate(-2deg); width: 100%; }
.page-hero-inner > p:last-child { font-size: 1.05rem; margin-top: 2rem; max-width: 430px; }
.content-section { background: var(--paper); }
.story-intro { max-width: 760px; }
.story-intro h2 { margin-bottom: 1.8rem; }
.story-intro > p:last-child { color: var(--muted); font-size: 1.05rem; max-width: 520px; }
.story-grid { display: grid; gap: 1rem; grid-template-columns: repeat(3, 1fr); margin-top: 6rem; }
.story-card { display: flex; flex-direction: column; justify-content: space-between; min-height: 350px; padding: 2rem; }
.story-card > span, .detail-ministry-grid article > span { font-size: .75rem; font-weight: 700; }
.story-card h3 { font-size: clamp(2rem, 3vw, 3rem); margin-bottom: 1rem; }
.story-card p { color: var(--muted); max-width: 260px; }
.story-card-dark { background: var(--ink); color: var(--paper); }
.story-card-dark p { color: #aaa6b0; }
.story-card-yellow { background: var(--yellow); }
.story-card-light { background: var(--cream); }
.quote-section { background: var(--ink); color: var(--paper); text-align: center; }
.quote-section blockquote { color: var(--yellow); font-family: 'Manrope', sans-serif; font-size: clamp(2.6rem, 5vw, 5.5rem); letter-spacing: -.06em; line-height: 1; margin: 2rem auto; max-width: 900px; }
.quote-section cite { color: #aaa6b0; font-size: .8rem; font-style: normal; }
.page-cta { background: var(--yellow); }
.page-cta h2 { margin-bottom: 2rem; }
.page-cta .button { margin-top: 1rem; }
.belief-block { margin-top: 7rem; }
.belief-heading { border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; padding-bottom: 1.5rem; }
.belief-heading h3 { font-size: clamp(2rem, 3.5vw, 3.5rem); }
.belief-list { display: grid; grid-template-columns: repeat(2, 1fr); }
.belief-list article { border-bottom: 1px solid var(--line); display: grid; gap: 1rem; grid-template-columns: 2rem 1fr; padding: 2rem 1rem 2rem 0; }
.belief-list article span { font-size: .7rem; font-weight: 700; }
.belief-list h4 { font-family: 'Manrope', sans-serif; font-size: 1.4rem; margin-bottom: .6rem; }
.belief-list p { color: var(--muted); font-size: .95rem; max-width: 390px; }
.belief-highlight { background: var(--purple); }
.belief-highlight > div { max-width: 700px; }
.belief-highlight h2 { margin-bottom: 1.5rem; }
.belief-highlight p:last-child { font-size: 1.05rem; max-width: 400px; }
.beliefs-page h1, .beliefs-page h2, .beliefs-page h3, .beliefs-page h4 { letter-spacing: -.03em; }
.beliefs-page p { line-height: 1.75; }
.beliefs-page .page-hero-purple { background: linear-gradient(120deg, #d9e7f2 0%, #b4d2ec 55%, #c4b8ee 100%); }
.beliefs-page .page-hero h1 { line-height: 1.04; max-width: 760px; }
.beliefs-page .content-section { background: #f8f6f1; }
.beliefs-page .story-intro { max-width: 900px; }
.beliefs-page .story-intro h2 { font-size: clamp(3rem, 5vw, 5.4rem); line-height: 1.03; max-width: 760px; }
.beliefs-page .story-intro > p:last-child { max-width: 620px; }
.beliefs-page .belief-block { margin-top: 9rem; }
.beliefs-page .belief-heading { align-items: end; border-bottom: 0; margin-bottom: 2rem; }
.beliefs-page .belief-heading h3 { max-width: 520px; }
.beliefs-page .belief-list { gap: 1rem; grid-template-columns: repeat(3, 1fr); }
.beliefs-page .belief-list article { background: var(--paper); border: 1px solid rgba(23, 21, 28, .1); display: flex; flex-direction: column; gap: 1rem; min-height: 270px; padding: 2rem; transition: transform .25s, border-color .25s; }
.beliefs-page .belief-list article:nth-child(2) { background: #fff0c1; }
.beliefs-page .belief-list article:nth-child(3) { background: #d7ecf2; }
.beliefs-page .belief-list article:nth-child(4) { background: #e3daf8; }
.beliefs-page .belief-list article:nth-child(5) { background: #f6d5bd; }
.beliefs-page .belief-list article:nth-child(6) { background: var(--ink); color: var(--paper); }
.beliefs-page .belief-list article:hover { border-color: var(--ink); transform: translateY(-4px); }
.beliefs-page .belief-list h4 { font-size: 1.5rem; margin-top: auto; }
.beliefs-page .belief-list p { color: var(--muted); font-size: .95rem; line-height: 1.6; }
.beliefs-page .belief-list article:nth-child(6) p { color: #b7b2c0; }
.beliefs-page .belief-highlight { background: #3a416e; }
.beliefs-page .belief-highlight h2 { color: #fff0c1; line-height: 1.03; }
.beliefs-page .belief-highlight p:last-child { color: #e3e1ed; }
.beliefs-page .page-cta { background: #f0dfc7; }
.detail-ministry-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); margin-top: 6rem; }
.detail-ministry-grid article { background: var(--cream); display: flex; flex-direction: column; min-height: 370px; padding: 2.5rem; }
.detail-ministry-grid article:nth-child(2) { background: var(--yellow); }
.detail-ministry-grid article:nth-child(3) { background: var(--blue); }
.detail-ministry-grid article:nth-child(4) { background: var(--ink); color: var(--paper); }
.detail-ministry-grid article:nth-child(4) .text-link { color: var(--paper); }
.detail-ministry-grid article:first-child { justify-content: center; }
.detail-ministry-grid article:first-child h3 { margin: 1.5rem 0 1rem; }
.detail-ministry-grid h3 { font-size: clamp(2rem, 3.4vw, 3.4rem); margin: auto 0 1rem; }
.detail-ministry-grid p:not(.text-link) { color: var(--muted); max-width: 390px; }
.detail-ministry-grid article:nth-child(4) p:not(.text-link) { color: #aaa6b0; }
.detail-ministry-grid .text-link { align-self: flex-start; margin-top: 1.5rem; }
.ministry-banner { background: var(--ink); color: var(--paper); }
.ministry-banner h2 { color: var(--yellow); margin-bottom: 2rem; }
.youth-detail-grid { display: grid; gap: 1rem; grid-template-columns: repeat(3, 1fr); margin-top: 6rem; }
.youth-detail-card { display: flex; flex-direction: column; justify-content: space-between; min-height: 420px; padding: 2rem; transition: transform .25s; }
.youth-detail-card:hover { transform: translateY(-5px); }
.youth-detail-card > span { font-size: .65rem; font-weight: 700; letter-spacing: .12em; }
.youth-detail-card h3 { font-size: clamp(2rem, 3vw, 3.2rem); margin-bottom: 2rem; }
.youth-detail-card strong { font-size: .78rem; }
.youth-detail-card-dark { background: var(--ink); color: var(--paper); }
.youth-detail-card-dark h3 { color: var(--yellow); }
.youth-detail-card-orange { background: var(--orange); }
.youth-detail-card-purple { background: var(--purple); }
.aev-feature { background: linear-gradient(125deg, #0b111c, #172c3c 62%, #242033); color: var(--paper); display: grid; grid-template-columns: 1.05fr .95fr; isolation: isolate; margin-top: 6rem; overflow: hidden; position: relative; }
.aev-feature-compact { border: 1px solid rgba(255,255,255,.14); box-shadow: 0 2rem 5rem rgba(23,21,28,.2); grid-template-columns: .85fr 1.15fr; margin-top: 5rem; }
.aev-feature::before { animation: aevGlow 10s ease-in-out infinite alternate; background: radial-gradient(circle, rgba(255, 106, 79, .35), transparent 62%); content: ''; filter: blur(12px); height: 34rem; pointer-events: none; position: absolute; right: -9rem; top: -12rem; width: 34rem; z-index: -1; }
.aev-feature::after { animation: aevGrid 18s linear infinite; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 4rem 4rem; content: ''; inset: 0; mask-image: linear-gradient(120deg, transparent 15%, black 70%); opacity: .35; pointer-events: none; position: absolute; transform: perspective(500px) rotateY(-12deg) scale(1.2); z-index: -1; }
.aev-feature > * { position: relative; z-index: 1; }
.aev-art { align-items: center; background: #090f18; display: flex; justify-content: center; min-height: 510px; padding: 2.5rem; }
.aev-feature-compact .aev-art { background: radial-gradient(circle at 50% 45%, rgba(255,106,79,.28), transparent 55%), #090f18; min-height: 390px; padding: 2rem; }
.aev-art img { display: block; height: auto; max-height: 100%; max-width: 100%; object-fit: contain; width: auto; }
.aev-copy { padding: 4.5rem 4rem; }
.aev-feature-compact .aev-copy { align-self: center; padding: 3.5rem; }
.aev-pill { background: #ff6a4f; border-radius: 50px; color: #101923; display: inline-block; font-size: .62rem; font-weight: 800; letter-spacing: .12em; margin-top: .5rem; padding: .6rem .8rem; }
.aev-copy h2 { color: #ff6a4f; font-size: clamp(5rem, 11vw, 10rem); line-height: .8; margin: 2rem 0 .8rem; }
.aev-feature-compact .aev-copy h2 { font-size: clamp(4.5rem, 8vw, 7rem); margin: 1.5rem 0 .7rem; }
.aev-meaning { color: #fff0c1; font-family: 'Manrope', sans-serif; font-size: clamp(1.2rem, 2vw, 1.7rem); letter-spacing: -.03em; margin-bottom: 1.2rem; }
.aev-lead { color: #d3d8df; font-size: 1.1rem; line-height: 1.7; max-width: 430px; }
.aev-details { border-bottom: 1px solid rgba(245, 242, 238, .2); border-top: 1px solid rgba(245, 242, 238, .2); display: grid; gap: 1.5rem; grid-template-columns: repeat(3, 1fr); margin: 2.5rem 0; padding: 1.5rem 0; }
.aev-details span { color: #aeb8c3; font-size: .75rem; line-height: 1.5; }
.aev-details strong { color: var(--paper); display: block; font-family: 'Manrope', sans-serif; font-size: .95rem; margin-bottom: .35rem; }
.aev-copy .button-light { background: #ff6a4f; border-color: #ff6a4f; color: #101923; }
.aev-copy .button-light:hover { background: transparent; color: #ff6a4f; }
@keyframes aevGlow { from { transform: translate3d(-2rem, 1rem, 0) scale(.9); } to { transform: translate3d(2rem, 4rem, 0) scale(1.15); } }
@keyframes aevGrid { from { background-position: 0 0; } to { background-position: 4rem 4rem; } }
@media (prefers-reduced-motion: reduce) {
  .aev-feature::before, .aev-feature::after { animation: none; }
}
.section-more { margin-top: 2rem; }
.page-inline-link { display: inline-flex; margin-top: 1.3rem; }
.aev-page { background: #0b111c; }
.aev-hero { align-items: center; background: radial-gradient(circle at 75% 45%, rgba(255, 106, 79, .22), transparent 30%), #0b111c; color: var(--paper); display: grid; gap: 5vw; grid-template-columns: 1.1fr .9fr; min-height: 88vh; overflow: hidden; padding: 11rem 8vw 6rem; position: relative; }
.aev-hero-copy { position: relative; z-index: 1; }
.aev-hero h1 { font-size: clamp(3.5rem, 7.5vw, 8rem); line-height: .96; max-width: 760px; }
.aev-hero h1 em { color: #ff6a4f; font-style: normal; }
.aev-hero-copy > p:not(.eyebrow) { color: #c2cad5; font-size: 1.05rem; line-height: 1.7; margin: 2rem 0; max-width: 430px; }
.aev-button { background: #ff6a4f; border-color: #ff6a4f; color: #101923; }
.aev-button:hover { background: transparent; color: #ff6a4f; }
.aev-hero-logo { align-items: center; display: flex; isolation: isolate; justify-content: center; position: relative; z-index: 1; }
.aev-hero-logo::before, .aev-hero-logo::after { border: 1px solid rgba(255, 106, 79, .65); border-radius: 50%; content: ''; height: min(32vw, 390px); position: absolute; width: min(32vw, 390px); z-index: -1; }
.aev-hero-logo::before { animation: aevPulse 3.2s ease-out infinite; }
.aev-hero-logo::after { animation: aevPulse 3.2s ease-out 1.6s infinite; }
.aev-hero-logo img { filter: drop-shadow(0 0 2.5rem rgba(255, 106, 79, .35)); max-width: min(32vw, 390px); position: relative; width: 100%; }
.aev-about { background: #f8f6f1; }
.aev-about-grid { display: grid; gap: 8vw; grid-template-columns: 1.1fr .9fr; margin: 6rem 0; }
.aev-about-grid h2 { font-size: clamp(3rem, 5vw, 5.2rem); }
.aev-about-grid > p { align-self: end; color: var(--muted); font-size: 1.05rem; line-height: 1.8; max-width: 430px; }
.aev-stats { border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); }
.aev-stats div { display: flex; flex-direction: column; gap: .6rem; padding: 2rem 1rem 2rem 0; }
.aev-stats strong { color: #ee5d44; font-family: 'Manrope', sans-serif; font-size: 2.4rem; }
.aev-stats span { color: var(--muted); font-size: .85rem; }
.aev-video { background: #202b42; color: var(--paper); }
.aev-video .section-label { border-color: rgba(245, 242, 238, .25); }
.aev-video-head { align-items: end; display: flex; justify-content: space-between; margin: 5rem 0 3rem; }
.aev-video-head h2 { color: #fff0c1; }
.aev-video-head .light-link { color: var(--paper); }
.video-frame { aspect-ratio: 16 / 9; background: #0b111c; box-shadow: 0 25px 60px rgba(0,0,0,.25); overflow: hidden; position: relative; }
.video-frame > img { display: block; height: 100%; object-fit: cover; opacity: .7; width: 100%; }
.video-frame-overlay { align-items: center; background: linear-gradient(90deg, rgba(11,17,28,.8), transparent); color: var(--paper); display: flex; gap: 1rem; inset: 0; padding: 2rem; position: absolute; }
.video-play { align-items: center; background: #ff6a4f; border-radius: 50%; color: #101923; display: flex; height: 4.5rem; justify-content: center; padding-left: .2rem; transition: transform .25s, background .25s; width: 4.5rem; }
.video-play:hover { background: #fff0c1; transform: scale(1.08); }
.video-frame-overlay span { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.video-clips { display: grid; gap: 1rem; grid-template-columns: repeat(3, 1fr); margin-top: 1rem; }
.video-clips a { background: #101a2b; color: var(--paper); display: block; overflow: hidden; }
.video-clips img { aspect-ratio: 16 / 9; display: block; object-fit: cover; opacity: .8; transition: opacity .25s, transform .4s; width: 100%; }
.video-clips span { display: flex; font-size: .75rem; font-weight: 700; justify-content: space-between; padding: 1rem; }
.video-clips a:hover img { opacity: 1; transform: scale(1.04); }
.video-clips b { color: #ff6a4f; font-size: 1rem; }
.aev-gallery { background: #f8f6f1; }
.aev-gallery-head { align-items: end; display: flex; justify-content: space-between; margin: 5rem 0 3rem; }
.aev-gallery-head h2 { font-size: clamp(3rem, 5vw, 5.2rem); }
.aev-gallery-head p { color: var(--muted); max-width: 300px; }
.gallery-grid { display: grid; gap: 1rem; grid-auto-rows: 220px; grid-template-columns: repeat(4, 1fr); }
.gallery-grid figure { margin: 0; overflow: hidden; }
.gallery-grid img { display: block; height: 100%; object-fit: cover; transition: transform .5s; width: 100%; }
.gallery-grid figure:hover img { transform: scale(1.04); }
.gallery-tall { grid-row: span 2; }
.gallery-wide { grid-column: span 2; }
.aev-page .page-cta { background: #ffcf52; }
@keyframes aevPulse { 0% { opacity: .7; transform: scale(.72); } 70%, 100% { opacity: 0; transform: scale(1.35); } }
@media (prefers-reduced-motion: reduce) { .aev-hero-logo::before, .aev-hero-logo::after { animation: none; } }

@media (max-width: 1050px) and (min-width: 801px) {
  .site-header { padding-left: 3vw; padding-right: 3vw; }
  .desktop-nav { gap: .8rem; margin-left: 1rem; margin-right: 1rem; }
  .desktop-nav a { font-size: .7rem; }
  .header-button { padding-left: 1rem; padding-right: 1rem; }
}

@media (max-width: 800px) {
  [data-aos] { transform: none !important; }
  h1 { font-size: clamp(3rem, 14vw, 5rem); }
  .site-header { padding: 1rem 6vw; }
  .desktop-nav { background: var(--paper); display: none; flex-direction: column; gap: 1.3rem; left: 0; margin: 0; padding: 5rem 6vw 2rem; position: absolute; top: 0; width: 100%; }
  .desktop-nav.is-open { display: flex; }
  .desktop-nav a { font-size: 1.5rem; }
  .header-button { display: none; }
  .menu-toggle { display: block; position: relative; z-index: 2; }
  .hero { padding: 14rem 7vw 8rem; }
  .hero-note { bottom: 1.5rem; left: 7vw; }
  .scroll-hint { display: none; }
  .section { padding: 6.5rem 7vw; }
  .section-label { margin-bottom: 1.5rem; }
  .welcome-layout, .gather-layout, .resources-header, .giving-layout { display: block; margin: 5rem 0 5.5rem; }
  .bible-resource-inner { display: block; }
  .bible-heading { display: block; }
  .bible-heading .bible-app-icon { margin: 2rem 0; }
  .bible-resource-inner > div:last-child { margin-top: 2rem; }
  .ministries-header { display: block; margin: 5rem 0 4.5rem; }
  .ministries-header > p { margin-top: 2.5rem; }
  .welcome-copy, .resources-header > p, .giving-layout > div:last-child { margin-top: 2.5rem; }
  .values-grid, .resource-grid, .ministry-grid { gap: 1.5rem; grid-template-columns: 1fr; }
  .value-card, .resource-card { min-height: 350px; padding: 2.25rem; }
  .ministry-card { padding: 2.25rem; }
  .ministry-card-main { grid-row: auto; min-height: 420px; }
  .page-hero { min-height: 75vh; padding: 10rem 7vw 6rem; }
  .page-hero h1 { font-size: clamp(3.2rem, 14vw, 5.4rem); }
  .story-grid, .belief-list, .detail-ministry-grid, .youth-detail-grid { grid-template-columns: 1fr; }
  .story-grid, .belief-block, .detail-ministry-grid, .youth-detail-grid { margin-top: 5rem; }
  .belief-heading { display: block; }
  .belief-heading h3 { margin-top: 1.5rem; }
  .story-card, .detail-ministry-grid article, .youth-detail-card { min-height: 300px; }
  .location-card { display: block; }
  .location-grid { gap: 1.5rem; grid-template-columns: 1fr; }
  .location-info { min-height: 340px; padding: 3rem; }
  .map-placeholder { min-height: 220px; padding: 2rem 3rem; }
  .live-header { align-items: start; flex-direction: column; gap: 2rem; }
  .live-placeholder { aspect-ratio: 1 / 1; padding: 2rem; }
  .youth-layout { display: block; margin-top: 5rem; }
  .youth-content { margin-top: 3.5rem; }
  .aev-feature { display: block; margin-top: 4rem; }
  .aev-feature-compact { margin-top: 5rem; }
  .aev-feature-compact .aev-art { padding: 1rem; }
  .aev-feature-compact .aev-copy { padding: 2rem 1.5rem; }
  .aev-art { min-height: 0; padding: 1.5rem; }
  .aev-art img { max-height: none; width: 100%; }
  .aev-copy { padding: 2.5rem 2rem; }
  .aev-details { grid-template-columns: 1fr; }
  .aev-hero { display: block; min-height: auto; padding: 10rem 7vw 6rem; }
  .aev-hero-logo { margin: 4rem auto 0; max-width: 72vw; }
  .aev-hero-logo::before, .aev-hero-logo::after { height: 72vw; width: 72vw; }
  .aev-hero-logo img { max-width: 100%; }
  .aev-about-grid { display: block; margin: 5rem 0; }
  .aev-about-grid > p { margin-top: 2.5rem; }
  .aev-stats { grid-template-columns: 1fr; }
  .aev-stats div { border-bottom: 1px solid var(--line); }
  .aev-video-head, .aev-gallery-head { align-items: start; flex-direction: column; gap: 2rem; margin: 4rem 0 2rem; }
  .video-clips { grid-template-columns: 1fr; }
  .gallery-grid { grid-auto-rows: 230px; grid-template-columns: 1fr 1fr; }
  .gallery-tall { grid-row: span 1; }
  .gallery-wide { grid-column: span 2; }
  .schedule-list { padding: 0 .75rem; }
  .schedule-row { gap: .5rem; grid-template-columns: 1fr auto; padding: 1.2rem .75rem; }
  .schedule-row small { grid-column: 1 / -1; grid-row: 2; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 1rem; }
}
