/* ============================================================
   Idol Wealth — idolwealth.org
   Design system: deep navy + gold, modern/clean ministry feel
   ============================================================ */

:root {
  --navy-900: #0e1726;
  --navy-800: #152238;
  --navy-700: #1d2f4d;
  --gold: #c9a227;
  --gold-light: #e6c65c;
  --gold-pale: #f3e8c8;
  --cream: #faf7f0;
  --white: #ffffff;
  --ink: #23293a;
  --muted: #5b6474;
  --rule: #e7e2d6;
  --max: 1100px;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(14, 23, 38, 0.10);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
}

h1, h2, h3, .serif {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy-900);
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.25rem; }

p + p { margin-top: 1em; }

a { color: var(--navy-700); }

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

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.center { text-align: center; }

section { padding: 72px 0; }

.kicker {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 14px;
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 720px;
}

.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 23, 38, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201, 162, 39, 0.25);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark { flex: 0 0 auto; }

.brand-name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  color: var(--white);
  letter-spacing: 0.02em;
}

.brand-name span { color: var(--gold-light); }

.site-nav { display: flex; gap: 26px; align-items: center; }

.site-nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.site-nav a:hover { color: var(--gold-light); }

.site-nav a.active {
  color: var(--gold-light);
  border-bottom-color: var(--gold);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: transform 0.2s, opacity 0.2s;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn:hover { transform: translateY(-2px); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy-900);
  box-shadow: 0 6px 18px rgba(201, 162, 39, 0.35);
}

.btn-outline {
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.btn-outline:hover { border-color: var(--gold-light); color: var(--gold-light); }

.btn-navy {
  background: var(--navy-800);
  color: var(--white);
}

/* ---------- Hero ---------- */

.hero {
  background:
    radial-gradient(900px 480px at 75% -10%, rgba(201, 162, 39, 0.22), transparent 60%),
    linear-gradient(165deg, var(--navy-900) 0%, var(--navy-800) 70%, var(--navy-700) 100%);
  color: var(--white);
  padding: 110px 0 96px;
  position: relative;
  overflow: hidden;
}

.hero h1 { color: var(--white); max-width: 760px; }

.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}

.hero .lead {
  color: rgba(255, 255, 255, 0.82);
  margin: 22px 0 34px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-verse {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(201, 162, 39, 0.35);
  max-width: 560px;
}

/* Hero split: text left, layered photo composition right */
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.hero-art {
  position: relative;
  margin-bottom: 36px;
}

.hero-art-main {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(201, 162, 39, 0.5);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
}

.hero-art-accent {
  position: absolute;
  width: 44%;
  bottom: -40px;
  left: -34px;
  border-radius: 14px;
  border: 3px solid var(--gold);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.55);
}

.hero-art-caption {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(14, 23, 38, 0.82);
  color: var(--gold-pale);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(201, 162, 39, 0.45);
  backdrop-filter: blur(4px);
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero-art { margin-top: 44px; max-width: 540px; }
  .hero-art-accent { left: auto; right: -10px; bottom: -30px; }
}

.hero-verse p {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold-pale);
}

.hero-verse cite {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- Verse blocks (sprinkled through pages) ---------- */

.verse {
  border-left: 3px solid var(--gold);
  background: var(--cream);
  padding: 26px 32px;
  margin: 40px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.verse p {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 1.18rem;
  color: var(--navy-800);
}

.verse cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.verse--dark {
  background: var(--navy-800);
  border-left-color: var(--gold-light);
}

.verse--dark p { color: var(--gold-pale); }

/* Full-width verse band */
.verse-band {
  background:
    radial-gradient(700px 300px at 50% 120%, rgba(201, 162, 39, 0.18), transparent 65%),
    var(--navy-900);
  color: var(--white);
  text-align: center;
  padding: 84px 0;
}

.verse-band p {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  max-width: 820px;
  margin: 0 auto;
  color: var(--gold-pale);
}

.verse-band cite {
  display: block;
  margin-top: 18px;
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- Cards / grids ---------- */

.grid {
  display: grid;
  gap: 28px;
  margin-top: 44px;
}

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

.card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}

.card h3 { margin: 18px 0 10px; }

.card p { color: var(--muted); font-size: 0.97rem; }

.card .examples {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--rule);
  font-size: 0.88rem;
  color: var(--navy-700);
}

.card .examples strong {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  color: var(--gold);
  margin-bottom: 4px;
}

.icon-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-pale), #efdfa9);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-circle svg { width: 30px; height: 30px; }

