/* =========================================================
   A Call to Healing & Restoration — Conference
   Cinematic dark & gold theme (own tokens, distinct from
   the cream/teal main app). No build step — plain CSS.
   ========================================================= */

:root {
  /* Surfaces */
  --bg: #0e0f10;
  --bg-2: #16110a;
  --panel: #16161a;
  --panel-2: #1c1b1f;
  --line: rgba(216, 178, 115, 0.16);
  --line-soft: rgba(243, 236, 224, 0.08);

  /* Gold (reuses brand bronze/gold so it stays on-brand) */
  --gold: #d8b273;
  --gold-2: #caa45a;
  --gold-deep: #9e6a2f;

  /* Type */
  --text: #f3ece0;
  --muted: #a89e8e;
  --muted-2: #7d7568;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Segoe UI", Tahoma, sans-serif;

  --maxw: 1120px;
  --radius: 18px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(216, 178, 115, 0.10), transparent 60%),
    linear-gradient(170deg, var(--bg) 0%, var(--bg-2) 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.wrap {
  width: min(var(--maxw), calc(100% - 44px));
  margin-inline: auto;
}
.wrap--narrow { width: min(720px, calc(100% - 44px)); }

.gold { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 180ms ease, box-shadow 220ms ease, background-color 200ms ease, color 200ms ease;
}
.btn:hover, .btn:focus-visible { transform: translateY(-2px); }
.btn--gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 100%);
  color: #1a1305;
  box-shadow: 0 14px 34px rgba(216, 178, 115, 0.28);
}
.btn--gold:hover { box-shadow: 0 18px 42px rgba(216, 178, 115, 0.42); }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(243, 236, 224, 0.28);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Shared headings ---------- */
.eyebrow {
  margin: 0 0 18px;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}

.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}
.kicker__line { width: 42px; height: 1px; background: var(--gold); display: inline-block; }
.kicker--center { justify-content: center; }

.section__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 26px;
}
.section__title--center { text-align: center; }

.section__intro {
  max-width: 60ch;
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 40px;
}
.section__intro--center { margin-inline: auto; text-align: center; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding-bottom: clamp(60px, 12vh, 130px);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: url("./assets/hero/hero.jpg") center/cover no-repeat;
  transform: scale(1.05);
  filter: saturate(0.85) brightness(0.7);
}
.hero__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 70% 10%, rgba(216, 178, 115, 0.14), transparent 55%),
    linear-gradient(180deg, rgba(14, 15, 16, 0.55) 0%, rgba(14, 15, 16, 0.35) 35%, rgba(14, 15, 16, 0.92) 100%);
}

/* Top nav */
.topbar {
  position: relative;
  z-index: 3;
  width: min(var(--maxw), calc(100% - 44px));
  margin: 26px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topbar__brand img { height: 46px; width: auto; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.5)); }
.topbar__links { display: flex; align-items: center; gap: 28px; }
.topbar__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(243, 236, 224, 0.82);
  transition: color 160ms ease;
}
.topbar__links a:hover { color: var(--gold); }
.topbar__cta {
  padding: 9px 18px;
  border: 1px solid rgba(216, 178, 115, 0.5);
  border-radius: 999px;
  color: var(--gold) !important;
}
.topbar__cta:hover { background: var(--gold); color: #1a1305 !important; }

.hero__content {
  position: relative;
  z-index: 2;
  width: min(var(--maxw), calc(100% - 44px));
  margin-inline: auto;
  margin-top: auto;
  padding-top: 48px;
}
.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.8rem, 9vw, 6.6rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
  margin: 0 0 24px;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}
.hero__lead {
  max-width: 54ch;
  font-size: clamp(1.02rem, 2.2vw, 1.25rem);
  color: rgba(243, 236, 224, 0.86);
  margin: 0 0 26px;
}
.datechip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 30px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(20, 17, 10, 0.45);
  backdrop-filter: blur(6px);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
}
.hero__venue { margin: 0 0 26px; color: var(--text); }
.hero__venue strong { color: var(--gold); }
.datechip__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(216, 178, 115, 0.18);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 2;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 1px solid rgba(243, 236, 224, 0.35);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.scroll-hint span {
  width: 4px; height: 8px; border-radius: 4px;
  background: var(--gold);
  animation: scrollPulse 1.6s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(8px); }
}

/* =========================================================
   SECTIONS (shared)
   ========================================================= */
.section { padding: clamp(70px, 11vh, 130px) 0; position: relative; }
.section--vision { border-top: 1px solid var(--line-soft); }
.section--testimonies {
  background:
    radial-gradient(900px 500px at 10% 0%, rgba(216, 178, 115, 0.06), transparent 60%);
  border-top: 1px solid var(--line-soft);
}
.section--invite { border-top: 1px solid var(--line-soft); }

.section--details { border-top: 1px solid var(--line); }
.event-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 24px;
  margin: 0 0 32px;
}
.event-details > div {
  padding: 24px;
  border-left: 2px solid var(--gold);
  background: linear-gradient(135deg, rgba(216, 178, 115, 0.08), transparent);
}
.event-details dt {
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.event-details dd { margin: 0; font-family: var(--serif); font-size: 1.8rem; line-height: 1.2; }
.event-details dd span { display: block; margin-top: 12px; font-family: var(--sans); font-size: 1rem; line-height: 1.6; color: var(--text); }

/* ---------- Vision ---------- */
.scripture {
  margin: 0 0 44px;
  padding: 0 0 0 26px;
  border-left: 2px solid var(--gold);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  line-height: 1.4;
  color: var(--text);
  max-width: 32ch;
}
.scripture cite {
  display: block;
  margin-top: 16px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.prose { max-width: 64ch; }
.prose p { color: var(--muted); font-size: 1.06rem; margin: 0 0 20px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose em { color: rgba(243, 236, 224, 0.9); }
.prose--after { margin-top: 40px; }

.needs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin: 44px 0;
}
.need {
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(28, 27, 31, 0.7), rgba(22, 22, 26, 0.5));
  transition: transform 200ms ease, border-color 200ms ease;
}
.need:hover { transform: translateY(-4px); border-color: rgba(216, 178, 115, 0.4); }
.need__num {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--gold);
  letter-spacing: 0.05em;
}
.need h3 { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; margin: 10px 0 8px; }
.need p { margin: 0; color: var(--muted); font-size: 0.96rem; }

