/* Homepage sections (2026 refresh) and the site-wide footer. */

/* ---------- Welcome + quick-link tiles ---------- */
.nb-welcome { background: var(--white); text-align: center; }
.nb-welcome h2 { color: var(--ink); }
.nb-tagline { margin: 18px 0 clamp(36px, 5vw, 56px); font-family: var(--display); font-weight: 700; font-size: clamp(1.2rem, 2.2vw, 1.6rem); letter-spacing: .32em; text-transform: uppercase; color: var(--purple); }
.nb-tagline span { color: #c79a3c; }
.nb-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 22px); }
.nb-tile { position: relative; display: flex; align-items: flex-end; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 6px; color: var(--white); text-decoration: none; isolation: isolate; background: var(--dark); }
.nb-tile img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.nb-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #1d102600 35%, #1d1026e6 92%); }
.nb-tile span { width: 100%; padding: 22px 20px 24px; font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1; text-transform: uppercase; text-align: left; }
.nb-tile small { display: block; margin-top: 8px; font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: .78rem; letter-spacing: .06em; text-transform: none; color: #ead9ef; }
.nb-tile:hover span { color: var(--gold); }
@media (max-width: 900px) { .nb-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .nb-tile { aspect-ratio: 4 / 5; } .nb-tile span { padding: 16px 14px 18px; } }

/* ---------- Events + announcements ---------- */
.nb-happening { background: var(--cream); }
.nb-happening-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.nb-happening h2 { font-size: clamp(2.4rem, 4.6vw, 3.8rem); }
.nb-happening h2 em { font-style: normal; color: var(--purple); }
.v2 .nb-happening h2 em { color: var(--gold); }
.nb-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.nb-events { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.nb-events li { display: flex; gap: 18px; align-items: center; padding: 14px 16px; background: var(--white); border: 1px solid var(--line); border-radius: 6px; }
.nb-events time { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; width: 64px; height: 64px; border-radius: 6px; background: linear-gradient(150deg, #753d9d, #50216f); color: var(--white); line-height: 1; }
.nb-events time span { font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.nb-events time strong { font-family: var(--display); font-size: 1.9rem; font-weight: 800; }
.nb-events a { font-weight: 700; text-decoration: none; color: var(--ink); }
.nb-events a:hover { color: var(--purple); }
.nb-events small { display: block; color: var(--muted); font-size: .85rem; }
.nb-news { display: grid; gap: 16px; }
.nb-news article { display: grid; grid-template-columns: 140px 1fr; gap: 18px; align-items: center; padding: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 6px; }
.nb-news img { width: 140px; height: 100px; object-fit: cover; border-radius: 4px; }
.nb-news h3 { font-size: 1.45rem; }
.nb-news h3 a { text-decoration: none; }
.nb-news h3 a:hover { color: var(--purple); }
.nb-news p { margin-top: 6px; color: var(--muted); font-size: .9rem; line-height: 1.5; }
@media (max-width: 900px) { .nb-happening-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .nb-news article { grid-template-columns: 96px 1fr; gap: 14px; } .nb-news img { width: 96px; height: 96px; } }

/* =====================================================================
   OPTION 2: full redesign (dark, gold, New Birth flow)
   ===================================================================== */
.v2 { background: #120a18; color: var(--white); }
.v2 .eyebrow { color: var(--gold); }
.v2 h2 { color: var(--white); }
.v2 em { font-style: normal; color: var(--gold); }
.v2-section { padding-block: clamp(64px, 8vw, 116px); }
.v2-center { text-align: center; }
.v2-divider { display: block; width: 72px; height: 2px; margin: 0 auto 26px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }

/* Promo slider */
.v2-hero { position: relative; background: #0d0616; }
.v2-track { display: grid; }
.v2-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility 0s linear .8s; }
.v2-slide.is-active { opacity: 1; visibility: visible; transition: opacity .8s ease; }
.v2-promo { position: relative; display: flex; align-items: center; min-height: 100%; isolation: isolate; overflow: hidden; padding-block: clamp(70px, 9vw, 140px); }
.v2-promo > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.v2-promo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #0d0616f2 8%, #1d1026c4 45%, #1d102622 90%); }
.v2-promo h2 { font-size: clamp(3.6rem, 9vw, 8.4rem); line-height: .86; letter-spacing: -.025em; }
.v2-promo p:not(.eyebrow) { max-width: 440px; margin: 22px 0 28px; color: #ead9ef; font-size: 1.05rem; }
.v2-dots { position: absolute; z-index: 3; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; gap: 10px; }
.v2-dots button { width: 36px; height: 6px; padding: 0; border: 0; border-radius: 3px; background: #ffffff55; }
.v2-dots button[aria-current="true"] { background: var(--gold); }
.v2-dots button:hover { background: #ffffffaa; }

/* Join strip */
.v2-join { background: #120a18; padding-bottom: clamp(56px, 7vw, 90px); text-align: center; }
.v2-join .join-mark { background: #120a18; }
.v2-join h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--gold); }
.v2-times { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 34px; margin: 18px 0 22px; padding: 0; list-style: none; font-weight: 700; font-size: 1.05rem; }
.v2-times span { color: #ead9ef; font-weight: 500; }
.v2-join .actions { justify-content: center; }

/* Welcome tiles on dark */
.v2-welcome { background: linear-gradient(180deg, #120a18, #1d1026); }
.v2-welcome .nb-tagline { color: #d9bce8; }
.v2-welcome .nb-tagline span { color: var(--gold); }
.v2 .nb-tile { border: 1px solid #ffffff1a; }

/* Theme cards */
.v2-theme { background: linear-gradient(125deg, #2b0f39, #4b2063); }
.v2-theme-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; text-align: left; }
.v2-card { padding: 30px 28px; border: 1px solid #f4cf7740; border-radius: 6px; background: #12081a66; }
.v2-card .eyebrow { margin-bottom: 12px; }
.v2-card h3 { font-size: clamp(2rem, 3vw, 2.6rem); color: var(--white); }
.v2-card p { margin-top: 10px; color: #ead9ef; }
.v2-card details { margin-top: 14px; }
.v2-card summary { cursor: pointer; color: var(--gold); font-weight: 700; font-size: .9rem; letter-spacing: .05em; }
.v2-card details p { font-size: .92rem; }
@media (max-width: 900px) { .v2-theme-grid { grid-template-columns: 1fr; } }

/* Events + news on dark */
.v2-happening { background: #120a18; }
.v2 .nb-events li, .v2 .nb-news article { background: #1d1026; border-color: #ffffff1a; }
.v2 .nb-events a, .v2 .nb-news h3 a { color: var(--white); }
.v2 .nb-events a:hover, .v2 .nb-news h3 a:hover { color: var(--gold); }
.v2 .nb-events small, .v2 .nb-news p { color: #cdb8d6; }
.v2 .text-link { color: var(--gold); }

/* Pastors feature */
.v2-pastors { background: linear-gradient(180deg, #1d1026, #2a1236); }
.v2-pastors-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.v2-pastors-grid img { border-radius: 6px; width: 100%; max-width: 480px; }
.v2-pastors p:not(.eyebrow) { margin: 20px 0 26px; color: #ead9ef; max-width: 520px; }
.v2-pastors .leaders dt { color: var(--gold); }
.v2-pastors .leaders dd { color: var(--white); }
@media (max-width: 900px) { .v2-pastors-grid { grid-template-columns: 1fr; } }

/* Visit band */
.v2-visit { position: relative; isolation: isolate; overflow: hidden; }
.v2-visit > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.v2-visit::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #120a18d9; }
.v2-visit blockquote { margin: 26px auto 30px; max-width: 760px; font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.3; color: var(--white); }
.v2-visit .actions { justify-content: center; }
.v2-visit address { color: #ead9ef; }

/* Give band */
.v2-give { background: linear-gradient(150deg, #ffe5a3, #e8b652); color: #2b1830; }
.v2-give h2 { color: #2b1830; }
.v2-give .eyebrow { color: #6a286e; }
.v2-give p:not(.eyebrow) { margin-top: 14px; color: #4a3050; }

@media (prefers-reduced-motion: reduce) { .v2-slide, .v2-slide.is-active, .nb-tile img { transition: none; } }
.nb-tile--tint img { filter: grayscale(1) contrast(1.05) brightness(.9); }
.nb-tile--tint::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #5e2a86; mix-blend-mode: multiply; }

/* =====================================================================
   New footer (both options)
   ===================================================================== */
.nb-footer { background: #120a18; color: #ead9ef; font-size: .92rem; }
.nb-footer h2 { font-family: var(--display); font-size: 1.55rem; letter-spacing: .02em; color: var(--gold); margin-bottom: 14px; }
.nb-footer em { font-style: normal; color: var(--gold); }
.nb-footer a { text-decoration: none; }
.nb-footer a:not(.button):hover { color: var(--gold); }

.nbf-signup { background: linear-gradient(125deg, #3a1550, #5a2a7c); border-bottom: 1px solid #f4cf7733; }
.nbf-signup-row { display: flex; align-items: center; gap: clamp(18px, 3vw, 36px); padding-block: clamp(30px, 4vw, 44px); }
.nbf-mail { flex: none; width: 56px; color: var(--gold); }
.nbf-signup-copy { flex: 1; }
.nbf-signup h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); color: var(--white); margin: 0; }
.nbf-signup p { margin-top: 6px; color: #ead9ef; }
.nbf-signup .button { flex: none; padding-inline: 34px; }

.nbf-main { display: grid; grid-template-columns: 1.25fr .8fr 1.15fr .9fr; gap: clamp(28px, 4vw, 56px); padding-block: clamp(52px, 6vw, 76px) clamp(40px, 5vw, 60px); }
.nbf-church, .nbf-col { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
/* Logo tinted light purple: the PNG is used as a mask over a solid color. */
.nbf-logo { display: block; width: 128px; aspect-ratio: 535 / 320; margin-bottom: 8px; background: #c9a6e4; -webkit-mask: url("assets/logo.png") center / contain no-repeat; mask: url("assets/logo.png") center / contain no-repeat; }
.nbf-logo img { width: 100%; height: 100%; opacity: 0; }
.nbf-church address { color: var(--white); font-weight: 600; line-height: 1.5; margin-bottom: 4px; }
.nbf-social { display: flex; gap: 10px; margin-top: 12px; }
.nbf-social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #f4cf7759; border-radius: 50%; color: var(--gold); transition: color .2s; }
.nbf-social a:hover { color: var(--white) !important; }
.nbf-social svg { width: 20px; height: 20px; }
.nbf-col > a { font-weight: 600; }
.nbf-times { list-style: none; margin: 0 0 8px; padding: 0; width: 100%; display: grid; gap: 8px; }
.nbf-times li { display: flex; justify-content: space-between; gap: 6px 14px; flex-wrap: wrap; padding-bottom: 8px; border-bottom: 1px solid #ffffff14; }
.nbf-times strong { color: var(--white); white-space: nowrap; }
.nbf-sub { margin-top: 14px; }
.nbf-visit { margin-top: 14px; }

.nbf-base { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px 24px; padding: 20px 0 26px; border-top: 1px solid #e9d4f03a; font-size: .85rem; }
.nbf-base > :last-child { justify-self: end; }
.nbf-top { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .72rem; }
.nbf-top svg { width: 12px; height: 8px; }

@media (max-width: 980px) {
  .nbf-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .nbf-signup-row { flex-direction: column; align-items: flex-start; }
  .nbf-signup .button { width: 100%; }
  .nbf-main { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .nbf-church, .nbf-main > .nbf-col:nth-child(3) { grid-column: 1 / -1; }
  .nbf-main > .nbf-col:nth-child(3) { order: 1; }
  .nbf-main > .nbf-col:nth-child(2), .nbf-main > .nbf-col:nth-child(4) { order: 2; }
  .nbf-church { align-items: center; text-align: center; padding-bottom: 28px; border-bottom: 1px solid #ffffff14; }
  .nbf-base { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .nbf-base > :last-child { justify-self: center; }
  .nbf-top { order: -1; }
}
