/* ==========================================================
   MVMT Church — Shared Site Styles
   Design system: dark panel aesthetic, Montserrat display,
   Inconsolata mono meta labels.
   ========================================================== */

/* Reset & Design Tokens */
* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
}

:root {
  --bg-dark: #0a0a0a;
  --panel-dark: #121212;
  --border-muted: #222222;
  --text-main: #ffffff;
  --text-muted: #8e8e93;
  --accent: #ffffff;
  --font-display: 'Montserrat', sans-serif;
  --font-mono: 'Inconsolata', monospace;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-display);
  overflow-x: hidden;
  line-height: 1.65;
}

.section-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 24px;
}

a { color: var(--text-main); text-decoration: none; transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1); }

/* Scroll-Driven Animations */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Interface Elements */
.btn {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 16px 32px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}
.btn-primary {
  background-color: var(--text-main);
  color: var(--bg-dark);
}
.btn-primary:hover {
  background-color: #dcdcdc;
}
.btn-secondary {
  border: 1px solid var(--border-muted);
  background-color: transparent;
  color: var(--text-main);
}
.btn-secondary:hover {
  background-color: rgba(255,255,255,0.04);
  border-color: var(--text-main);
}

/* Hero Layout */
.hero-wrapper {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-muted);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: center;
  width: 100%;
}

.hero-content {
  position: relative;
  z-index: 10;
}

.brand-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.brand-icon {
  width: 40px;
  height: 40px;
  background-image: url('../images/mvmt-icon.svg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.brand-name {
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero-tagline {
  font-family: var(--font-mono);
  color: var(--text-muted);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 40px;
  font-weight: 400;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
  position: relative;
}

/* Portrait Media Framer Container */
.hero-visual-frame {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.phone-mockup {
  position: relative;
  width: 310px;
  height: 620px;
  border: 10px solid #1a1a1a;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 30px 60px -15px rgba(0,0,0,0.8);
  background-color: #000;
}

.phone-mockup video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Subtle CSS CRT TV Shader Overlay */
.crt-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
  background-size: 100% 4px, 6px 100%;
  box-shadow: inset 0 0 40px rgba(0,0,0,0.8);
  opacity: 0.85;
}

/* Core Pillars Matrix */
.info-section {
  border-bottom: 1px solid var(--border-muted);
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}
.info-card h3 {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 12px;
  letter-spacing: 1px;
}
.info-card p {
  font-size: 15px;
  color: var(--text-main);
  font-weight: 400;
}

/* --- Next Steps Community Integration Panel --- */
.connect-section {
  background-color: #0d0d0d;
  border-bottom: 1px solid var(--border-muted);
}
.connect-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.connect-card {
  border: 1px solid var(--border-muted);
  border-radius: 4px;
  padding: 40px;
  background-color: var(--bg-dark);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
}
.connect-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.connect-card p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 32px;
  font-weight: 300;
}

/* Leadership Biography Section */
.pastor-section {
  border-bottom: 1px solid var(--border-muted);
}
.pastor-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.pastor-image-container {
  border: 1px solid var(--border-muted);
  border-radius: 4px;
  padding: 12px;
  background-color: var(--panel-dark);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.pastor-img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 2px;
  display: block;
  object-fit: cover;
}
.pastor-meta {
  font-family: var(--font-mono);
  color: var(--text-muted);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}
.pastor-name {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 24px;
}
.pastor-bio {
  color: var(--text-muted);
  font-size: 16px;
  font-weight: 300;
  margin-bottom: 20px;
}

/* Local Press Sections */
.community-section {
  border-bottom: 1px solid var(--border-muted);
}
.section-meta {
  font-family: var(--font-mono);
  color: var(--text-muted);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}
.section-title {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 48px;
}
.press-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.press-card {
  background-color: var(--panel-dark);
  border: 1px solid var(--border-muted);
  border-radius: 4px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.press-card:hover {
  border-color: #444444;
}
.press-source {
  font-family: var(--font-mono);
  color: var(--text-muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.press-headline {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 24px;
}
.press-link {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.press-link:hover {
  color: var(--text-muted);
}

/* Structural Logistics Layout */
.visitor-section {
  background-color: var(--panel-dark);
  border-bottom: 1px solid var(--border-muted);
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.faq-item h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}
.faq-item p {
  color: var(--text-muted);
  font-size: 15px;
}

/* ---- Subpage Framework ---- */

/* Slim top navigation bar for interior pages */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-muted);
}
.site-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-nav .brand-header {
  margin-bottom: 0;
}
.site-nav .brand-icon {
  width: 28px;
  height: 28px;
}
.site-nav .brand-name {
  font-size: 14px;
}
.site-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.site-nav-links a {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
}
.site-nav-links a:hover,
.site-nav-links a[aria-current="page"] {
  color: var(--text-main);
}

/* Interior page hero */
.page-hero {
  border-bottom: 1px solid var(--border-muted);
}
.page-hero .section-container {
  padding-top: 90px;
  padding-bottom: 70px;
}
.page-title {
  font-size: clamp(34px, 4.5vw, 54px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
  max-width: 800px;
}
.page-lede {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 640px;
  font-weight: 400;
  line-height: 1.7;
}

.breadcrumb {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--text-main); }

/* Long-form content blocks */
.prose-section {
  border-bottom: 1px solid var(--border-muted);
}
.prose {
  max-width: 720px;
}
.prose h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}
.prose h3 {
  font-size: 19px;
  font-weight: 600;
  margin-top: 36px;
  margin-bottom: 12px;
}
.prose p {
  color: var(--text-muted);
  font-size: 16px;
  font-weight: 300;
  margin-bottom: 20px;
}
.prose ul {
  color: var(--text-muted);
  font-size: 16px;
  font-weight: 300;
  margin: 0 0 20px 20px;
}
.prose li {
  margin-bottom: 10px;
}
.prose a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: #444444;
}
.prose a:hover {
  text-decoration-color: var(--text-main);
}
.prose strong {
  color: var(--text-main);
  font-weight: 600;
}

/* Inline detail rows (service times, directions) */
.detail-list {
  border: 1px solid var(--border-muted);
  border-radius: 4px;
  background-color: var(--panel-dark);
  margin-bottom: 32px;
}
.detail-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  padding: 20px 28px;
  border-bottom: 1px solid var(--border-muted);
}
.detail-row:last-child {
  border-bottom: none;
}
.detail-label {
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}
.detail-value {
  font-size: 15px;
  font-weight: 500;
}

