:root {
  --pv-navy: #17324d;
  --pv-blue: #2f5d8c;
  --pv-gold: #d19a33;
  --pv-cream: #fcfaf6;
  --pv-ink: #203040;
  --pv-muted: #5f6f7f;
  --pv-line: rgba(23, 50, 77, 0.12);
  --pv-shadow: 0 18px 45px rgba(13, 33, 54, 0.12);
  --pv-radius: 24px;
  --pv-container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--pv-ink);
  background: var(--pv-cream);
}

body.site-page,
.preview-page {
  min-height: 100vh;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.preview-shell {
  width: min(calc(100% - 2rem), var(--pv-container));
  margin: 0 auto;
}

.preview-topbar {
  padding: 1rem 0;
}

.preview-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--pv-line);
  box-shadow: var(--pv-shadow);
}

.preview-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.preview-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.preview-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.preview-nav a {
  color: var(--pv-muted);
  font-size: 0.96rem;
}

.preview-nav a.is-active {
  color: var(--pv-navy);
  font-weight: 700;
}

.preview-chip,
.preview-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.8rem 1.2rem;
  border: 0;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: "Segoe UI", Tahoma, sans-serif;
  cursor: pointer;
}

.preview-chip {
  background: rgba(209, 154, 51, 0.15);
  color: #8c6215;
}

.preview-button {
  background: var(--pv-navy);
  color: #fff;
}

.preview-button.secondary {
  background: transparent;
  color: var(--pv-navy);
  border: 1px solid var(--pv-line);
}

.eyebrow {
  margin: 0 0 0.8rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pv-blue);
  font-family: "Segoe UI", Tahoma, sans-serif;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 1.6rem;
  align-items: stretch;
  padding: 1rem 0 2rem;
}

.hero-copy,
.hero-card,
.info-panel,
.staff-strip article,
.feature-panel,
.chooser-card,
.page-hero-copy,
.page-hero-card,
.content-card,
.contact-form-card,
.site-footer-panel {
  border-radius: var(--pv-radius);
  box-shadow: var(--pv-shadow);
}

.hero-copy,
.page-hero-copy {
  padding: 2.4rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--pv-line);
}

.hero-copy h1,
.chooser-hero h1,
.page-hero-copy h1 {
  margin: 0;
  line-height: 1;
  font-size: clamp(2.6rem, 6vw, 5rem);
  letter-spacing: 0.01em;
}

.hero-copy p,
.hero-copy li,
.info-panel p,
.staff-strip p,
.feature-panel p,
.chooser-card p,
.chooser-hero p,
.page-hero-copy p,
.content-card p,
.content-card li,
.contact-form-card p,
.site-footer-panel p,
.site-footer-panel a,
.status-box {
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--pv-muted);
}

.hero-actions,
.hero-meta,
.mini-links,
.mini-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-meta {
  margin-top: 1.35rem;
}

.hero-card,
.page-hero-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--pv-line);
}

.hero-card img,
.page-hero-card img,
.image-card img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
}

.stack-layout,
.page-grid,
.site-footer-grid {
  display: grid;
  gap: 1.2rem;
}

.stack-layout {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-bottom: 2rem;
}

.page-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-bottom: 1.6rem;
}

.site-footer-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-bottom: 2rem;
}

.site-footer-merged {
  padding-bottom: 2rem;
}

.site-footer-merged .site-footer-panel {
  width: 100%;
}

.info-panel,
.feature-panel,
.content-card,
.contact-form-card,
.site-footer-panel {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--pv-line);
}

.info-panel h2,
.feature-panel h2,
.feature-panel h3,
.staff-strip h3,
.chooser-card h2,
.content-card h2,
.content-card h3,
.contact-form-card h2,
.site-footer-panel h3 {
  margin: 0 0 0.75rem;
  font-size: 1.45rem;
  color: var(--pv-navy);
}

.content-card.full-width {
  grid-column: 1 / -1;
}

.schedule-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.schedule-list li + li {
  margin-top: 0.9rem;
}