/* Card photo — bleeds to the card edges above the heading */
.card-img {
  width: calc(100% + 56px);
  margin: -32px -28px 20px;
  height: 190px;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
}

/* ---------- Carousel ---------- */

.carousel { position: relative; margin-top: 44px; }

.carousel-track {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--rule);
}

.carousel-slides { display: flex; transition: transform 0.45s ease; }

.carousel-slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  background: var(--white);
  min-height: 400px;
}

.carousel-slide > img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

/* Multi-photo collage for categories spanning several item types */
.slide-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 3px;
  min-height: 280px;
}

.slide-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-collage img:first-child { grid-column: 1 / -1; }

.card-collage {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 3px;
  width: calc(100% + 56px);
  margin: -32px -28px 20px;
  height: 190px;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
}

.card-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-collage img:first-child { grid-row: 1 / 3; }

.carousel-copy { padding: 44px 48px; align-self: center; }

.carousel-copy h3 { font-size: 1.5rem; margin-bottom: 12px; }

.carousel-copy p { color: var(--muted); }

.carousel-copy .examples {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--rule);
  font-size: 0.92rem;
  color: var(--navy-700);
}

.carousel-copy .examples strong {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  color: var(--gold);
  margin-bottom: 4px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: var(--navy-900);
  color: var(--gold-light);
  font-size: 1.3rem;
  line-height: 1;
  box-shadow: var(--shadow);
  z-index: 2;
  transition: background 0.15s;
}

.carousel-btn:hover { background: var(--navy-700); }

.carousel-btn.prev { left: -14px; }
.carousel-btn.next { right: -14px; }

.carousel-dots { display: flex; justify-content: center; gap: 10px; margin-top: 22px; }

.carousel-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: var(--rule);
  padding: 0;
  transition: background 0.15s, transform 0.15s;
}

.carousel-dots button.active { background: var(--gold); transform: scale(1.3); }

@media (max-width: 760px) {
  .carousel-slide { grid-template-columns: 1fr; min-height: 0; }
  .carousel-slide img { min-height: 220px; max-height: 260px; }
  .carousel-copy { padding: 28px 24px; }
  .carousel-btn.prev { left: 8px; }
  .carousel-btn.next { right: 8px; }
}

/* ---------- Print (release form) ---------- */

.print-only { display: none; }

@media print {
  .site-header, .site-footer, .cta-band, .no-print, .nav-toggle, .verse { display: none !important; }
  .hero { background: none !important; color: #000; padding: 0 0 12px !important; }
  .hero h1 { color: #000; font-size: 1.6rem; }
  .hero .lead, .hero .kicker { display: none; }
  .print-only { display: block; margin-bottom: 18px; border-bottom: 2px solid #000; padding-bottom: 10px; }
  .form-card { border: none; box-shadow: none; padding: 0; }
  .form-row input, .form-row textarea, .form-row select {
    background: #fff;
    border: 1px solid #999;
  }
  section { padding: 0; }
  .split { grid-template-columns: 1fr; }
  .address-panel { background: none; color: #000; border: 1px solid #000; }
  .address-panel h3, .address-panel p, .address-panel .addr { color: #000 !important; }
}

/* ---------- Submission summary (thanks page) ---------- */

.summary-list { margin-top: 16px; }

.summary-list .sum-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--rule);
}

.summary-list dt {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy-900);
}

.summary-list dd { color: var(--ink); font-size: 0.95rem; white-space: pre-wrap; }

@media (max-width: 640px) {
  .summary-list .sum-row { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- Steps ---------- */

.steps { counter-reset: step; margin-top: 44px; }

.step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  padding: 34px 0;
  border-bottom: 1px solid var(--rule);
}

.step:last-child { border-bottom: none; }

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--gold-light);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Auto-numbering only inside .steps lists; cards elsewhere hardcode their digit */
.steps .step-num { counter-increment: step; }
.steps .step-num::before { content: counter(step); }

.step h3 { margin-bottom: 8px; }

.step p { color: var(--muted); }

/* Compact 3-step strip (home page) */
.steps-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 44px;
}

.steps-strip .card { text-align: center; }

.steps-strip .step-num { margin: 0 auto 16px; }

/* ---------- Transparency block ---------- */

.transparency {
  background: var(--cream);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius);
  padding: 34px 38px;
  margin: 48px 0 0;
}

.transparency h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy-900);
  margin-bottom: 12px;
}