/* Full-width call-to-action band */
.cta-band {
  border-bottom: 1px solid var(--border-muted);
  background-color: #0d0d0d;
  text-align: center;
}
.cta-band .section-container {
  padding-top: 80px;
  padding-bottom: 80px;
}
.cta-band h2 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.cta-band p {
  color: var(--text-muted);
  font-size: 16px;
  font-weight: 300;
  max-width: 560px;
  margin: 0 auto 36px;
}
.cta-band .hero-actions {
  justify-content: center;
  margin-bottom: 0;
}

/* Local Footer Framework */
.footer-section {
  padding: 80px 24px;
  background-color: #050505;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}
.footer-brand h5 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-brand p {
  font-family: var(--font-mono);
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.8;
}
.agency-credit {
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #444444;
}
.agency-credit a {
  color: #666666;
}
.agency-credit a:hover {
  color: var(--text-main);
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.footer-links h6 {
  font-family: var(--font-mono);
  color: var(--text-muted);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.footer-links a {
  color: var(--text-muted);
  font-size: 14px;
}
.footer-links a:hover {
  color: var(--text-main);
}
.social-row {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}
.social-row a {
  display: inline-flex;
  opacity: 0.6;
}
.social-row a:hover {
  opacity: 1;
}
.social-row img {
  width: 22px;
  height: 22px;
}

/* Mobile Breakpoint Adaptations */
@media screen and (max-width: 991px) {
  .hero-wrapper {
    padding-top: 0;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
    text-align: center;
    min-height: 100vh;
    align-content: center;
  }

  .hero-content {
    position: relative;
    z-index: 10;
    pointer-events: auto;
  }
  .brand-header, .hero-actions {
    justify-content: center;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-visual-frame {
    position: absolute;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    opacity: 0.15;
    overflow: hidden;
    pointer-events: none;
  }
  .phone-mockup {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }
  .phone-mockup video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
  }

  .connect-grid, .pastor-grid, .press-grid, .faq-grid, .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .site-nav-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .site-nav-links {
    gap: 16px;
  }
}
