@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --navy: #092c50;
  --blue: #176da5;
  --sky: #e9f5fb;
  --gold: #f2c94c;
  --ink: #17334c;
  --muted: #60758a;
  --paper: #f8fbfd;
  --white: #fff;
  --line: #dce7ee;
  --shadow: 0 14px 38px rgba(9, 44, 80, .1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'DM Sans', sans-serif; line-height: 1.65; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header { position: sticky; z-index: 20; top: 0; background: rgba(255,255,255,.97); border-bottom: 1px solid rgba(9,44,80,.08); backdrop-filter: blur(12px); }
.nav-wrap { width: min(1180px, calc(100% - 40px)); min-height: 78px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); text-decoration: none; min-width: 0; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.brand-copy { display: grid; line-height: 1.2; }
.brand-copy strong { font: 800 15px 'Manrope', sans-serif; letter-spacing: .2px; }
.brand-copy span { margin-top: 4px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: 1.25px; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { position: relative; padding: 10px 11px; color: #365168; font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--blue); }
.nav-links a[aria-current="page"]::after { position: absolute; right: 11px; bottom: 3px; left: 11px; height: 2px; background: var(--gold); content: ''; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 4px; background: white; color: var(--navy); font-size: 23px; cursor: pointer; }

.hero { position: relative; min-height: clamp(390px, 53vw, 590px); display: grid; align-items: center; overflow: hidden; color: white; background: var(--navy); isolation: isolate; }
.hero-photo, .hero-shade { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; }
.hero-photo { object-fit: cover; object-position: center 42%; animation: hero-enter .8s ease both; }
.hero-shade { z-index: -1; background: linear-gradient(90deg, rgba(5,27,52,.87) 0%, rgba(7,41,71,.67) 48%, rgba(8,39,68,.2) 100%), linear-gradient(0deg, rgba(6,31,55,.28), transparent 55%); }
.hero-inner { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 70px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px; color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; }
.eyebrow::before { width: 27px; height: 2px; background: currentColor; content: ''; }
.hero h1 { max-width: 790px; margin: 0; font: 800 clamp(38px, 6vw, 70px)/1.08 'Manrope', sans-serif; }
.hero p { max-width: 690px; margin: 20px 0 0; color: rgba(255,255,255,.9); font-size: clamp(16px, 2vw, 19px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.annual-theme { width: min(690px, 100%); margin-top: 22px; overflow: hidden; border-left: 3px solid var(--gold); padding: 2px 0 2px 14px; }
.annual-theme-label { margin: 0 0 5px; color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; }
.theme-marquee { container-type: inline-size; overflow: hidden; }
.theme-marquee-track { display: flex; width: max-content; animation: theme-scroll 48s linear infinite; }
.hero .theme-marquee-text { width: max-content; max-width: none; flex: 0 0 auto; margin: 0; color: white; font: 600 15px/1.5 'Manrope', sans-serif; white-space: nowrap; }
@keyframes theme-scroll {
  from { transform: translateX(100cqw); }
  to { transform: translateX(-100%); }
}
.hero-dots { display: flex; gap: 8px; margin-top: 32px; }
.hero-dot { width: 24px; height: 4px; padding: 0; border: 0; background: rgba(255,255,255,.48); cursor: pointer; }
.hero-dot.active { background: var(--gold); }
@media (prefers-reduced-motion: reduce) {
  .theme-marquee-track { width: auto; animation: none; }
  .theme-marquee-text { padding-right: 0; white-space: normal; }
  .theme-marquee-text[aria-hidden="true"] { display: none; }
}
.btn { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border: 1px solid transparent; border-radius: 3px; background: var(--gold); color: var(--navy); font-size: 13px; font-weight: 800; text-decoration: none; transition: transform .18s ease, background .18s ease; }
.btn:hover { transform: translateY(-2px); background: #ffdc67; }
.btn-outline { border-color: rgba(255,255,255,.75); background: transparent; color: white; }
.btn-outline:hover { background: rgba(255,255,255,.13); }

.content { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 72px 0 86px; opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .45s ease; }
.content.is-visible { opacity: 1; transform: none; }
.section-heading { max-width: 720px; margin: 0 0 34px; }
.section-heading.center { margin-right: auto; margin-left: auto; text-align: center; }
.section-heading h2, .prose h2 { margin: 0 0 12px; color: var(--navy); font: 800 clamp(27px, 4vw, 40px)/1.2 'Manrope', sans-serif; }
.section-heading p, .prose p { margin: 0; color: var(--muted); }
.kicker { margin: 0 0 8px; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: 1.7px; text-transform: uppercase; }
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(30px, 6vw, 72px); }
.prose p + p { margin-top: 16px; }
.prose h2 { margin-top: 28px; }
.prose h2:first-child { margin-top: 0; }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 30px; }
.pillar { padding: 19px 14px; border-top: 3px solid var(--gold); background: var(--sky); color: var(--navy); font: 800 13px 'Manrope', sans-serif; text-align: center; }
.feature-band { margin: 72px 0 0; padding: clamp(28px, 5vw, 54px); background: var(--navy); color: white; }
.feature-band h2 { margin: 0 0 12px; color: white; font: 800 clamp(24px, 3.5vw, 34px) 'Manrope', sans-serif; }
.feature-band p { max-width: 800px; margin: 0; color: #d8e9f4; }
.feature-band .accent { color: var(--gold); font-weight: 700; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { min-width: 0; padding: 25px; border: 1px solid var(--line); border-radius: 4px; background: white; box-shadow: 0 5px 18px rgba(9,44,80,.035); }
.card .card-icon { display: inline-grid; width: 42px; height: 42px; place-items: center; margin-bottom: 15px; background: var(--sky); color: var(--blue); font-size: 20px; }
.card h3 { margin: 0 0 8px; color: var(--navy); font: 800 18px/1.35 'Manrope', sans-serif; }
.card .subtitle { margin: 0 0 10px; color: var(--blue); font-size: 13px; font-weight: 700; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }
.numbered { counter-reset: values; }
.numbered .card { position: relative; padding-top: 57px; }
.numbered .card::before { position: absolute; top: 20px; left: 25px; color: var(--blue); font: 800 13px 'Manrope', sans-serif; counter-increment: values; content: '0' counter(values); }
.event-card { display: flex; flex-direction: column; min-height: 252px; }
.event-card .event-date { margin-bottom: 12px; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .7px; text-transform: uppercase; }
.event-card .event-place { margin-top: 12px; color: var(--ink); font-size: 13px; font-weight: 700; }
.event-card .event-note { margin-top: auto; padding-top: 18px; color: var(--muted); font-style: italic; }
.event-poster { width: min(100%, 860px); margin: 0 auto 58px; overflow: hidden; border-radius: 4px; box-shadow: var(--shadow); }
.event-poster img { width: 100%; max-height: 600px; object-fit: contain; background: var(--navy); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.contact-btn { min-height: 70px; justify-content: flex-start; border-color: var(--line); background: white; color: var(--navy); }
.contact-btn:hover { border-color: var(--blue); background: var(--sky); }
.social-links { display: flex; flex-wrap: wrap; gap: 10px; }
.social-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 13px; border: 1px solid rgba(255,255,255,.27); border-radius: 3px; color: white; font-size: 13px; font-weight: 700; text-decoration: none; }
.social-links a:hover { border-color: var(--gold); color: var(--gold); }
.location-line { margin-top: 18px; color: #d8e9f4; }
.fellowship-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.fellowship-list li { padding: 14px 16px; border-left: 3px solid var(--gold); background: white; color: var(--navy); font-weight: 700; }
.resource-list { display: grid; gap: 10px; }
.resource-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 19px; border: 1px solid var(--line); border-radius: 3px; background: white; color: var(--navy); font-weight: 700; text-decoration: none; }
.resource-link span:last-child { color: var(--blue); font-size: 12px; white-space: nowrap; }
.daily-rhythm { padding: 27px; border-left: 4px solid var(--gold); background: var(--sky); color: var(--navy); font: 800 17px 'Manrope', sans-serif; }
.leaders { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.leader { overflow: hidden; border: 1px solid var(--line); border-radius: 4px; background: white; text-align: center; }
.leader img { width: 100%; aspect-ratio: 4 / 4.5; object-fit: cover; object-position: center 22%; background: #e5edf2; }
.leader figcaption { padding: 14px 10px 16px; }
.leader strong { display: block; color: var(--navy); font: 800 14px 'Manrope', sans-serif; }
.leader span { color: var(--muted); font-size: 12px; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 3px; background: var(--sky); transition: transform .22s ease; }
.gallery-grid img:hover { transform: scale(1.025); }
.story-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.story { padding: 24px 0; border-bottom: 1px solid var(--line); }
.story h3 { margin: 0; color: var(--navy); font: 800 19px 'Manrope', sans-serif; }
.story summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; list-style: none; }
.story summary::-webkit-details-marker { display: none; }
.story summary::after { color: var(--blue); font-size: 24px; content: '+'; }
.story[open] summary::after { content: '−'; }
.story p { max-width: 820px; margin: 15px 0 0; color: var(--muted); }
.donate-panel { max-width: 760px; margin: auto; padding: clamp(25px, 5vw, 48px); border-top: 4px solid var(--gold); background: white; box-shadow: var(--shadow); }
.donate-panel p { color: var(--muted); }
.donate-contacts { display: grid; gap: 12px; margin: 24px 0; }
.donate-contacts .btn { justify-content: flex-start; }
.contact-form { display: grid; gap: 16px; max-width: 760px; padding: 25px; border: 1px solid var(--line); border-radius: 4px; background: white; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { display: grid; gap: 6px; color: var(--navy); font-size: 13px; font-weight: 700; }
.form-field.full { grid-column: 1 / -1; }
.form-field input, .form-field textarea, .form-field select { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 3px; background: white; color: var(--ink); font: 400 14px 'DM Sans', sans-serif; }
.form-field textarea { min-height: 120px; resize: vertical; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.form-feedback { min-height: 1.5em; margin: 0; color: var(--muted); font-size: 13px; }
.event-signup-dialog { width: min(560px, calc(100% - 30px)); max-height: min(90vh, 780px); padding: 28px; border: 0; border-top: 4px solid var(--gold); border-radius: 4px; background: var(--paper); color: var(--ink); box-shadow: var(--shadow); }
.event-signup-dialog::backdrop { background: rgba(5, 27, 52, .72); }
.dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.dialog-heading h2 { margin: 0; color: var(--navy); font: 800 24px 'Manrope', sans-serif; }
.dialog-close { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 3px; background: white; color: var(--navy); font-size: 22px; cursor: pointer; }
.whatsapp-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.whatsapp-group { padding: 17px; border: 1px solid rgba(255,255,255,.2); border-radius: 3px; }
.whatsapp-group h3 { margin: 0 0 6px; color: var(--gold); font: 800 15px 'Manrope', sans-serif; }
.whatsapp-group p { margin: 0 0 12px; color: #d8e9f4; font-size: 13px; }
.whatsapp-group a { color: white; font-size: 13px; font-weight: 700; }

.site-footer { background: #062340; color: white; }
.footer-inner { width: min(1120px, calc(100% - 40px)); margin: auto; padding: 54px 0 24px; }
.footer-top { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 45px; padding-bottom: 38px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font: 800 17px 'Manrope', sans-serif; }
.footer-brand img { width: 48px; height: 48px; object-fit: contain; }
.footer-inner p { margin: 0; color: #c5d7e4; font-size: 13px; }
.footer-inner h2 { margin: 0 0 14px; color: var(--gold); font: 800 12px 'Manrope', sans-serif; letter-spacing: 1px; text-transform: uppercase; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 14px; }
.footer-nav a { color: #e8f1f6; font-size: 13px; text-decoration: none; }
.footer-nav a:hover { color: var(--gold); }
.footer-social { gap: 7px; }
.footer-social a { min-height: 36px; padding: 6px 10px; font-size: 12px; }
.footer-bottom { padding-top: 18px; border-top: 1px solid rgba(255,255,255,.15); color: #c5d7e4; font-size: 12px; text-align: center; }
.footer-bottom strong { display: block; margin-top: 6px; color: var(--gold); letter-spacing: .4px; }
.spacer-top { margin-top: 58px; }

@keyframes hero-enter { from { opacity: .55; transform: scale(1.025); } to { opacity: 1; transform: scale(1); } }
@media (max-width: 980px) {
  .nav-wrap { width: min(100% - 30px, 1180px); }
  .menu-toggle { display: inline-grid; place-items: center; flex: 0 0 auto; }
  .nav-links { position: absolute; top: 100%; right: 0; left: 0; display: none; padding: 10px 18px 16px; border-bottom: 1px solid var(--line); background: white; box-shadow: 0 12px 18px rgba(9,44,80,.08); }
  .nav-links.open { display: grid; grid-template-columns: repeat(3, 1fr); }
  .nav-links a { padding: 12px; white-space: normal; }
  .nav-links a[aria-current="page"]::after { right: 12px; bottom: 5px; left: 12px; }
  .leaders { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .brand img { width: 42px; height: 42px; }
  .brand-copy strong { font-size: 13px; }
  .brand-copy span { font-size: 9px; letter-spacing: .9px; }
  .nav-links.open { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: 460px; }
  .hero-inner { width: calc(100% - 38px); padding: 58px 0; }
  .hero-shade { background: linear-gradient(90deg, rgba(5,27,52,.86), rgba(7,41,71,.52)), linear-gradient(0deg, rgba(6,31,55,.25), transparent); }
  .content { width: calc(100% - 34px); padding: 54px 0 64px; }
  .split { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card { padding: 19px; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .whatsapp-groups { grid-template-columns: 1fr; }
  .leaders { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 7px; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px 22px; }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
  .brand { gap: 8px; }
  .brand-copy strong { max-width: 205px; font-size: 12px; }
  .hero { min-height: 430px; }
  .cards { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field.full { grid-column: auto; }
  .leaders { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .fellowship-list { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-about { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}