/*
Theme Name: Connect Church
Theme URI: https://connectchurch.org.nz
Author: Connect Church
Author URI: https://connectchurch.org.nz
Description: A clean, fast child theme for Connect Church in Devonport, Auckland. Built on Twenty Twenty-Five.
Requires at least: 6.7
Tested up to: 7.0
Requires PHP: 7.2
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: twentytwentyfive
Text Domain: connectchurch
*/

:root {
  --cc-primary: #1a2a3a;
  --cc-accent: #c8a96e;
  --cc-accent-light: #e8d5a8;
  --cc-accent-dark: #b8954a;
  --cc-light: #f8f6f1;
  --cc-white: #ffffff;
  --cc-gray: #6b7280;
  --cc-gray-light: #e5e7eb;
  --cc-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --cc-font-serif: 'Cormorant Garamond', Georgia, serif;
  --cc-radius: 14px;
  --cc-radius-sm: 10px;
  --cc-shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --cc-shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --cc-shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
  --cc-transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: var(--cc-font-sans);
  color: var(--cc-primary);
  background: var(--cc-white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--cc-font-serif);
  font-weight: 600;
  line-height: 1.25;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  transition: color 0.2s ease;
  cursor: pointer;
}

/* ===== ANIMATIONS ===== */
@keyframes cc-fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes cc-fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes cc-scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes cc-glow-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200,169,110,0.3); }
  50%      { box-shadow: 0 0 0 12px rgba(200,169,110,0); }
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--cc-white);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  padding: 1rem 1.5rem;
}

.site-header.scrolled {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.site-logo {
  font-family: var(--cc-font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cc-primary);
  text-decoration: none;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.site-logo-img {
  border-radius: 8px;
  flex-shrink: 0;
  mix-blend-mode: multiply;
}

.site-header.scrolled .site-logo {
  color: var(--cc-primary);
}

.site-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.site-nav a {
  color: var(--cc-primary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 2px;
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cc-accent);
  transition: width 0.3s ease;
}

.site-nav a:hover::after {
  width: 100%;
}

.site-nav a:hover {
  color: var(--cc-accent);
}

.site-header.scrolled .site-nav a {
  color: var(--cc-primary);
}

.site-header.scrolled .site-nav a:hover {
  color: var(--cc-accent);
}

/* Mobile menu */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cc-primary);
  transition: transform 0.3s ease, opacity 0.3s ease;
  border-radius: 2px;
}

.mobile-menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--cc-primary);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}

.mobile-nav a {
  color: var(--cc-white);
  text-decoration: none;
  font-family: var(--cc-font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  transition: color 0.2s;
}

.mobile-nav a:hover {
  color: var(--cc-accent);
}

/* ===== COFFEE SECTION ===== */
.coffee-section {
  padding: 6rem 1.5rem;
  background: #fcfaf7;
  position: relative;
  overflow: hidden;
}
.coffee-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 700px 500px at 0% 50%, rgba(200,169,110,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 600px 400px at 100% 30%, rgba(200,169,110,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.coffee-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4.5rem;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.coffee-visual {
  position: relative;
  min-height: 400px;
}
.coffee-img-card-1 {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.08), 0 10px 30px rgba(0,0,0,0.04);
  position: relative;
  z-index: 2;
  width: 85%;
}
.coffee-img-card-1 img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}
.coffee-img-card-2 {
  position: absolute;
  bottom: -10px;
  right: 0;
  width: 160px;
  height: 160px;
  border-radius: 20px;
  background: linear-gradient(145deg, var(--cc-accent) 0%, #b8944a 100%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 40px rgba(200,169,110,0.35);
}
.coffee-img-card-overlay {
  text-align: center;
  color: #fff;
}
.coffee-img-card-time {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.85;
  margin-bottom: 0.15rem;
}
.coffee-img-card-time-value {
  display: block;
  font-family: var(--cc-font-serif);
  font-size: 1.3rem;
  font-weight: 700;
}
.coffee-visual-dot {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.coffee-visual-dot-1 {
  top: 20px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: rgba(200,169,110,0.1);
  z-index: 1;
}
.coffee-visual-dot-2 {
  bottom: 80px;
  left: -20px;
  width: 40px;
  height: 40px;
  background: rgba(200,169,110,0.08);
  z-index: 0;
}

.coffee-content {
  text-align: left;
}
.coffee-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--cc-accent);
  background: rgba(200,169,110,0.1);
  padding: 0.35rem 1rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}
.coffee-title {
  font-family: var(--cc-font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--cc-primary);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.coffee-desc {
  color: #666;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 440px;
}
.coffee-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.coffee-stat {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 1rem;
  background: #fff;
  border: 1px solid rgba(200,169,110,0.12);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.coffee-stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(200,169,110,0.08);
  color: var(--cc-accent);
  flex-shrink: 0;
}
.coffee-stat-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #999;
  margin-bottom: 0.05rem;
}
.coffee-stat-value {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--cc-primary);
}
.coffee-tagline {
  font-size: 1rem;
  font-style: italic;
  color: var(--cc-gray);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.coffee-cta {
  display: inline-flex;
  padding: 1rem 2.5rem;
}

@media (max-width: 768px) {
  .coffee-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .coffee-img-card-1 img {
    height: 280px;
  }
  .coffee-img-card-2 {
    width: 120px;
    height: 120px;
    bottom: -6px;
  }
  .coffee-stats {
    grid-template-columns: 1fr;
  }
}
.invite-section {
  padding: 5rem 1rem;
  background: linear-gradient(135deg, #faf8f5 0%, #f5f1ea 100%);
  position: relative;
  overflow: hidden;
}
.invite-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at 30% 50%, rgba(200,169,110,0.06) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(200,169,110,0.04) 0%, transparent 50%);
  pointer-events: none;
}
.invite-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,169,110,0.3), transparent);
}
.invite-card {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.invite-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(200,169,110,0.2) 0%, rgba(200,169,110,0.08) 100%);
  border: 2px solid rgba(200,169,110,0.3);
  color: var(--cc-accent);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
}
.invite-heading {
  font-family: var(--cc-font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--cc-primary);
  margin: 0 0 0.3rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.invite-subtitle {
  font-family: var(--cc-font-serif);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 400;
  color: var(--cc-accent);
  margin: 0 0 1rem;
  line-height: 1.3;
}
.invite-text {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 300;
  color: #666;
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto 1.5rem;
}
.invite-toggle {
  margin-top: 0.5rem;
  cursor: pointer;
  transition: opacity 0.4s ease;
}
.invite-toggle.is-hidden {
  opacity: 0;
  pointer-events: none;
}
.invite-form-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 0;
}
.invite-form-wrap.is-open {
  grid-template-rows: 1fr;
}
.invite-form {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
  min-height: 0;
}
.invite-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  width: 100%;
}
.invite-field-full {
  width: 100%;
}
.invite-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cc-primary);
  letter-spacing: 0.01em;
}
.invite-req {
  color: #c0392b;
}
.invite-form input,
.invite-form textarea {
  width: 100%;
  padding: 0.75rem 1.1rem;
  border: 2px solid #e0ddd7;
  border-radius: 8px;
  font-size: 0.95rem;
  background: #fff;
  color: #333;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
  font-family: inherit;
  box-sizing: border-box;
}
.invite-form textarea {
  resize: vertical;
  min-height: 80px;
}
.invite-form input::placeholder,
.invite-form textarea::placeholder {
  color: #aaa;
}
.invite-form input:focus,
.invite-form textarea:focus {
  border-color: var(--cc-accent);
  box-shadow: 0 0 0 3px rgba(200,169,110,0.2);
  background: #fff;
  outline: none;
}
.invite-form .btn {
  white-space: nowrap;
  flex: 0 0 auto;
}
.invite-success {
  font-family: var(--cc-font-serif);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--cc-accent);
  margin: 0;
  line-height: 1.4;
}
.invite-heart {
  color: #e74c5e;
  display: inline-block;
  animation: invite-pulse 1.2s ease-in-out infinite;
}
@keyframes invite-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}



