/* Venture Church theme presentation layer. */
:root {
  --venture-orange: #fd6c23;
  --venture-charcoal: #292929;
  --venture-teal: #0f4b4a;
  --venture-mint: #b9dfd4;
  --venture-white: #fff;
  --venture-max: 1480px;
}

html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

.venture-site-header {
  position: relative;
  z-index: 50;
  transition: background-color .25s ease, box-shadow .25s ease, color .25s ease;
}
.home .venture-site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  color: var(--venture-white);
}
.home .venture-site-header a,
.home .venture-site-header .wp-block-navigation-item__content { color: inherit; }
.home .venture-site-header.is-scrolled {
  position: fixed;
  color: var(--venture-charcoal);
  background: rgba(255,255,255,.96);
  box-shadow: 0 1px 0 rgba(0,0,0,.08);
  backdrop-filter: blur(14px);
}
.admin-bar .home .venture-site-header { top: 32px; }

.venture-logo-lockup img { width: min(190px, 34vw); height: auto; }

.venture-hero {
  min-height: min(900px, 100svh);
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  overflow: hidden;
}
.venture-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.68), rgba(0,0,0,.18) 70%),
    linear-gradient(0deg, rgba(0,0,0,.55), transparent 50%);
  z-index: 1;
  pointer-events: none;
}
.venture-hero > .wp-block-cover__inner-container { z-index: 2; width: 100%; }
.venture-hero-content { max-width: var(--venture-max); margin-inline: auto; padding-top: clamp(9rem, 18vh, 14rem); }
.venture-eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 800; }
.venture-display { max-width: 1050px; text-wrap: balance; }
.venture-lead { max-width: 760px; font-size: clamp(1.1rem, 2vw, 1.45rem); line-height: 1.45; }

.venture-service-panel {
  margin-top: clamp(3rem, 8vh, 7rem);
  position: relative;
  background: var(--venture-orange);
  color: white;
  clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 100%);
  padding-top: clamp(3.5rem, 6vw, 5.5rem) !important;
}
.venture-service-panel strong { display: block; font-size: 1.05rem; }

.venture-section { padding-block: clamp(5rem, 9vw, 9rem); }
.venture-section-label { text-transform: uppercase; letter-spacing: .15em; font-size: .78rem; font-weight: 800; }
.venture-section-title { max-width: 1050px; text-wrap: balance; }

.venture-angle-band {
  position: relative;
  isolation: isolate;
}
.venture-angle-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--venture-orange);
  clip-path: polygon(0 25%, 100% 0, 100% 75%, 0 100%);
  z-index: -1;
}

.venture-card-grid > * { height: 100%; }
.venture-card {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  background: var(--venture-charcoal);
  color: white;
}
.venture-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.78), rgba(0,0,0,.08) 65%);
  pointer-events: none;
}
.venture-card > * { position: relative; z-index: 2; }
.venture-card:hover { transform: translateY(-4px); transition: transform .25s ease; }
.venture-card .wp-block-cover__background { background: transparent !important; }

.venture-location-card {
  overflow: hidden;
  position: relative;
  min-height: 470px;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 92% 100%, 0 100%);
}

.venture-series {
  background: var(--venture-charcoal);
  color: white;
}
.venture-series-art {
  min-height: 520px;
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
}

.venture-footer {
  background: var(--venture-charcoal);
  color: white;
  position: relative;
  overflow: hidden;
}
.venture-footer::before {
  content: '';
  position: absolute;
  width: 360px;
  aspect-ratio: 1;
  right: -160px;
  top: -130px;
  border: 28px solid rgba(253,108,35,.9);
  transform: rotate(45deg);
}
.venture-footer a { color: white; text-decoration: none; }
.venture-footer a:hover { color: var(--venture-orange); }

.wp-element-button { transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.wp-element-button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.12); }
.venture-button-outline .wp-element-button { background: transparent; border: 2px solid currentColor; }

@media (max-width: 900px) {
  .venture-service-panel { clip-path: polygon(0 4%, 100% 0, 100% 100%, 0 100%); }
  .venture-series-art,
  .venture-location-card { clip-path: none; }
  .venture-site-header .wp-block-navigation__responsive-container-open { display: flex; }
  .admin-bar .home .venture-site-header { top: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
