/* One Voice One Worship — shared stylesheet */

:root {
  --navy-950: #0A1628;
  --navy-900: #0F213E;
  --navy-800: #152A4A;
  --navy-700: #1C365C;
  --gold-600: #D4AF37;
  --gold-400: #E8C766;
  --gold-200: #F3DFA2;
  --ivory: #F7F3EA;
  --ivory-muted: #C9C2B2;
  --ivory-dim: rgba(247, 243, 234, 0.68);
  --line: rgba(212, 175, 55, 0.22);
  --danger: #E8A0A0;
  --success: #C8E6C0;
  --font-display: "Playfair Display", "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --header-h: 5.25rem;
  --radius: 1.15rem;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 72rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ivory);
  background: var(--navy-950);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-400); text-decoration: none; }
a:hover { color: var(--gold-200); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  background: var(--gold-600);
  color: var(--navy-950);
  padding: 0.6rem 1rem;
  border-radius: 0.4rem;
  font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(10, 22, 40, 0.52);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), height 0.35s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(10, 22, 40, 0.88);
  border-bottom-color: var(--line);
  height: 4.4rem;
}
.header-inner {
  width: min(100% - 2.5rem, 80rem);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--ivory);
}
.wordmark:hover { color: var(--ivory); }
.emblem {
  width: 2.35rem;
  height: 2.35rem;
  flex-shrink: 0;
}
.wordmark-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.wordmark-text strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.12em;
}
.wordmark-text span {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--gold-400);
  letter-spacing: 0.28em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.85rem;
}
.nav a {
  color: var(--ivory);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
}
.nav a:hover,
.nav a[aria-current="page"] { color: var(--gold-200); }
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 1px;
  background: var(--gold-600);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav a:not(.btn):hover::after,
.nav a[aria-current="page"]:not(.btn)::after { transform: scaleX(1); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn:hover { transform: translateY(-1px); color: var(--navy-950); }
.btn-gold {
  background: linear-gradient(180deg, var(--gold-400), var(--gold-600));
  color: var(--navy-950);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.22);
}
.btn-gold:hover { background: var(--gold-200); color: var(--navy-950); }
.btn-outline {
  background: transparent;
  border-color: rgba(243, 223, 162, 0.55);
  color: var(--ivory);
}
.btn-outline:hover {
  background: rgba(243, 223, 162, 0.1);
  color: var(--gold-200);
  border-color: var(--gold-400);
}

.menu-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: rgba(15, 33, 62, 0.6);
  padding: 0;
  align-items: center;
  justify-content: center;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 1.15rem;
  height: 1.5px;
  background: var(--ivory);
  position: relative;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: end stretch;
  overflow: hidden;
  color: var(--ivory);
}
.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 22, 40, 0.42) 0%, rgba(10, 22, 40, 0.55) 42%, rgba(10, 22, 40, 0.88) 78%, var(--navy-950) 100%),
    linear-gradient(90deg, rgba(10, 22, 40, 0.55), rgba(212, 175, 55, 0.08) 55%, rgba(10, 22, 40, 0.4));
}
.hero__content {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 8.5rem 0 5.5rem;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--gold-400);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin: 0 0 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: var(--gold-600);
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(3rem, 7.4vw, 6.35rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
  max-width: 14ch;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-200);
  font-weight: 500;
}
.hero__tagline {
  max-width: 38rem;
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  color: var(--ivory-dim);
  margin: 0 0 2.15rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* Sections */
.section {
  padding: 6.25rem 0;
  position: relative;
}
.section-inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}
.section-head {
  max-width: 40rem;
  margin-bottom: 3rem;
}
.section h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.15rem, 4.2vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0.35rem 0 1rem;
}
.lead { color: var(--ivory-dim); margin: 0; font-size: 1.08rem; }
.gold-rule {
  width: 3.25rem;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-600), transparent);
  border: 0;
  margin: 0 0 1.1rem;
}

/* About */
.about {
  background:
    radial-gradient(ellipse at 80% 0%, rgba(212, 175, 55, 0.07), transparent 50%),
    var(--navy-950);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}
.about-photo {
  position: relative;
  border-radius: 1.4rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.about-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(243, 223, 162, 0.18);
  border-radius: inherit;
  pointer-events: none;
}
.about-copy p { color: var(--ivory-dim); margin: 0 0 1.1rem; }
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.25rem;
}
.pillar {
  background: var(--navy-900);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.15rem 1.35rem;
  min-height: 100%;
}
.pillar-num {
  display: block;
  color: var(--gold-600);
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.55rem;
}
.pillar h3 {
  margin: 0 0 0.45rem;
  font-size: 1.02rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.pillar p {
  margin: 0;
  color: var(--ivory-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Cities */
.cities {
  background: linear-gradient(180deg, var(--navy-950), var(--navy-900) 40%, var(--navy-950));
}
.city-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
.city-card {
  position: relative;
  overflow: hidden;
  background: var(--navy-800);
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  padding: 1.6rem 1.4rem 1.45rem;
  min-height: 10.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.city-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-600), var(--gold-200));
  transform: scaleX(0.28);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.city-card:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 199, 102, 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}
.city-card:hover::before { transform: scaleX(1); }
.city-name {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  margin: 0 0 0.2rem;
  letter-spacing: -0.02em;
}
.city-country {
  margin: 0;
  color: var(--gold-400);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}
.city-note {
  margin: 0.7rem 0 0;
  color: var(--ivory-muted);
  font-size: 0.92rem;
}
.cities-cta {
  margin-top: 1.15rem;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 1.5rem;
  align-items: center;
  background:
    linear-gradient(180deg, rgba(21, 42, 74, 0.9), rgba(15, 33, 62, 0.95)),
    url("../images/global-tour.png") center/cover;
  border: 1px solid rgba(232, 199, 102, 0.35);
  border-radius: 1.3rem;
  padding: 2.1rem 2.15rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.cities-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10, 22, 40, 0.82) 0%, rgba(10, 22, 40, 0.62) 58%, rgba(10, 22, 40, 0.4) 100%);
  pointer-events: none;
}
.cities-cta > * { position: relative; z-index: 1; }
.cities-cta h3 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin: 0 0 0.55rem;
  font-weight: 600;
}
.cities-cta p { margin: 0; color: var(--ivory-dim); max-width: 38rem; }
.cities-cta .btn { justify-self: end; }