.schedule-list strong,
.highlight-line {
  display: block;
  color: var(--pv-gold);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: "Segoe UI", Tahoma, sans-serif;
}

.feature-band {
  padding: 0 0 2.5rem;
}

.feature-panel.image-panel {
  padding: 0;
  overflow: hidden;
}

.feature-panel.image-panel img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.feature-panel.image-panel div {
  padding: 1.4rem;
}

.staff-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  padding-bottom: 2rem;
}

.staff-strip article {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--pv-line);
}

.staff-strip img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.staff-copy {
  padding: 1.4rem;
}

.staff-role {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pv-blue);
}

.pastor-name {
  color: var(--pv-gold);
  font-weight: 700;
}

.giving-panel {
  text-align: center;
  padding-bottom: 3rem;
}

.giving-panel .feature-panel {
  max-width: 680px;
  margin: 0 auto;
}

.chooser-hero {
  padding: 4rem 0 2rem;
  text-align: center;
}

.chooser-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  padding-bottom: 3rem;
}

.chooser-card {
  padding: 1.6rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--pv-line);
}

.chooser-card .mini-links {
  margin-top: 1rem;
}

.chooser-card .preview-button,
.chooser-card .preview-button.secondary {
  min-height: 42px;
  padding: 0.7rem 1rem;
}

.page-main {
  padding-bottom: 3rem;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 1.3rem;
  align-items: stretch;
  padding: 1rem 0 1.5rem;
}

.page-hero-copy h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
}

.site-copyright {
  padding-bottom: 2rem;
  text-align: center;
}

.site-copyright p {
  margin: 0;
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.84);
}

.mission-statement {
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.55);
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.7;
}

.mission-statement span {
  color: #b87418;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.core-values {
  list-style: none;
  padding: 0;
  margin: 0;
}

.core-values li + li {
  margin-top: 1rem;
}

.core-values strong {
  color: var(--pv-navy);
}

.content-card .core-values li {
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(23, 50, 77, 0.08);
}

.content-card .core-values li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.content-card .core-values p {
  max-width: 58rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.45rem;
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--pv-navy);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(23, 50, 77, 0.18);
  border-radius: 16px;
  background: #fff;
  padding: 0.95rem 1rem;
  font: inherit;
  color: var(--pv-ink);
}

.contact-form textarea {
  min-height: 170px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--pv-blue);
  box-shadow: 0 0 0 3px rgba(47, 93, 140, 0.14);
}

.form-actions {
  text-align: left;
}

.status-box {
  display: none;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  font-weight: 600;
}

.status-box.is-visible {
  display: block;
}

.status-box.is-success {
  background: #edf7ed;
  color: #2b5a33;
}

.status-box.is-error {
  background: #fbeaea;
  color: #7a2f2f;
}

.hidden-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.image-card {
  overflow: hidden;
  padding: 0;
}

.mini-social a,
.site-footer-panel a {
  color: var(--pv-blue);
  font-weight: 700;
}

.theme-sunrise {
  background:
    radial-gradient(circle at top left, rgba(209, 154, 51, 0.22), transparent 28%),
    linear-gradient(180deg, #f6efe4 0%, #fcfaf6 46%, #eef4fb 100%);
}

.theme-sunrise .hero-copy {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.97), rgba(245, 239, 230, 0.96));
}

.theme-sunrise .hero-card {
  min-height: 100%;
}

.theme-community {
  background:
    linear-gradient(180deg, rgba(23, 50, 77, 0.9), rgba(23, 50, 77, 0.62)),
    url("images/bg.png") center / cover fixed;
}

.theme-community .preview-topbar-inner,
.theme-community .hero-copy,
.theme-community .info-panel,
.theme-community .feature-panel,
.theme-community .staff-strip article,
.theme-community .chooser-card,
.theme-community .page-hero-copy,
.theme-community .page-hero-card,
.theme-community .content-card,
.theme-community .contact-form-card,
.theme-community .site-footer-panel {
  background: rgba(255, 250, 246, 0.94);
}