/* ===== HERO ===== */
.hero-section {
  position: relative;
  min-height: 100dvh;
  min-height: calc(100vh - var(--wp-admin--admin-bar--height, 0px));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--cc-white);
  overflow: hidden;
  isolation: isolate;
}

.hero-backdrop {
  position: absolute;
  inset: -10%;
  z-index: 0;
  will-change: transform;
  min-height: 100%;
  min-width: 120%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 0;
}

.hero-section > *:not(.hero-backdrop):not(.hero-overlay) {
  position: relative;
  z-index: 1;
}

.hero-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 820px;
  padding: 1rem;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.2rem;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: 1.75rem;
  animation: hero-reveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

/* Title */
.hero-title {
  font-family: var(--cc-font-serif);
  font-size: clamp(2.6rem, 5.5vw, 5rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
  line-height: 1.08;
  max-width: 820px;
  text-wrap: balance;
  animation: hero-reveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}

/* Subtitle */
.hero-subtitle {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  font-weight: 300;
  opacity: 0.85;
  max-width: 600px;
  margin: 0 auto 2.25rem;
  line-height: 1.7;
  animation: hero-reveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

/* Floating glass card */
.hero-float-card {
  z-index: 4;
  margin-bottom: 2.25rem;
  animation: hero-reveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.55s both;
}

.hero-float-card-inner {
  display: inline-flex;
  flex-direction: row;
  gap: 0;
  padding: 0.9rem 1.75rem;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.15);
}

.hero-float-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 1.5rem;
}

.hero-float-item:first-child {
  padding-left: 0;
}

.hero-float-item:last-child {
  padding-right: 0;
}

.hero-float-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(200,169,110,0.18);
  color: var(--cc-accent-light);
  flex-shrink: 0;
}

.hero-float-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 0.15rem;
}

.hero-float-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.55;
  margin: 0;
}

.hero-float-value {
  font-size: 1.05rem;
  font-weight: 600;
  opacity: 1;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.hero-float-divider {
  width: 1px;
  height: 38px;
  align-self: center;
  background: rgba(255,255,255,0.10);
  flex-shrink: 0;
}

/* Buttons */
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: hero-reveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.55s both;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.4rem;
  font-family: var(--cc-font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  letter-spacing: 0.01em;
}

.btn-hero-primary {
  background: linear-gradient(135deg, var(--cc-accent-dark), var(--cc-accent));
  color: var(--cc-white);
  border: none;
  box-shadow: 0 4px 20px rgba(200,169,110,0.3), 0 1px 3px rgba(0,0,0,0.1);
}
.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200,169,110,0.4), 0 2px 6px rgba(0,0,0,0.12);
}

.btn-hero-ghost {
  background: transparent;
  color: var(--cc-white);
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-hero-ghost:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.06);
  transform: translateY(-2px);
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: hero-reveal 1s cubic-bezier(0.16, 1, 0.3, 1) 1s both;
}

.hero-scroll-text {
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.4;
}

.hero-scroll-mouse {
  opacity: 0.5;
  animation: hero-scroll-bounce 2.5s ease-in-out infinite;
}

@keyframes hero-scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(6px); opacity: 0.8; }
}