/* Submit */
.submit {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(212, 175, 55, 0.08), transparent 46%),
    var(--navy-950);
}
.submit-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.25rem;
  align-items: start;
}
.page-hero {
  padding: calc(var(--header-h) + 3.5rem) 0 2.5rem;
  background:
    linear-gradient(180deg, rgba(10, 22, 40, 0.55), rgba(10, 22, 40, 0.88)),
    url("../images/global-tour.png") center 40%/cover;
  border-bottom: 1px solid var(--line);
}
.page-hero .section-inner { padding-bottom: 1rem; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  margin: 0.3rem 0 1rem;
  line-height: 1.1;
}

.form-card {
  background: var(--navy-900);
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  padding: 1.75rem 1.65rem 1.85rem;
  box-shadow: var(--shadow);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.05rem;
}
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field-full { grid-column: 1 / -1; }
.field label,
.field-legend {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold-200);
}
.req { color: var(--gold-600); }
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--navy-950);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 0.7rem;
  padding: 0.78rem 0.9rem;
  color: var(--ivory);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 8.5rem; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: rgba(201, 194, 178, 0.55); }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: rgba(232, 199, 102, 0.45); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold-400);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: var(--danger);
}
.field-error {
  min-height: 1.05rem;
  font-size: 0.78rem;
  color: var(--danger);
}
.hint { margin: 0 0 1rem; color: var(--ivory-muted); font-size: 0.9rem; }

.types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}
.type-option { margin: 0; }
.type-option input { position: absolute; opacity: 0; pointer-events: none; }
.type-option span {
  display: block;
  text-align: center;
  padding: 0.8rem 0.5rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(212, 175, 55, 0.22);
  background: var(--navy-950);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.type-option input:checked + span {
  border-color: var(--gold-400);
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-200);
}
.type-option input:focus-visible + span {
  outline: 2px solid var(--gold-400);
  outline-offset: 2px;
}

.honeypot {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.form-actions { margin-top: 0.5rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.form-status { color: var(--ivory-muted); font-size: 0.9rem; }

.form-success {
  display: none;
  text-align: center;
  padding: 2.4rem 1.25rem;
}
.form-success.is-visible { display: block; }
.form-card.is-submitted .church-form { display: none; }
.check {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--gold-600);
  color: var(--gold-400);
}
.form-success h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 0 0 0.6rem;
}
.form-success p { color: var(--ivory-dim); margin: 0 0 1.4rem; }

/* Contact / Footer */
.contact {
  padding-bottom: 0;
  background: var(--navy-900);
  border-top: 1px solid var(--line);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 2.5rem;
  padding-bottom: 3.5rem;
}
.contact h2 { margin-bottom: 0.75rem; }
.contact-list { list-style: none; margin: 1.2rem 0 0; padding: 0; }
.contact-list li { margin: 0 0 0.85rem; }
.contact-list span {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-400);
  font-weight: 600;
  margin-bottom: 0.15rem;
}
.contact-list a { color: var(--ivory); }
.placeholder-note {
  margin: 1.15rem 0 0;
  font-size: 0.85rem;
  color: var(--ivory-muted);
}

.footer-col h3 {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-400);
}
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a { color: var(--ivory-dim); }
.footer-links li { margin: 0 0 0.55rem; }

.socials { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.socials a {
  width: 2.55rem;
  height: 2.55rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--gold-200);
  background: var(--navy-950);
}
.socials a:hover {
  background: var(--gold-600);
  color: var(--navy-950);
  border-color: var(--gold-600);
}
.socials svg { width: 1.05rem; height: 1.05rem; fill: currentColor; }

.site-footer {
  background: var(--navy-950);
  border-top: 1px solid var(--line);
  padding: 1.25rem 0;
}
.footer-bottom {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--ivory-muted);
  font-size: 0.88rem;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  animation: none;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .city-card { transition: none; }
}

/* Responsive */
@media (max-width: 960px) {
  .about-grid,
  .submit-layout,
  .contact-grid,
  .cities-cta { grid-template-columns: 1fr; }
  .pillars,
  .city-grid { grid-template-columns: 1fr 1fr; }
  .cities-cta .btn { justify-self: start; }
  .hero__content { padding-top: 8rem; }
}

@media (max-width: 800px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1.4rem;
    background: rgba(10, 22, 40, 0.96);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
  }
  .nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .nav a {
    padding: 0.9rem 0.2rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.12);
    font-size: 1.05rem;
  }
  .nav a::after { display: none; }
  .nav .btn { margin-top: 0.85rem; width: 100%; }
  body.menu-open { overflow: hidden; }
}

@media (max-width: 680px) {
  .pillars,
  .city-grid,
  .form-grid,
  .types { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; }
  .section { padding: 4.5rem 0; }
  .form-card { padding: 1.25rem 1.1rem 1.4rem; }
  .footer-bottom { flex-direction: column; }
}