.theme-community .hero-layout {
  grid-template-columns: minmax(0, 1fr);
}

.theme-community .hero-copy {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.theme-community .hero-card {
  display: none;
}

.theme-community .stack-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.theme-ribbon {
  background: linear-gradient(180deg, #f1f5fa 0%, #ffffff 48%, #f9f3ea 100%);
}

.theme-ribbon .hero-layout {
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
}

.theme-ribbon .hero-copy {
  background: var(--pv-navy);
  color: #fff;
}

.theme-ribbon .hero-copy .eyebrow,
.theme-ribbon .hero-copy p,
.theme-ribbon .hero-copy li {
  color: rgba(255, 255, 255, 0.86);
}

.theme-ribbon .hero-copy .preview-button {
  background: var(--pv-gold);
  color: #1f2230;
}

.theme-ribbon .hero-copy .preview-button.secondary {
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.theme-ribbon .hero-card {
  display: grid;
  grid-template-rows: 1.2fr auto;
}

.theme-ribbon .hero-card img {
  min-height: 280px;
}

.theme-ribbon .hero-card .card-copy {
  padding: 1.5rem;
  background: #fff;
}

.theme-ribbon .feature-band {
  padding-top: 0.4rem;
}

@media screen and (max-width: 980px) {
  .hero-layout,
  .theme-ribbon .hero-layout,
  .stack-layout,
  .chooser-grid,
  .theme-community .stack-layout,
  .staff-strip,
  .page-hero,
  .page-grid,
  .site-footer-grid {
    grid-template-columns: 1fr;
  }

  .preview-topbar-inner {
    border-radius: 28px;
    padding: 1rem;
  }

  .preview-topbar-inner,
  .preview-nav {
    align-items: flex-start;
  }

  .preview-topbar-inner {
    flex-direction: column;
  }
}

@media screen and (max-width: 640px) {
  .preview-shell {
    width: min(calc(100% - 1.2rem), var(--pv-container));
  }

  .hero-copy,
  .info-panel,
  .feature-panel,
  .chooser-card,
  .staff-copy,
  .page-hero-copy,
  .content-card,
  .contact-form-card,
  .site-footer-panel {
    padding: 1.25rem;
  }

  .hero-copy h1,
  .chooser-hero h1,
  .page-hero-copy h1 {
    font-size: clamp(2.25rem, 10vw, 3.3rem);
  }
}

.font-compare-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  padding-bottom: 2rem;
}

.font-card {
  padding: 1.5rem;
  border-radius: var(--pv-radius);
  border: 1px solid var(--pv-line);
  background: rgba(255, 250, 246, 0.94);
  box-shadow: var(--pv-shadow);
}

.font-card-label {
  margin: 0 0 0.9rem;
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pv-blue);
}

.font-card .welcome-line {
  margin: 0 0 0.45rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pv-blue);
  font-family: "Segoe UI", Tahoma, sans-serif;
}

.font-card .parkview-line {
  margin: 0;
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--pv-ink);
}

.font-card .tagline-line {
  margin: 0.9rem 0 0;
  color: var(--pv-muted);
}

.font-classic .parkview-line {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  letter-spacing: 0.03em;
}

.font-classic .tagline-line {
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
}

.font-strong .parkview-line {
  font-family: Rockwell, Georgia, serif;
  font-size: clamp(2.7rem, 5vw, 4.3rem);
  letter-spacing: 0.04em;
}

.font-strong .tagline-line {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.02rem;
  font-style: italic;
}

.font-clean .parkview-line {
  font-family: "Trebuchet MS", "Segoe UI", Tahoma, sans-serif;
  font-size: clamp(2.5rem, 4.8vw, 4rem);
  font-weight: 800;
  letter-spacing: 0.12em;
}

.font-clean .tagline-line {
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
}

@media screen and (max-width: 980px) {
  .font-compare-grid {
    grid-template-columns: 1fr;
  }
}