.transparency p { font-size: 0.95rem; color: var(--ink); }

.transparency strong { color: var(--navy-900); }

/* ---------- Alternating sections ---------- */

.section-cream { background: var(--cream); }

.section-navy {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.85);
}

.section-navy h2, .section-navy h3 { color: var(--white); }

.section-navy .lead { color: rgba(255, 255, 255, 0.75); }

/* ---------- Two-column with aside ---------- */

.split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: start;
}

/* ---------- Lists ---------- */

.check-list, .x-list { list-style: none; margin-top: 18px; }

.check-list li, .x-list li {
  padding: 10px 0 10px 36px;
  position: relative;
  border-bottom: 1px solid var(--rule);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 4px;
  color: var(--gold);
  font-weight: 700;
}

.x-list li::before {
  content: "✕";
  position: absolute;
  left: 4px;
  color: #b3502e;
  font-weight: 700;
}

/* ---------- FAQ accordion ---------- */

.accordion { margin-top: 40px; }

.accordion details {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  margin-bottom: 14px;
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.accordion summary {
  cursor: pointer;
  padding: 22px 26px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--navy-900);
  list-style: none;
  position: relative;
  padding-right: 56px;
}

.accordion summary::-webkit-details-marker { display: none; }

.accordion summary::after {
  content: "+";
  position: absolute;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Inter", sans-serif;
  font-size: 1.4rem;
  color: var(--gold);
  transition: transform 0.2s;
}

.accordion details[open] summary::after { transform: translateY(-50%) rotate(45deg); }

.accordion .answer {
  padding: 0 26px 24px;
  color: var(--muted);
  font-size: 0.97rem;
}

/* ---------- Forms ---------- */

.form-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}

.form-row { margin-bottom: 22px; }

.form-row label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 8px;
  color: var(--navy-900);
}

.form-row input, .form-row textarea, .form-row select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--rule);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--cream);
}

.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}

/* ---------- Address / info panels ---------- */

.address-panel {
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius);
  padding: 36px;
}

.address-panel h3 { color: var(--gold-light); margin-bottom: 14px; }

.address-panel .addr {
  font-size: 1.1rem;
  line-height: 1.8;
  border-left: 3px solid var(--gold);
  padding-left: 18px;
  margin: 18px 0;
}

.address-panel p { color: rgba(255, 255, 255, 0.78); font-size: 0.93rem; }

/* ---------- Social feed ---------- */

.social-feed-placeholder {
  border: 2px dashed var(--gold);
  border-radius: var(--radius);
  padding: 56px 32px;
  text-align: center;
  color: var(--muted);
  background: var(--cream);
  margin-top: 40px;
}

/* ---------- CTA band ---------- */

.cta-band {
  background:
    radial-gradient(800px 400px at 20% 130%, rgba(201, 162, 39, 0.25), transparent 60%),
    var(--navy-800);
  color: var(--white);
  text-align: center;
  padding: 88px 0;
}

.cta-band h2 { color: var(--white); margin-bottom: 14px; }

.cta-band p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 620px;
  margin: 0 auto 32px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.65);
  padding: 64px 0 36px;
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer h4 {
  color: var(--gold-light);
  font-family: "Playfair Display", Georgia, serif;
  margin-bottom: 14px;
  font-size: 1.05rem;
}

.site-footer ul { list-style: none; }

.site-footer li { margin-bottom: 8px; }

.site-footer a { color: rgba(255, 255, 255, 0.75); text-decoration: none; }

.site-footer a:hover { color: var(--gold-light); }

.footer-disclaimer {
  padding: 28px 0 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .grid-3, .steps-strip { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Nav collapses to hamburger below 960px — 7 links don't fit at tablet width */
@media (max-width: 960px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--navy-900);
    flex-direction: column;
    gap: 0;
    padding: 12px 24px 24px;
    border-bottom: 1px solid rgba(201, 162, 39, 0.25);
  }

  .site-nav.open { display: flex; }

  .site-nav a { padding: 14px 0; width: 100%; border-bottom: 1px solid rgba(255,255,255,0.08); }

  .nav-toggle { display: block; }
}

@media (max-width: 640px) {
  section { padding: 56px 0; }

  .grid-2, .grid-3, .steps-strip, .footer-grid { grid-template-columns: 1fr; }

  .hero { padding: 72px 0 64px; }

  .step { grid-template-columns: 56px 1fr; gap: 16px; }

  .form-card { padding: 28px 22px; }
}
