/* Home page. Structure per section is credited in the parts table at the top of index.php. */

.home section { position: relative; }
.home img { width: 100%; height: 100%; object-fit: cover; }

.sec-title { font-family: var(--display); font-weight: 500; font-size: clamp(40px, 5vw, 64px); line-height: 1.05; letter-spacing: -0.03em; margin: 0; color: var(--ink); }

.status { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px; border-radius: var(--r-pill); background: var(--surface); color: var(--ink-2); font-size: 13px; font-weight: 500; }
.status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.status-live { background: var(--accent-50); color: var(--accent-700); }
.status-live .dot { background: var(--accent); animation: ya-pulse 2.4s var(--ease) infinite; }
.status-upcoming .dot { background: var(--accent); }
@keyframes ya-pulse { 50% { opacity: 0.35; } }

.empty-note { margin: 48px 0 0; padding: 48px; border-radius: var(--r-md); background: var(--bg); color: var(--muted); text-align: center; }

/* ── Hero ── */
.hero { height: 100vh; height: 100svh; min-height: 680px; max-height: 1000px; display: grid; grid-template-rows: 1fr auto; background: var(--dark); }
.hero-photo { position: relative; overflow: hidden; min-height: 520px; }
.hero-photo > img { position: absolute; inset: 0; object-position: 50% 40%; }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(11,12,14,0.72) 0%, rgba(11,12,14,0.36) 46%, rgba(11,12,14,0) 72%),
    linear-gradient(180deg, rgba(11,12,14,0.48) 0%, rgba(11,12,14,0) 24%, rgba(11,12,14,0) 64%, rgba(11,12,14,0.4) 100%);
}
.hero-inner { position: relative; height: 100%; display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; padding-top: calc(var(--nav-h) + 48px); padding-bottom: 48px; }
.hero-copy { max-width: 760px; color: #fff; }
.hero-title { font-family: var(--display); font-weight: 400; font-size: clamp(48px, 7.2vw, 108px); line-height: 1.04; letter-spacing: -0.035em; margin: 0; }
.hero-sub { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; color: rgba(255,255,255,0.84); max-width: 34ch; margin: 24px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero-join { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; color: #fff; text-decoration: none; flex-shrink: 0; }
.hero-join-label { display: inline-flex; align-items: center; gap: 4px; font-size: 16px; font-weight: 500; }
.hero-join-label i { transition: transform var(--base) var(--ease); }
.hero-join:hover .hero-join-label i { transform: rotate(-45deg); }
.hero-faces { display: flex; }
.hero .hero-faces > * { width: 56px; height: 56px; border-radius: 50%; box-shadow: 0 0 0 3px rgba(11,12,14,0.4); margin-left: -12px; flex-shrink: 0; }
.hero-faces img { object-fit: cover; }
.hero-face-plus { display: grid; place-items: center; background: #fff; color: var(--ink); font-size: 22px; transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease); }
.hero-join:hover .hero-face-plus { background: var(--accent); color: #fff; }

.hero-strip { display: grid; grid-template-columns: 15fr 31fr 25fr 29fr; height: clamp(240px, 30vh, 280px); }
.strip-tile { position: relative; overflow: hidden; margin: 0; min-width: 0; }
.strip-portrait img { object-position: 50% 30%; }
.strip-quote { background: var(--dark); color: var(--on-dark); padding: 32px 40px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.strip-quote i { font-size: 32px; color: var(--accent); }
.strip-quote blockquote { margin: 0; font-size: clamp(15px, 1.25vw, 18px); line-height: 1.5; max-width: 36ch; }
.strip-photo img { transition: transform 600ms var(--ease); }
.strip-photo:hover img { transform: scale(1.03); }
.strip-play { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: rgba(11,12,14,0.72); color: #fff; display: grid; place-items: center; font-size: 22px; transition: background-color var(--fast) var(--ease); }
.strip-photo:hover .strip-play { background: var(--accent); }
.strip-event { background: var(--bg); padding: 28px 40px; display: flex; flex-direction: column; align-items: flex-start; }
.strip-event-title { font-family: var(--display); font-weight: 500; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.12; letter-spacing: -0.02em; margin: 12px 0 0; padding-right: 40px; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.strip-event-date { margin: 8px 0 auto; font-size: 15px; color: var(--muted); }
.strip-event .arrow-link { color: var(--ink); margin-top: 16px; }
.strip-star { position: absolute; right: 32px; bottom: 32px; width: 40px; height: 40px; color: var(--accent); }

/* ── Event ── */
.event { padding: var(--section) 0; background: var(--bg); }
.event-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 48px 24px; align-items: center; }
.event-copy { grid-column: 1 / span 6; }
.event-title { font-family: var(--display); font-weight: 500; font-size: clamp(40px, 4.8vw, 68px); line-height: 1.06; letter-spacing: -0.03em; color: var(--accent); margin: 24px 0 0; max-width: 14ch; }
.event-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.event-rows { margin: 48px 0 0; }
.event-rows > div { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 16px 0; box-shadow: 0 -1px 0 var(--line); }
.event-rows dt { font-size: 15px; font-weight: 500; color: var(--ink); }
.event-rows dd { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); max-width: 52ch; }
.event-empty { color: var(--muted); margin: 16px 0 0; max-width: 44ch; }
.event-media { grid-column: 7 / span 6; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.event-media img { height: auto; max-height: 720px; object-fit: contain; }

/* ── News ── */
.news { padding: var(--section) 0; background: var(--surface); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.sec-aside { max-width: 340px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.sec-aside p { margin: 0; color: var(--muted); font-size: 15px; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
/* ── Mission ── */
.mission { padding: var(--section) 0; background: var(--bg); }
.mission-statement { font-family: var(--display); font-weight: 500; font-size: clamp(30px, 4vw, 56px); line-height: 1.12; letter-spacing: -0.025em; color: var(--ink); text-align: right; max-width: 22ch; margin: 0 0 0 auto; }
.mission-statement span { color: var(--accent); }
.mission-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; margin-top: 64px; }
.mission-side { grid-column: 1 / span 4; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding-right: 24px; }
.mission-thumb { width: 160px !important; height: 160px !important; border-radius: var(--r-md); }
.mission-items { display: flex; flex-direction: column; gap: 32px; }
.mission-items h3 { font-family: var(--display); font-weight: 500; font-size: 22px; letter-spacing: -0.01em; margin: 0; color: var(--ink); }
.mission-items p { margin: 8px 0 0; color: var(--muted); font-size: 15px; line-height: 1.6; max-width: 40ch; }
.mission-items .arrow-link { margin-top: 16px; color: var(--ink); }
.mission-photo { grid-column: 5 / span 8; aspect-ratio: 3 / 2; border-radius: var(--r-lg); overflow: hidden; }

/* ── Testimonies ── */
.testimonies { background: var(--dark); color: var(--on-dark); overflow: hidden; }
.test-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; }
.test-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--dark) 0%, rgba(11,12,14,0.6) 30%, rgba(11,12,14,0) 70%); }
.test-inner { position: relative; padding-top: var(--section); padding-bottom: var(--section); min-height: 560px; display: flex; flex-direction: column; justify-content: center; }
.test-title { font-family: var(--display); font-weight: 500; font-size: clamp(44px, 6vw, 88px); line-height: 1.02; letter-spacing: -0.035em; margin: 0; max-width: 11ch; color: #fff; }
.test-title span { color: var(--accent); }
.test-text { margin: 24px 0 0; max-width: 42ch; font-size: 17px; color: var(--on-dark-muted); }
.test-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ── Crusades ── */
.crusades { padding: var(--section) 0; background: var(--bg); }
.crus-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.crus-panel { background: var(--surface); border-radius: var(--r-lg); padding: 40px; display: flex; flex-direction: column; gap: 24px; min-width: 0; box-sizing: border-box; }
.crus-text { margin: 0; color: var(--muted); max-width: 44ch; }
.crus-photo { flex: 1; min-height: 240px; border-radius: var(--r-md); overflow: hidden; }
.crus-bar { display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 24px; border-radius: 12px; background: var(--accent); color: #fff; text-decoration: none; font-family: var(--display); font-weight: 500; font-size: 20px; letter-spacing: -0.01em; transition: background-color var(--fast) var(--ease), transform var(--fast) var(--ease); }
.crus-bar i { font-size: 24px; transition: transform var(--base) var(--ease); }
.crus-bar:hover { background: var(--accent-600); }
.crus-bar:hover i { transform: rotate(-45deg); }
.crus-bar:active { transform: scale(0.99); }
.crus-list-title { font-family: var(--display); font-weight: 500; font-size: 28px; letter-spacing: -0.02em; margin: 0; color: var(--ink); }
.crus-card { position: relative; display: block; flex: 1; min-height: 240px; border-radius: var(--r-md); overflow: hidden; color: #fff; text-decoration: none; background: var(--surface-2); transition: transform var(--base) var(--ease); }
.crus-card img { position: absolute; inset: 0; transition: transform 600ms var(--ease); }
.crus-card:hover { transform: translateY(-2px); }
.crus-card:hover img { transform: scale(1.03); }
.crus-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,12,14,0) 35%, rgba(11,12,14,0.85) 100%); }
.crus-body { position: absolute; left: 24px; bottom: 24px; right: 152px; display: flex; flex-direction: column; gap: 4px; }
.crus-title { font-family: var(--display); font-weight: 500; font-size: 20px; line-height: 1.15; letter-spacing: -0.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.crus-loc { font-size: 13px; color: rgba(255,255,255,0.72); }
.crus-badge { position: absolute; right: 0; bottom: 0; width: 128px; height: 128px; border-top-left-radius: 100%; background: var(--accent); color: #fff; display: flex; flex-direction: column; align-items: flex-end; justify-content: flex-end; padding: 0 20px 20px 0; box-sizing: border-box; line-height: 1.1; }
.crus-badge span { font-size: 14px; }
.crus-badge strong { font-family: var(--display); font-weight: 500; font-size: 24px; letter-spacing: -0.01em; }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .hero-strip { grid-template-columns: 36fr 28fr 36fr; }
  .strip-portrait { display: none; }
  .strip-quote, .strip-event { padding: 24px 32px; }
}
@media (max-width: 900px) {
  .hero-strip { grid-template-columns: 1fr 1fr; }
  .strip-photo { display: none; }
  .event-copy, .event-media { grid-column: 1 / -1; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-grid .news-card:nth-child(3) { display: none; }
  .mission-side, .mission-photo { grid-column: 1 / -1; }
  .mission-side { padding-right: 0; flex-direction: row; align-items: flex-start; }
  .mission-photo { order: -1; }
  .crus-grid { grid-template-columns: 1fr; }
  .test-photo { width: 100%; opacity: 0.5; }
}
@media (max-width: 640px) {
  .hero-inner { flex-direction: column; align-items: flex-start; gap: 32px; padding-bottom: 32px; }
  .hero-join { align-items: flex-start; flex-direction: row-reverse; justify-content: flex-end; align-items: center; gap: 16px; }
  .hero .hero-faces > * { width: 44px; height: 44px; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-strip { grid-template-columns: 1fr; height: auto; }
  .strip-photo, .strip-event { display: none; }
  .strip-quote, .strip-event { padding: 32px var(--gutter); }
  .strip-event { min-height: 200px; }
  .event-actions .btn { flex: 1 1 100%; }
  .event-rows > div { grid-template-columns: 1fr; gap: 4px; }
  .news-grid { grid-template-columns: 1fr; }
  .news-grid .news-card:nth-child(3) { display: block; }
  .mission-statement { text-align: left; margin: 0; }
  .mission-side { flex-direction: column; }
  .mission-thumb { display: none; }
  .crus-panel { padding: 24px; }
  .crus-body { right: 24px; bottom: 136px; }
  .crus-card { min-height: 320px; }
  .test-actions .btn { flex: 1 1 100%; }
}