@keyframes hero-reveal {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Mobile adjustments */
@media (max-width: 640px) {
  .hero-float-card {
    width: auto;
    margin-left: 1rem;
    margin-right: 1rem;
  }
  .hero-float-card-inner {
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.85rem 1.25rem;
    width: auto;
  }
  .hero-float-item {
    padding: 0.4rem 0;
    gap: 0.85rem;
  }
  .hero-float-item:first-child,
  .hero-float-item:last-child {
    padding: 0.4rem 0;
  }
  .hero-float-icon {
    width: 36px;
    height: 36px;
  }
  .hero-float-value {
    font-size: 1rem;
    font-weight: 700;
  }
  .hero-float-label {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
  }
  .hero-float-divider {
    width: 100%;
    height: 1px;
    min-height: 1px;
  }
  .hero-scroll-indicator {
    display: none;
  }
}

/* ===== QUICK CONNECT ===== */
#quick-connect.quick-connect {
  position: fixed !important;
  bottom: 1.5rem !important;
  right: 1.5rem !important;
  left: auto !important;
  top: auto !important;
  z-index: 2147483647;
  font-family: var(--cc-font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
}
.quick-connect-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem 0.65rem 1rem;
  background: #fff;
  color: #111;
  border: none;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.06);
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 2;
  opacity: 1;
  transform: scale(1) translateY(0);
}
.quick-connect-toggle:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.qc-open .quick-connect-toggle {
  opacity: 0;
  transform: scale(0.9);
  pointer-events: none;
}
.quick-connect-body {
  display: none;
  position: absolute;
  bottom: 0;
  right: 0;
  width: 360px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.04), 0 12px 48px rgba(0,0,0,0.1);
  padding: 1.25rem 1.5rem 1.5rem;
  animation: qc-appear 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: bottom right;
}
.qc-open .quick-connect-body {
  display: block;
}
@keyframes qc-appear {
  from { opacity: 0; transform: scale(0.95) translateY(6px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.qc-handle {
  width: 32px;
  height: 4px;
  background: rgba(0,0,0,0.08);
  border-radius: 4px;
  margin: 0 auto 0.65rem;
}
.qc-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: rgba(0,0,0,0.15);
  cursor: pointer;
  transition: all 0.2s;
}
.qc-close:hover {
  background: rgba(0,0,0,0.04);
  color: rgba(0,0,0,0.5);
}
.qc-heading {
  margin: 0.25rem 0 0.15rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #111;
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.qc-desc {
  margin: 0 0 1.1rem;
  font-size: 0.78rem;
  color: rgba(0,0,0,0.32);
  line-height: 1.4;
}
.qc-field {
  display: block;
  position: relative;
  margin-bottom: 0.7rem;
}
.qc-hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
  margin: 0;
  pointer-events: none;
}
.qc-field input,
.qc-field textarea {
  width: 100%;
  padding: 0.82rem 1rem;
  font-size: 0.87rem;
  font-family: var(--cc-font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  color: #111;
  background: #f5f5f7;
  border: 1.5px solid transparent;
  border-radius: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  box-sizing: border-box;
  line-height: 1.3;
  resize: vertical;
  min-height: 42px;
}
.qc-field input::placeholder,
.qc-field textarea::placeholder {
  color: rgba(0,0,0,0.25);
  font-weight: 400;
}
.qc-field input:focus,
.qc-field textarea:focus {
  border-color: var(--cc-accent, #c8a96e);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(200,169,110,0.1);
}
.qc-field input.qc-valid {
  border-color: transparent;
  background: #f5f8f5;
}
.qc-field input.qc-invalid {
  border-color: #e53935;
  background: #fdf7f7;
}
.qc-error {
  display: block;
  font-size: 0.65rem;
  color: #e53935;
  margin-top: 0;
  min-height: 0;
  line-height: 1.3;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), margin 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding-left: 0.2rem;
  text-align: left;
  pointer-events: none;
}
.qc-error.qc-visible {
  opacity: 1;
  transform: translateY(0);
  margin-top: 0.2rem;
}
.qc-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem;
  font-size: 0.85rem;
  font-weight: 500;
  font-family: var(--cc-font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  color: #fff;
  background: #111;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  margin-top: 0.3rem;
  letter-spacing: -0.01em;
}
.qc-submit svg {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.qc-submit:hover:not(:disabled) svg {
  transform: translate(3px, -3px);
}
.qc-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.qc-submit:active:not(:disabled) {
  transform: translateY(0);
}
.qc-submit:disabled {
  opacity: 0.2;
  cursor: not-allowed;
}
.qc-status {
  display: block;
  font-size: 0.77rem;
  margin-top: 0.45rem;
  text-align: center;
  min-height: 1.2em;
  font-weight: 500;
}
.qc-status.qc-success {
  color: #2e7d32;
}
.qc-status.qc-error {
  color: #e53935;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.875rem 2.5rem;
  font-family: var(--cc-font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: var(--cc-radius-sm);
  transition: all var(--cc-transition);
  cursor: pointer;
  border: 2px solid transparent;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--cc-transition);
}

.btn:hover::after {
  opacity: 1;
}

.btn-primary {
  background: var(--cc-accent);
  color: var(--cc-white);
  border-color: var(--cc-accent);
}

.btn-primary:hover {
  background: var(--cc-accent-dark);
  border-color: var(--cc-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,169,110,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--cc-white);
  border-color: rgba(255,255,255,0.5);
}

.btn-outline:hover {
  background: var(--cc-white);
  color: var(--cc-primary);
  border-color: var(--cc-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.btn-dark {
  background: var(--cc-primary);
  color: var(--cc-white);
  border-color: var(--cc-primary);
}

.btn-dark:hover {
  background: #243b4f;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,42,58,0.3);
}

/* ===== SECTIONS ===== */
.section {
  padding: 6rem 1.5rem;
}

.section-dark {
  background: var(--cc-primary);
  color: var(--cc-white);
}

.section-light {
  background: var(--cc-light);
}

.section-events-bg {
  background: #f4f2ed;
}

.section-sermons-bg {
  background: #f0f2f5;
}

.section-sm {
  padding: 4rem 1.5rem;
}

.section-title {
  font-family: var(--cc-font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  text-align: center;
  margin-bottom: 0.75rem;
  line-height: 1.2;
  animation: cc-fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.section-title-divider {
  width: 60px;
  height: 3px;
  background: var(--cc-accent);
  border-radius: 2px;
  margin: 0.75rem auto 0;
  animation: cc-scaleIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

.section-subtitle {
  text-align: center;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 300;
  color: #666;
  line-height: 1.7;
  margin: 0.5rem auto 3.5rem;
  animation: cc-fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

@media (prefers-reduced-motion: reduce) {
  .section-title,
  .section-title-divider,
  .section-subtitle,
  .hero-badge,
  .hero-title,
  .hero-section .hero-subtitle,
  .hero-section .hero-buttons,
  .hero-section .hero-scroll-indicator,
  .hero-float-card,
  .cc-card,
  .card,
  .about-hero-badge,
  .about-narrative-tag,
  .about-highlight-card,
  .about-belief-card,
  .about-invite-card,
  .contact-section .btn-primary {
    animation: none !important;
  }
}

.section-dark .section-subtitle {
  color: rgba(255,255,255,0.55);
}

.section-with-bg {
  background-attachment: fixed;
}

@media (max-width: 768px) {
  .section-with-bg {
    background-attachment: scroll !important;
  }
}

/* ===== CARDS ===== */
.card {
  background: var(--cc-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  animation: cc-fadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-family: var(--cc-font-serif);
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.card-meta {
  color: var(--cc-accent);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.card-excerpt {
  color: var(--cc-gray);
  font-size: 0.95rem;
  line-height: 1.7;
  flex: 1;
}

.card-footer {
  padding: 0 1.75rem 1.75rem;
  margin-top: auto;
}

.card-link {
  color: var(--cc-accent);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.2s;
}

.card-link:hover {
  gap: 0.6rem;
}

/* ===== GRID ===== */

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

/* Tablet / medium screens */
@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 1.5rem;
    }
}

/* Mobile / small screens */
@media (max-width: 576px) {
    .team-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem;
    }
}
.grid {
  display: grid;
  gap: 2rem;
}

.grid-3,
.cc-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .grid-3,
  .cc-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .grid-3,
  .cc-grid-3 {
    grid-template-columns: 1fr;
  }
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== CARD SYSTEM ===== */
.cc-grid {
  display: grid;
  gap: 1.75rem;
}

.cc-card {
  text-decoration: none;
  color: inherit;
  background: var(--cc-white);
  border-radius: var(--cc-radius);
  overflow: hidden;
  box-shadow: var(--cc-shadow-sm);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0,0,0,0.04);
  animation: cc-fadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cc-card:nth-child(2) { animation-delay: 0.08s; }
.cc-card:nth-child(3) { animation-delay: 0.16s; }
.cc-card:nth-child(4) { animation-delay: 0.24s; }
.cc-card:nth-child(5) { animation-delay: 0.32s; }
.cc-card:nth-child(6) { animation-delay: 0.4s; }
.cc-card:nth-child(7) { animation-delay: 0.48s; }
.cc-card:nth-child(8) { animation-delay: 0.56s; }

.cc-card-static {
  transform: none !important;
}

.cc-card-static:hover {
  box-shadow: var(--cc-shadow-lg);
}

.cc-card-img-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: var(--cc-light);
}

.cc-card-bg-wrap {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.cc-card-img-src {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.cc-card:hover .cc-card-img-src {
  transform: scale(1.05);
}

.cc-card-img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  background: var(--cc-accent);
  color: var(--cc-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  padding: 0.6rem 0.8rem;
  border-radius: 0 14px 0 0;
}

.cc-img-day {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  font-family: var(--cc-font-serif);
}

.cc-img-month {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.15rem;
  opacity: 0.9;
}

.cc-img-series {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.cc-card-img-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cc-img-title {
  font-family: var(--cc-font-sans);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  line-height: 1.3;
  color: var(--cc-primary);
}

.cc-img-title-home {
  font-size: 1.35rem;
}

.cc-img-content {
  color: var(--cc-gray);
  font-size: 0.88rem;
  line-height: 1.6;
  flex: 1;
}
.cc-img-content p {
  margin: 0 0 0.6em;
}
.cc-img-content p:last-child {
  margin-bottom: 0;
}

.cc-img-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--cc-primary);
}

.cc-img-meta-time {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.cc-img-meta-location {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--cc-accent);
  font-weight: 600;
}

.cc-recur-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--cc-accent-light);
  color: var(--cc-accent);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
}

.cc-img-meta-row svg,
.cc-sermon-meta svg {
  flex-shrink: 0;
  vertical-align: middle;
}

/* ===== SERMON CARD EXTENSIONS ===== */
.cc-card-media-badges {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: flex;
  gap: 0.4rem;
}

.cc-media-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  color: var(--cc-white);
}

.cc-media-video {
  background: #e74c3c;
}

.cc-media-audio {
  background: var(--cc-primary);
}

.cc-sermon-series {
  display: inline-block;
  background: var(--cc-accent);
  color: var(--cc-white);
  padding: 0.25rem 0.85rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.6rem;
  align-self: flex-start;
}

.cc-sermon-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 0.75rem;
  font-size: 0.82rem;
  color: var(--cc-gray);
}

.cc-sermon-speaker,
.cc-sermon-date {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* ===== ABOUT WOW SECTION ===== */
.about-wow {
  padding: 5rem 0;
  background: var(--cc-white);
}
.about-wow-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-wow-image {
  position: relative;
}
.about-wow-image img {
  width: 100%;
  height: 550px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 24px 48px rgba(0,0,0,0.12);
  position: relative;
  z-index: 2;
}
.about-wow-image-accent {
  position: absolute;
  top: -16px;
  left: -16px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--cc-accent);
  border-radius: 20px;
  z-index: 1;
  opacity: 0.3;
}
.about-wow-content {
  text-align: left;
}
.about-wow-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--cc-accent);
  background: rgba(200,169,110,0.12);
  padding: 0.4rem 1.2rem;
  border-radius: 100px;
  margin-bottom: 1.2rem;
}
.about-wow-content h2 {
  font-family: var(--cc-font-serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--cc-primary);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}
.about-wow-text p, div.about-wow-text  {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
    font-weight: 300;
    color: #666;
    line-height: 1.7;
    margin: 0 auto 1.5rem;
}
.about-wow-text p:last-child {
  margin-bottom: 0;
}
.about-wow-btn {
  margin-top: 0.5rem;
}

/* ===== PAGE HEADER ===== */
.page-header {
  background: var(--cc-primary);
  background-size: cover !important;
  color: var(--cc-white);
  padding: 10rem 1.5rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}



.page-header > * {
  position: relative;
  z-index: 2;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--cc-accent);
  border-radius: 2px;
  z-index: 2;
}

.page-header h1 {
  font-family: var(--cc-font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 0.75rem;
  line-height: 1.15;
}

.page-header p {
  color: rgba(255,255,255,0.65);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ===== SINGLE CONTENT ===== */
.single-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.single-content .featured-image {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 2.5rem;
}

.single-content .meta {
  color: var(--cc-accent);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.single-content h1 {
  font-family: var(--cc-font-serif);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.single-content .content-body {
  line-height: 1.8;
  color: var(--cc-gray);
  font-size: 1.05rem;
}

.single-content .content-body p {
  margin-bottom: 1.5rem;
}

/* Sermon player */
.sermon-player {
  background: var(--cc-light);
  border-radius: 12px;
  padding: 2rem;
  margin: 2.5rem 0;
}

.sermon-player h4 {
  font-family: var(--cc-font-serif);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.sermon-player audio {
  width: 100%;
  border-radius: 6px;
}

/* Giving page */
.giving-content {
  line-height: 1.8;
  color: var(--cc-gray);
  font-size: 1.05rem;
}

.giving-content p {
  margin-bottom: 1.5rem;
}

.giving-content h1,
.giving-content h2,
.giving-content h3,
.giving-content h4,
.giving-content h5,
.giving-content h6 {
  font-family: var(--cc-font-serif);
  color: var(--cc-primary);
  margin-top: 2rem;
  margin-bottom: 1rem;
  line-height: 1.25;
}

.giving-content h2 { font-size: 1.75rem; }
.giving-content h3 { font-size: 1.35rem; }

.giving-content ul,
.giving-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.giving-content li {
  margin-bottom: 0.5rem;
}

.giving-content a {
  color: var(--cc-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.giving-content a:hover {
  color: var(--cc-accent-dark);
}

.giving-content img {
  border-radius: var(--cc-radius);
  margin: 2rem auto;
}

.giving-content blockquote {
  border-left: 3px solid var(--cc-accent);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--cc-primary);
}

.giving-content strong {
  color: var(--cc-primary);
}

/* Event meta box */
.event-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  padding: 2rem;
  background: var(--cc-light);
  border-radius: 12px;
}

.event-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.event-meta-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--cc-accent);
  font-weight: 600;
}

.event-meta-value {
  font-weight: 500;
}

/* ===== FOOTER ===== */
.site-footer {
  position: relative;
  background: #16222e;
  color: rgba(255,255,255,0.75);
  padding: 4.5rem 1.5rem 0;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 800px 600px at 0% 100%, rgba(200,169,110,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 500px 400px at 100% 0%, rgba(200,169,110,0.04) 0%, transparent 70%);
}
.site-footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,169,110,0.4), transparent);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 4rem;
  position: relative;
  z-index: 1;
}

.footer-brand-logo {
  margin-bottom: 1.25rem;
}

.footer-brand-logo img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.footer-brand-name {
  font-family: var(--cc-font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 0.15rem;
  letter-spacing: -0.02em;
  color: #fff;
}

.footer-brand-location {
  font-size: 0.85rem;
  color: var(--cc-accent-light);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  margin: 0 0 1.25rem;
}

.footer-brand-desc {
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  font-size: 0.92rem;
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.75rem;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
  cursor: pointer;
}

.footer-social-link:hover {
  background: var(--cc-accent);
  color: #fff;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 20px rgba(200,169,110,0.25);
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.footer-col-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cc-accent-light);
  font-family: var(--cc-font-sans);
  font-weight: 600;
  margin: 0 0 1.25rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-col ul li {
  font-size: 0.88rem;
  line-height: 1.5;
}

.footer-col ul a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  position: relative;
  cursor: pointer;
}

.footer-col ul a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--cc-accent-light);
  transition: width 0.3s ease;
}

.footer-col ul a:hover {
  color: var(--cc-accent-light);
  transform: translateX(4px);
}

.footer-col ul a:hover::after {
  width: 100%;
}

.footer-visit-line {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.7);
}

