/**
 * index.css
 * ─────────────────────────────────────
 * Scope:    We The Church — home page
 * Brand:    Navy #1B2A4A · Peony #C2738A · Sage #4A7C6F · Linen #F2E8D6
 */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --navy: #1B2A4A;
    --peony: #C2738A;
    --sage: #4A7C6F;
    --amber: #C4895A;
    --cream: #F7EEF1;
    --linen: #F2E8D6;
    --ink: #111111;
    --muted: #5a5550;
    --border: #ddd5c8;
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Lato', sans-serif;
    background: var(--linen);
    color: var(--ink);
    line-height: 1.75;
    font-size: 17px;
    overflow-x: hidden;
  }

  /* ── NAV ── */
  nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(27,42,74,0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 16px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }
  .nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--cream);
    text-decoration: none;
    letter-spacing: -0.01em;
  }
  .nav-logo span { color: var(--peony); }
  .nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
  }
  .nav-links a {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(247,238,241,0.65);
    text-decoration: none;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--cream); }
  .nav-cta {
    background: var(--peony);
    color: white !important;
    padding: 9px 20px;
    border-radius: 4px;
    opacity: 1 !important;
    transition: background 0.2s !important;
  }
  .nav-cta:hover { background: #a85f76 !important; }
  .nav-mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
  }
  .nav-mobile-toggle svg { width: 24px; height: 24px; color: var(--cream); }

  /* ── HERO ── */
  .hero {
    background: var(--navy);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 40px 80px;
    position: relative;
    overflow: hidden;
  }
  .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse at 20% 20%, rgba(194,115,138,0.18) 0%, transparent 55%),
      radial-gradient(ellipse at 80% 80%, rgba(74,124,111,0.12) 0%, transparent 50%),
      radial-gradient(ellipse at 60% 10%, rgba(196,137,90,0.08) 0%, transparent 45%);
    pointer-events: none;
  }
  .hero-eyebrow {
    font-size: 11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--peony);
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
  }
  .hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(38px, 6vw, 72px);
    font-weight: 600;
    color: var(--cream);
    line-height: 1.1;
    max-width: 820px;
    margin-bottom: 28px;
    position: relative;
  }
  .hero h1 em {
    font-style: italic;
    color: var(--peony);
  }
  .hero-sub {
    font-size: clamp(16px, 2vw, 19px);
    font-weight: 300;
    color: rgba(247,238,241,0.75);
    max-width: 560px;
    line-height: 1.85;
    margin-bottom: 44px;
    position: relative;
  }
  .hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    margin-bottom: 72px;
  }
  .btn-primary {
    background: var(--peony);
    color: white;
    font-family: 'Lato', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 15px 32px;
    border-radius: 4px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
  }
  .btn-primary:hover { background: #a85f76; transform: translateY(-1px); }
  .btn-secondary {
    background: transparent;
    color: var(--cream);
    font-family: 'Lato', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 15px 32px;
    border-radius: 4px;
    text-decoration: none;
    border: 1px solid rgba(247,238,241,0.25);
    transition: border-color 0.2s, transform 0.15s;
  }
  .btn-secondary:hover { border-color: rgba(247,238,241,0.6); transform: translateY(-1px); }
  .hero-member-link {
    position: relative;
    margin-bottom: 32px;
  }
  .hero-member-link a {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: rgba(247,238,241,0.5);
    text-decoration: none;
    transition: color 0.2s;
  }
  .hero-member-link a:hover { color: var(--cream); }

  .hero-verse {
    position: relative;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 32px;
    max-width: 500px;
  }
  .hero-verse-text {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 17px;
    color: rgba(247,238,241,0.6);
    line-height: 1.75;
    margin-bottom: 8px;
  }
  .hero-verse-ref {
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--peony);
    font-weight: 700;
  }

  /* ── WHAT WE ARE ── */
  .what-we-are {
    background: white;
    padding: 100px 40px;
  }
  .section-inner {
    max-width: 1000px;
    margin: 0 auto;
  }
  .section-eyebrow {
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--peony);
    font-weight: 700;
    margin-bottom: 14px;
  }
  .section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 600;
    color: var(--navy);
    line-height: 1.2;
    max-width: 640px;
    margin-bottom: 20px;
  }
  .section-body {
    font-size: 17px;
    font-weight: 400;
    color: #3a3530;
    max-width: 580px;
    line-height: 1.85;
    margin-bottom: 52px;
  }
  .three-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
  .pillar-card {
    padding: 28px 24px;
    border-radius: 4px;
    border: 1px solid var(--border);
    background: var(--linen);
  }
  .pillar-icon {
    font-size: 28px;
    margin-bottom: 14px;
  }
  .pillar-title {
    font-family: 'Playfair Display', serif;
    font-size: 19px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 10px;
  }
  .pillar-body {
    font-size: 14px;
    color: #3a3530;
    line-height: 1.75;
    font-weight: 400;
  }

  /* ── THE TRUTH SECTION ── */
  .truth-section {
    background: var(--navy);
    padding: 100px 40px;
    position: relative;
    overflow: hidden;
  }
  .truth-section::before {
    content: 'TRUTH';
    font-family: 'Playfair Display', serif;
    font-size: 220px;
    color: rgba(194,115,138,0.05);
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    letter-spacing: -0.05em;
    pointer-events: none;
    line-height: 1;
  }
  .truth-section .section-eyebrow { color: var(--peony); }
  .truth-section .section-title { color: var(--cream); }
  .truth-section .section-body { color: rgba(247,238,241,0.72); }
  .truth-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    margin-bottom: 36px;
  }
  .truth-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    padding: 24px;
    text-decoration: none;
    color: var(--cream);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
  }
  .truth-card:hover {
    background: rgba(194,115,138,0.12);
    border-color: rgba(194,115,138,0.4);
    transform: translateY(-2px);
  }
  .truth-card-tag {
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--peony);
    font-weight: 700;
  }
  .truth-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
  }
  .truth-card-desc {
    font-size: 13px;
    color: rgba(247,238,241,0.62);
    line-height: 1.65;
    flex: 1;
  }
  .truth-card-arrow {
    color: var(--peony);
    font-size: 18px;
    font-weight: 700;
    align-self: flex-end;
  }
  .truth-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--peony);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-decoration: none;
    text-transform: uppercase;
    transition: gap 0.2s;
  }
  .truth-cta:hover { gap: 14px; }

  /* ── BIBLE STUDY ── */
  .study-section {
    background: var(--linen);
    padding: 100px 40px;
  }
  .study-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
  }
  .study-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
  }
  .study-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: white;
    border-radius: 4px;
    padding: 18px 20px;
    border: 1px solid var(--border);
  }
  .study-detail-icon {
    font-size: 22px;
    flex-shrink: 0;
    margin-top: 2px;
  }
  .study-detail-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 3px;
    letter-spacing: 0.02em;
  }
  .study-detail-body {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
  }
  .study-visual {
    background: var(--navy);
    border-radius: 8px;
    padding: 40px 36px;
    position: relative;
    overflow: hidden;
  }
  .study-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 80% 20%, rgba(194,115,138,0.2) 0%, transparent 60%);
    pointer-events: none;
  }
  .sv-label {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--peony);
    font-weight: 700;
    margin-bottom: 10px;
  }
  .sv-book {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 8px;
    line-height: 1.2;
  }
  .sv-desc {
    font-size: 14px;
    color: rgba(247,238,241,0.65);
    line-height: 1.7;
    margin-bottom: 28px;
  }
  .sv-next {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 4px;
    padding: 16px 18px;
    margin-bottom: 20px;
  }
  .sv-next-label {
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(247,238,241,0.45);
    font-weight: 700;
    margin-bottom: 5px;
  }
  .sv-next-date {
    font-size: 15px;
    font-weight: 700;
    color: var(--cream);
  }
  .sv-next-chapter {
    font-size: 12px;
    color: rgba(247,238,241,0.55);
    margin-top: 2px;
  }

  /* ── JOIN ── */
  .join-section {
    background: var(--peony);
    padding: 100px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .join-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse at 30% 50%, rgba(255,255,255,0.08) 0%, transparent 60%),
      radial-gradient(ellipse at 80% 30%, rgba(27,42,74,0.15) 0%, transparent 50%);
    pointer-events: none;
  }
  .join-section .section-eyebrow { color: rgba(255,255,255,0.7); }
  .join-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(30px, 4vw, 52px);
    font-weight: 600;
    color: white;
    line-height: 1.15;
    max-width: 640px;
    margin: 0 auto 20px;
    position: relative;
  }
  .join-body {
    font-size: 17px;
    font-weight: 300;
    color: rgba(255,255,255,0.82);
    max-width: 480px;
    margin: 0 auto 40px;
    line-height: 1.85;
    position: relative;
  }
  .btn-white {
    background: white;
    color: var(--peony);
    font-family: 'Lato', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 16px 36px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    position: relative;
    transition: transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  }
  .btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.2); }

  /* ── APP BANNER ── */
  .app-banner {
    background: white;
    padding: 60px 40px;
    border-top: 1px solid var(--border);
  }
  .app-banner-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
  }
  .app-banner-text .section-eyebrow { margin-bottom: 10px; }
  .app-banner-title {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 10px;
    line-height: 1.3;
  }
  .app-banner-body {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.75;
    max-width: 420px;
  }

  /* ── FOOTER ── */
  footer {
    background: var(--navy);
    padding: 48px 40px;
    text-align: center;
  }
  .footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 12px;
  }
  .footer-logo span { color: var(--peony); }
  .footer-tagline {
    font-size: 13px;
    color: rgba(247,238,241,0.45);
    margin-bottom: 24px;
    letter-spacing: 0.04em;
  }
  .footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    margin-bottom: 24px;
  }
  .footer-links a {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(247,238,241,0.4);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s;
  }
  .footer-links a:hover { color: var(--peony); }
  .footer-copy {
    font-size: 12px;
    color: rgba(247,238,241,0.25);
  }

  /* ── MOBILE ── */
  @media (max-width: 768px) {
    nav { padding: 14px 20px; }
    .nav-links { display: none; }
    .nav-mobile-toggle { display: block; }
    .nav-links.open {
      display: flex;
      flex-direction: column;
      position: fixed;
      top: 56px;
      left: 0;
      right: 0;
      background: rgba(27,42,74,0.98);
      padding: 24px 20px 32px;
      gap: 20px;
      border-bottom: 1px solid rgba(255,255,255,0.08);
      z-index: 99;
    }
    .nav-links.open a { font-size: 15px; }
    .hero { padding: 100px 24px 60px; min-height: auto; }
    .what-we-are { padding: 72px 24px; }
    .three-col { grid-template-columns: 1fr; gap: 16px; }
    .truth-section { padding: 72px 24px; }
    .study-section { padding: 72px 24px; }
    .study-inner { grid-template-columns: 1fr; gap: 40px; }
    .join-section { padding: 72px 24px; }
    .app-banner { padding: 48px 24px; }
    .app-banner-inner { flex-direction: column; align-items: flex-start; }
    footer { padding: 40px 24px; }
    .truth-section::before { display: none; }

    /* ── TEXT SIZE BUMP ── */
    body { font-size: 18px; }
    .hero-eyebrow { font-size: 12px; }
    .hero-sub { font-size: 18px; }
    .section-eyebrow { font-size: 11px; }
    .section-body { font-size: 18px; }
    .pillar-title { font-size: 20px; }
    .pillar-body { font-size: 15px; }
    .truth-card-title { font-size: 19px; }
    .truth-card-body { font-size: 15px; }
    .hero-verse { font-size: 18px; }
    .hero-verse-ref { font-size: 13px; }
  }