/* =========================================================
   TESTIMONIES
   ========================================================= */
.testimonies { display: grid; gap: 26px; }

.tcard {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(28, 27, 31, 0.78), rgba(20, 20, 24, 0.6));
  box-shadow: var(--shadow);
  overflow: hidden;
}
.tcard__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 26px 28px 0;
}
.tcard__name { font-family: var(--serif); font-weight: 600; font-size: clamp(1.5rem, 3vw, 2rem); margin: 0; }
.tcard__tag {
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(216, 178, 115, 0.06);
}
.tcard__quote {
  margin: 16px 28px 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2.6vw, 1.55rem);
  line-height: 1.4;
  color: rgba(243, 236, 224, 0.94);
}

/* ---- Custom audio player ---- */
.player {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 28px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(14, 15, 16, 0.55);
}
.player__btn {
  flex: 0 0 auto;
  width: 50px; height: 50px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #1a1305;
  display: grid;
  place-items: center;
  transition: transform 160ms ease, box-shadow 200ms ease;
  box-shadow: 0 8px 22px rgba(216, 178, 115, 0.3);
}
.player__btn:hover { transform: scale(1.06); }
.player__btn svg { width: 20px; height: 20px; display: block; }
.player__btn .icon-pause { display: none; }
.player.is-playing .player__btn .icon-play { display: none; }
.player.is-playing .player__btn .icon-pause { display: block; }

.player__main { flex: 1 1 auto; min-width: 0; }
.player__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 9px;
}
.player__label {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.player__time { font-size: 0.82rem; color: var(--muted-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.player__bar {
  position: relative;
  height: 6px;
  border-radius: 999px;
  background: rgba(243, 236, 224, 0.12);
  cursor: pointer;
}
.player__fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold));
}
.player__fill::after {
  content: "";
  position: absolute;
  right: -6px; top: 50%;
  transform: translateY(-50%);
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(216, 178, 115, 0.22);
}
.player__missing {
  margin: -6px 28px 22px;
  font-size: 0.82rem;
  color: var(--muted-2);
  font-style: italic;
}

/* ---- Expandable full text ---- */
.tcard__more {
  border-top: 1px solid var(--line-soft);
}
.tcard__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 28px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--gold);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.tcard__toggle .chev { transition: transform 220ms ease; }
.tcard__toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }

.tcard__full {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 320ms ease;
}
.tcard__full.is-open { grid-template-rows: 1fr; }
.tcard__full > div { overflow: hidden; }
.tcard__fulltext { padding: 0 28px 28px; max-width: 70ch; }
.tcard__fulltext h4 {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 20px 0 8px;
}
.tcard__fulltext p { margin: 0 0 14px; color: var(--muted); font-size: 1rem; }

.testimonies__note {
  margin: 36px 0 0;
  text-align: center;
  color: var(--muted-2);
  font-style: italic;
}

/* =========================================================
   INQUIRY FORM
   ========================================================= */
.inquiry {
  display: grid;
  gap: 18px;
  margin-top: 12px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(28, 27, 31, 0.7), rgba(20, 20, 24, 0.5));
  box-shadow: var(--shadow);
}
.field { display: grid; gap: 8px; }
.field label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.inquiry input, .inquiry textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(243, 236, 224, 0.14);
  border-radius: 12px;
  background: rgba(14, 15, 16, 0.6);
  color: var(--text);
  transition: border-color 160ms ease, box-shadow 160ms ease;
  resize: vertical;
}
.inquiry input::placeholder, .inquiry textarea::placeholder { color: var(--muted-2); }
.inquiry input:focus, .inquiry textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(216, 178, 115, 0.16);
}
.inquiry__status { margin: 0; min-height: 1.2em; font-size: 0.9rem; color: var(--gold); }
.inquiry__status.is-error { color: #e2876b; }
.inquiry__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 4px; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  border-top: 1px solid var(--line-soft);
  padding: 56px 0 40px;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  justify-content: space-between;
  align-items: center;
}
.footer__brand { display: flex; align-items: center; gap: 16px; }
.footer__brand img { height: 50px; width: auto; }
.footer__brand p { margin: 0; font-family: var(--serif); font-size: 1.2rem; color: var(--text); }
.footer__contact { display: flex; flex-direction: column; gap: 6px; text-align: right; }
.footer__contact a { color: var(--muted); font-size: 0.95rem; transition: color 150ms ease; }
.footer__contact a:hover { color: var(--gold); }
.footer__legal {
  width: min(var(--maxw), calc(100% - 44px));
  margin: 36px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.82rem;
  color: var(--muted-2);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 720px) {
  .topbar__links a:not(.topbar__cta) { display: none; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .footer__contact { text-align: left; }
  .player { flex-wrap: wrap; }
  .inquiry { padding: 24px; }
  .scripture { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-hint span { animation: none; }
  .btn:hover, .need:hover, .player__btn:hover { transform: none; }
}