.footer-visit-line svg {
  flex-shrink: 0;
  color: var(--cc-accent-light);
  opacity: 0.7;
}

.footer-directions-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: rgba(200,169,110,0.12);
  border: 1px solid rgba(200,169,110,0.25);
  border-radius: 8px;
  color: var(--cc-accent-light) !important;
  font-size: 0.82rem;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
}

.footer-directions-btn:hover {
  background: var(--cc-accent);
  color: #fff !important;
  border-color: var(--cc-accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(200,169,110,0.2);
}

.footer-directions-btn:hover::after {
  width: 0 !important;
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.7) !important;
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.25s;
  cursor: pointer;
}

.footer-contact-link svg {
  flex-shrink: 0;
  color: var(--cc-accent-light);
  opacity: 0.7;
}

.footer-contact-link:hover {
  color: var(--cc-accent-light) !important;
}

.footer-cta {
  margin-top: 1.75rem;
  padding: 1.25rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
}

.footer-cta p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin: 0 0 0.85rem;
}

.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.1rem;
  background: var(--cc-accent);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
  cursor: pointer;
}

.footer-cta-btn:hover {
  background: var(--cc-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200,169,110,0.3);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 4rem;
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.footer-copy {
  color: rgba(255,255,255,0.5);
  font-size: 0.78rem;
}

.footer-bottom-sep {
  color: rgba(255,255,255,0.15);
}

.footer-tagline {
  color: rgba(255,255,255,0.4);
  font-size: 0.78rem;
  font-style: italic;
}

.footer-credit {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.footer-credit a {
  color: var(--cc-accent-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-credit a:hover {
  color: var(--cc-accent);
  text-decoration: underline;
}

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .footer-col-wide {
    grid-column: span 2;
  }
}

@media (max-width: 540px) {
  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-col-wide {
    grid-column: span 1;
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 0.25rem;
  }

  .footer-bottom-sep {
    display: none;
  }
}

/* ===== ABOUT PAGE ===== */

/* Hero badge (shared with contact) */
.about-hero-badge,
.contact-hero-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  border: 1px solid rgba(200,169,110,0.3);
  border-radius: 100px;
  color: var(--cc-accent);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  background: rgba(200,169,110,0.08);
  animation: cc-fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.about-hero,
.contact-hero {
  background: var(--cc-primary);
  background-size: cover !important;
  text-align: center;
}

.about-hero::before,
.contact-hero::before {
  display: none;
}

.about-hero::after,
.contact-hero::after {
  display: none;
}

/* Narrative section */
.about-narrative {
  padding: 6rem 1.5rem;
}

.about-narrative-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.about-narrative-tag {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cc-accent);
  font-weight: 600;
  margin-bottom: 1rem;
  animation: cc-fadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.cc-rich-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--cc-gray);
}
.cc-rich-content > :last-child {
  margin-bottom: 0;
}
.cc-rich-content p {
  margin: 0 0 1.2rem;
}
.cc-rich-content h1,
.cc-rich-content h2,
.cc-rich-content h3,
.cc-rich-content h4 {
  font-family: var(--cc-font-serif);
  color: var(--cc-primary);
  margin: 1.5rem 0 0.75rem;
  line-height: 1.3;
}
.cc-rich-content a {
  color: var(--cc-accent);
  text-decoration: underline;
}
.cc-rich-content ul,
.cc-rich-content ol {
  margin: 0 0 1.2rem 1.5rem;
}
.cc-rich-content li {
  margin-bottom: 0.4rem;
}

.about-narrative-main h2 {
  font-family: var(--cc-font-serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--cc-primary);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}

.about-narrative-text p {
  color: var(--cc-gray);
  line-height: 1.85;
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

.about-narrative-text p:last-child {
  margin-bottom: 0;
}

/* Pull quote sidebar */
.about-pullquote {
  background: linear-gradient(135deg, var(--cc-primary) 0%, #0f1b26 100%);
  border-radius: var(--cc-radius);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
}

.about-pullquote::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(200,169,110,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.about-pullquote-mark {
  font-family: var(--cc-font-serif);
  font-size: 4rem;
  line-height: 1;
  color: var(--cc-accent);
  opacity: 0.4;
  margin-bottom: -0.5rem;
}

.about-pullquote p {
  color: rgba(255,255,255,0.85);
  line-height: 1.75;
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 1.25rem;
}

.about-pullquote-source {
  color: rgba(200,169,110,0.6);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}

/* Highlight cards */
.about-highlight-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.about-highlight-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 1rem;
  background: var(--cc-light);
  border-radius: var(--cc-radius-sm);
  text-align: center;
  border: 1px solid rgba(0,0,0,0.03);
  animation: cc-fadeUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.about-highlight-card:nth-child(2) { animation-delay: 0.08s; }
.about-highlight-card:nth-child(3) { animation-delay: 0.16s; }
.about-highlight-card:nth-child(4) { animation-delay: 0.24s; }

.about-highlight-number {
  color: var(--cc-accent);
  opacity: 0.7;
  display: flex;
}

.about-highlight-card span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cc-primary);
  line-height: 1.3;
}

/* Beliefs section */
.about-beliefs {
  background: linear-gradient(180deg, var(--cc-light) 0%, var(--cc-white) 100%);
  padding: 6rem 1.5rem;
}

.about-beliefs-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.about-beliefs-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: rgba(200,169,110,0.1);
  border-radius: 100px;
  color: var(--cc-accent);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 1rem;
}

.about-beliefs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.about-belief-card {
  background: var(--cc-white);
  border-radius: var(--cc-radius);
  padding: 2.5rem 2rem;
  text-align: center;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: var(--cc-shadow-sm);
  position: relative;
  overflow: hidden;
  animation: cc-fadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.about-belief-card:nth-child(2) { animation-delay: 0.08s; }
.about-belief-card:nth-child(3) { animation-delay: 0.16s; }

.about-belief-number {
  font-family: var(--cc-font-serif);
  font-size: 3rem;
  color: rgba(200,169,110,0.12);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.04em;
}

.about-belief-icon-wrap {
  margin-bottom: 1.25rem;
  color: var(--cc-accent);
}

.about-belief-card h3 {
  font-family: var(--cc-font-serif);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--cc-primary);
}

.about-belief-card p {
  color: var(--cc-gray);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Values section */
.about-values {
  padding: 6rem 1.5rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.value-card {
  background: var(--cc-white);
  border-radius: var(--cc-radius);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--cc-shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.value-card:hover {
  box-shadow: var(--cc-shadow);
  transform: translateY(-4px);
}

.value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(200, 169, 110, 0.1);
  color: var(--cc-accent);
  margin-bottom: 1.25rem;
}

.value-title {
  font-family: var(--cc-font-serif);
  font-size: 1.15rem;
  line-height: 1.35;
  margin-bottom: 0.75rem;
  color: var(--cc-primary);
}

.value-text {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--cc-text-secondary);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cc-accent);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

/* Invite CTA */
.about-invite {
  padding: 6rem 1.5rem;
  background: var(--cc-light);
}

.about-invite-card {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  background: var(--cc-primary);
  border-radius: 20px;
  padding: 4rem 3rem;
  position: relative;
  overflow: hidden;
  animation: cc-fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

.about-invite-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(200,169,110,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.about-invite-badge {
  display: inline-block;
  position: relative;
  z-index: 1;
  padding: 0.35rem 1rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.about-invite-title {
  position: relative;
  z-index: 1;
  font-family: var(--cc-font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--cc-white);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.about-invite-text {
  position: relative;
  z-index: 1;
  color: rgba(255,255,255,0.65);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto 2rem;
}

.about-invite-card .btn-primary {
  position: relative;
  z-index: 1;
}

/* Map */
.about-map-container {
  width: 100%;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.about-map-container img,
.contact-map img {
  max-width: none;
}

.about-map-container iframe,
.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Remove old about-stream classes */
.about-stream,
.about-stream p,
.about-stream-lead,
.about-stream-questions,
.about-stream-questions p,
.about-stream-questions p:last-child,
.about-stream-invite {
  display: none;
}

.section-cta {
  background: linear-gradient(135deg, var(--cc-primary) 0%, var(--cc-accent-dark) 100%);
  color: var(--cc-white);
}

.cta-title {
  font-family: var(--cc-font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.75rem;
  line-height: 1.2;
  animation: cc-fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cta-text {
  font-size: 1.15rem;
  opacity: 0.85;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  animation: cc-fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.cta-content .btn {
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
  animation: cc-fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

/* ===== CONTACT PAGE ===== */

/* Contact section */
.contact-section {
  padding: 6rem 1.5rem;
  background: var(--cc-light);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.contact-info-tag {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cc-accent);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.contact-info h2 {
  font-family: var(--cc-font-serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--cc-primary);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.contact-info-text {
  color: var(--cc-gray);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 400px;
}

.contact-phone-number {
  font-weight: 600;
  color: var(--cc-primary);
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info-card {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1.5rem;
  background: var(--cc-white);
  border-radius: var(--cc-radius);
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: var(--cc-shadow-sm);
}

.contact-info-card-icon {
  position: relative;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cc-accent);
}

.contact-info-card-bg {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: var(--cc-accent-light);
  opacity: 0.3;
}

.contact-info-card-icon svg {
  position: relative;
  z-index: 1;
}

.contact-info-card h4 {
  font-family: var(--cc-font-serif);
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
  color: var(--cc-primary);
}

.contact-info-card p {
  color: var(--cc-gray);
  font-size: 0.85rem;
  line-height: 1.5;
}

.contact-info-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.4rem;
  color: var(--cc-accent);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.contact-info-link:hover {
  color: var(--cc-accent-dark);
}

/* Form card */
.contact-form-wrap {
  position: sticky;
  top: 6rem;
}

.contact-form-card {
  background: var(--cc-primary);
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.contact-form-glow {
  position: absolute;
  top: -30%;
  right: -20%;
  width: 70%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(200,169,110,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.contact-form-card h3 {
  position: relative;
  z-index: 1;
  font-family: var(--cc-font-serif);
  font-size: 1.6rem;
  color: var(--cc-white);
  margin-bottom: 0.5rem;
}

.contact-form-card > p {
  position: relative;
  z-index: 1;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
}

.contact-form {
  position: relative;
  z-index: 1;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-form-field {
  margin-bottom: 1rem;
}

.contact-form-field label {
  display: block;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
}

.contact-form-field input,
.contact-form-field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--cc-radius-sm);
  color: var(--cc-white);
  font-family: var(--cc-font-sans);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.contact-form-field input:focus,
.contact-form-field textarea:focus {
  border-color: var(--cc-accent);
}

.contact-form-field input::placeholder,
.contact-form-field textarea::placeholder {
  color: rgba(255,255,255,0.2);
}

.contact-form-field textarea {
  resize: vertical;
}

.contact-form .btn-block {
  width: 100%;
  justify-content: center;
}

.contact-form .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--cc-transition);
  position: relative;
}

.contact-form .btn-primary:not(:disabled):hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,169,110,0.3);
}

.contact-form .btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.contact-form-feedback {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--cc-radius-sm);
  font-size: 0.9rem;
  line-height: 1.5;
  display: none;
}

.contact-form-feedback.success {
  display: block;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  color: #22c55e;
}

.contact-form-feedback.error {
  display: block;
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.3);
  color: #ef4444;
}

.contact-form-feedback p {
  margin: 0;
}

/* Map section */
.contact-map-section {
  padding: 6rem 1.5rem;
}

.contact-map {
  width: 100%;
  height: 420px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--cc-shadow-lg);
  margin-top: 2rem;
}

/* ===== SCROLL-ENTRY ANIMATIONS ===== */
.cc-fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.cc-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.cc-fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.cc-fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.cc-fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.cc-fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.cc-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cc-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.cc-stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.cc-stagger.visible > *:nth-child(3) { transition-delay: 0.15s; }
.cc-stagger.visible > *:nth-child(4) { transition-delay: 0.2s; }
.cc-stagger.visible > *:nth-child(5) { transition-delay: 0.25s; }
.cc-stagger.visible > *:nth-child(6) { transition-delay: 0.3s; }

.cc-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ===== PAGINATION ===== */
.pagination-nav {
  text-align: center;
  margin-top: 3rem;
}

.pagination-nav .page-numbers {
  display: inline-block;
  padding: 0.5rem 1rem;
  margin: 0 0.2rem;
  background: var(--cc-light);
  color: var(--cc-primary);
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.2s, color 0.2s;
}

.pagination-nav .page-numbers.current {
  background: var(--cc-accent);
  color: var(--cc-white);
}

.pagination-nav .page-numbers:hover {
  background: var(--cc-accent);
  color: var(--cc-white);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .site-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .about-wow-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-wow-image img {
    height: 320px;
  }
  .about-wow-image-accent {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: 1;
  }

  .footer-bottom-sep {
    display: none;
  }

  .section {
    padding: 4rem 1.5rem;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .event-card {
    flex-direction: column;
  }

  .event-card .event-date-block {
    flex-direction: row;
    gap: 0.5rem;
    min-width: auto;
    padding: 0.75rem;
  }

  .event-card .event-day {
    font-size: 1.3rem;
  }

  .page-header {
    padding: 8rem 1.5rem 4rem;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-narrative-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-beliefs-grid {
    grid-template-columns: 1fr;
  }

  .about-highlight-cards {
    grid-template-columns: 1fr 1fr;
  }

  .about-invite-card {
    padding: 3rem 1.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-form-row {
    grid-template-columns: 1fr;
  }

  .contact-map-wrap {
    position: static;
  }

  .about-map-container,
  .contact-map {
    height: 300px;
  }
}

@media (max-width: 640px) {
  .hero-buttons {
    flex-direction: row;
    align-items: center;
  }

  .hero-section {
    min-height: 92vh;
  }
  .btn-hero {
    width: 100%;
  }

  .grid-3,
  .cc-grid-3 {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .about-highlight-cards {
    grid-template-columns: 1fr;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }
}

/* ===== SERMON META PREMIUM ===== */
.sermon-meta-premium {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--cc-gray-light);
}

.sermon-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.3;
}

.sermon-meta-speaker {
  background: rgba(200,169,110,0.12);
  color: var(--cc-accent-dark);
}

.sermon-meta-passage {
  background: rgba(26,42,58,0.06);
  color: var(--cc-primary);
}

.sermon-meta-badge svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.team-section {
  padding: 5rem 0;
  background: var(--cc-white);
}

.team-role-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cc-accent);
  margin-bottom: 0.5rem;
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--cc-accent-light);
  border-radius: 100px;
}


.team-card {
  background: var(--cc-white);
  border-radius: var(--cc-radius);
  box-shadow: var(--cc-shadow-sm);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.04);
}

.team-card-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--cc-light);
  contain: layout size;
}

.team-card-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

.team-card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--cc-accent-light) 0%, var(--cc-accent) 100%);
}

.team-card-img-placeholder span {
  font-family: var(--cc-font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--cc-white);
  line-height: 1;
}

.team-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.team-card-name {
  font-family: var(--cc-font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--cc-primary);
  margin: 0 0 0.2rem;
}

.team-card-role {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--cc-accent-dark);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.team-card-desc {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--cc-gray);
  margin: 0;
}

@media (max-width: 640px) {
  #quick-connect.quick-connect {
    left: 1rem !important;
    right: 1rem !important;
    bottom: 1rem !important;
  }
  .quick-connect-toggle {
    width: 100%;
    justify-content: center;
  }
  .quick-connect-body {
    width: auto;
    left: 0;
    right: 0;
  }
  .qc-close {
    width: 32px;
    height: 32px;
    background: rgba(0,0,0,0.06);
    color: rgba(0,0,0,0.6);
    border-radius: 50%;
  }
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* ===== PREMIUM UI REFINEMENTS ===== */

/* Page reveal */
body { opacity: 0; animation: cc-pageFadeIn 0.6s ease 0.1s forwards; }
@keyframes cc-pageFadeIn { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { body { opacity: 1; animation: none; } }

/* Glass morphism utility */
.glass {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid rgba(255,255,255,0.12);
}

/* Enhanced card hover */
.cc-card {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              border-color 0.3s ease;
}
.cc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.06);
  border-color: rgba(200,169,110,0.15);
}
.cc-card:hover .cc-card-img-src {
  transform: scale(1.06);
}
.cc-card-img-wrap {
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.cc-card:hover .cc-card-img-wrap {
  filter: brightness(1.02) saturate(1.05);
}
.cc-card:hover .cc-img-title {
  color: var(--cc-accent-dark);
}
.cc-img-title {
  transition: color 0.3s ease;
}

/* Smooth section backgrounds */
.section {
  position: relative;
}
.section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* About page refinements */
.about-hero .about-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.2rem;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: 1.5rem;
}

