/* Public-page visual overrides. Church-specific colors are supplied by the database at runtime. */

:root {
  --forest: #4a3211;
  --forest-2: #6d4917;
  --cream: #fff4e3;
  --paper: #fffaf2;
  --ink: #21180d;
  --sage: #9a6c28;
  --gold: #f7931d;
  --orange: #f7931d;
  --line: rgba(74, 50, 17, 0.16);
  --shadow: 0 22px 50px rgba(97, 55, 8, 0.16);
}
.hero {
  min-height: 710px;
  background: var(--orange);
  color: var(--ink);
}
.nav {
  z-index: 4;
  border-bottom: 1px solid rgba(74, 50, 17, 0.18);
}
.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 5px 18px rgba(76, 42, 0, 0.18);
}
.brand-copy small {
  opacity: 0.65;
}
.powered-by {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
}
.powered-by small {
  margin: 0;
  white-space: nowrap;
}
.powered-by img {
  display: block;
  width: 78px;
  height: auto;
}
.nav-link,
.scroll-cue {
  color: var(--ink);
  font-weight: 700;
}
.nav-link {
  border-bottom-color: rgba(74, 50, 17, 0.5);
}
.hero-content {
  padding-top: 70px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 70px;
  align-items: center;
}
.hero-copy {
  padding-bottom: 75px;
}
.eyebrow {
  color: #65400c;
}
.eyebrow span {
  height: 2px;
  background: var(--ink);
}
h1 {
  font-size: clamp(70px, 9vw, 112px);
  max-width: 720px;
}
.hero-intro {
  font-size: 18px;
  color: #5b3a0d;
  max-width: 490px;
  margin: 32px 0;
}
.hero-intro strong {
  color: var(--ink);
}
.scroll-cue {
  border-color: rgba(74, 50, 17, 0.36);
}
.scroll-cue:hover {
  background: var(--ink);
  color: #fff;
}
.logo-stage {
  position: relative;
  width: min(390px, 100%);
  aspect-ratio: 1;
  margin-bottom: 70px;
  justify-self: end;
}
.logo-stage img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 42px;
  box-shadow: 0 32px 70px rgba(97, 49, 0, 0.28);
  transform: rotate(2deg);
}
.orbit {
  position: absolute;
  border: 2px solid rgba(74, 50, 17, 0.24);
  border-radius: 46%;
  inset: -24px;
  transform: rotate(-7deg);
}
.orbit-two {
  inset: -48px;
  transform: rotate(10deg);
  border-style: dashed;
  opacity: 0.55;
}
.hero-glow {
  background: radial-gradient(circle, rgba(255, 246, 229, 0.38), transparent 67%);
}
.hero-line {
  opacity: 0.23;
}
.hero-line path {
  stroke: #5c3909;
  stroke-width: 1.6;
}
.action-card.featured {
  background: var(--ink);
}
.action-card.ask {
  background: #ffd699;
}
.give-button {
  background: var(--orange);
}
.visit {
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.visit:after {
  content: '';
  position: absolute;
  right: -30px;
  bottom: -100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 300px;
  font-weight: 700;
  color: rgba(247, 147, 29, 0.06);
  letter-spacing: -0.09em;
}
.visit-grid {
  position: relative;
  z-index: 1;
}
footer {
  background: #120d07;
}
.live-form-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  text-decoration: none;
  background: var(--orange);
  color: var(--ink);
  padding: 17px 18px;
  border-radius: 12px;
  font-weight: 700;
}
.live-form-link:hover,
.live-form-link:focus-visible {
  background: #ffab3d;
  outline: 3px solid rgba(247, 147, 29, 0.28);
  outline-offset: 3px;
}
@media (max-width: 720px) {
  .hero {
    min-height: auto;
  }
  .brand-copy {
    display: flex;
  }
  .brand-copy strong {
    font-size: 17px;
  }
  .powered-by img {
    width: 68px;
  }
  .brand-logo {
    width: 44px;
    height: 44px;
  }
  .hero-content {
    padding-top: 44px;
    display: flex;
    flex-direction: column-reverse;
    gap: 38px;
    align-items: stretch;
  }
  .hero-copy {
    padding-bottom: 64px;
  }
  h1 {
    font-size: 62px;
  }
  .hero-intro {
    font-size: 16px;
    margin-top: 26px;
  }
  .logo-stage {
    width: 188px;
    margin: 15px auto 0;
  }
  .logo-stage img {
    border-radius: 28px;
  }
  .orbit {
    inset: -13px;
  }
  .orbit-two {
    inset: -25px;
  }
}

.hero,
.hero .nav-link,
.hero .scroll-cue,
.hero .eyebrow,
.hero .hero-intro,
.hero .hero-intro strong {
  color: var(--hero-ink, #21180d);
}
.hero h1 {
  white-space: pre-line;
}
.logo-stage img {
  object-fit: contain;
  background: white;
}
.action-card.ask {
  background: var(--paper);
}
.give-button,
.live-form-link {
  color: var(--hero-ink, #21180d);
}

.brand-logo {
  object-fit: contain;
  background: #fff;
}
.powered-by img {
  background: transparent;
  border-radius: 0;
  padding: 0;
}
.hero .scroll-cue {
  border-color: currentColor;
}