/* Sermon card theme */
.sermon-card {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.sermon-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.1);
}

/* Enhanced team cards */
.team-card {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              border-color 0.3s ease;
  border: 1px solid rgba(0,0,0,0.04);
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.06);
  border-color: rgba(200,169,110,0.2);
}
.team-card-img img {
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.team-card:hover .team-card-img img {
  transform: scale(1.05);
}

/* Premium section dividers */
.section-title-divider {
  position: relative;
  overflow: visible;
}
.section-title-divider::before,
.section-title-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40px;
  height: 1px;
  background: rgba(200,169,110,0.2);
}
.section-title-divider::before { right: calc(100% + 10px); }
.section-title-divider::after  { left: calc(100% + 10px); }

/* Value cards */
.value-card {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.08);
}
.value-icon {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              color 0.3s ease;
}
.value-card:hover .value-icon {
  transform: scale(1.1);
  color: var(--cc-accent-dark);
}

/* Pagination */
.pagination-nav {
  text-align: center;
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}
.pagination-nav a,
.pagination-nav span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.pagination-nav a {
  color: var(--cc-primary);
  background: transparent;
  border: 1px solid rgba(0,0,0,0.08);
}
.pagination-nav a:hover {
  background: var(--cc-accent);
  color: var(--cc-white);
  border-color: var(--cc-accent);
  transform: translateY(-2px);
}
.pagination-nav span.current {
  background: var(--cc-accent);
  color: var(--cc-white);
  border: 1px solid var(--cc-accent);
}

/* Mobile refinements */
@media (max-width: 640px) {
  .section { padding: 4rem 1rem; }
  .section-title { font-size: clamp(1.6rem, 6vw, 2rem); }
  .page-header { padding: 8rem 1rem 4rem; }
  .page-header h1 { font-size: clamp(2rem, 7vw, 2.8rem); }
  .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-links { grid-template-columns: 1fr; gap: 1.5rem; }
  .about-wow-inner { grid-template-columns: 1fr; gap: 2rem; }
  .about-wow-image img { height: 320px; }
  .contact-layout { grid-template-columns: 1fr; }
  .hero-float-card-inner { flex-direction: column; }
}
@media (max-width: 768px) {
  .footer-links { grid-template-columns: 1fr; gap: 2rem; }
  .about-wow-inner { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
}

/* Card image overlay schedule badge */
.cc-card-img-overlay .cc-img-series {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* Smooth scroll */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
