@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&family=Montserrat:wght@500;600;800&display=swap');

:root {
  --base: #3a3a3a;
  --lime: #9bca3b;
  --paper: #f2f1ed;
  --ink: #292b27;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--base);
  color: var(--paper);
  font-family: 'DM Sans',Arial,sans-serif;
}

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

button {
  font: inherit;
  cursor: pointer;
}

a,button,summary {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,button:focus-visible,summary:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 6px;
}

.skip {
  position: absolute;
  top: -100px;
  z-index: 100;
  background: white;
  color: black;
  padding: 15px;
}

.skip:focus {
  top: 0;
}

header {
  position: absolute;
  top: 0;
  z-index: 10;
  width: 100%;
  padding: 26px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ffffff30;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 47px;
  height: 47px;
  object-fit: contain;
  clip-path: circle(46.5% at 50% 50%);
}

.brand>span {
  font-family: Manrope,Arial,sans-serif;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 2px;
  line-height: 1;
}

.brand small {
  display: block;
  font-size: 8px;
  letter-spacing: 2px;
  margin-top: 7px;
}

nav {
  display: flex;
  gap: 34px;
  align-items: center;
  font-size: 13px;
}

.nav-visit {
  border: 1px solid #ffffff60;
  padding: 14px 19px;
}

.nav-visit span {
  padding-left: 20px;
}

nav a:hover {
  color: var(--lime);
}

.menu {
  display: none;
}

.hero {
  height: 850px;
  min-height: 700px;
  max-height: 1100px;
  position: relative;
  height: 100svh;
  overflow: hidden;
}

.hero video,.shade {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shade {
  background: linear-gradient(90deg,#10140fc7,#171b1640),linear-gradient(0deg,#171b17c7,transparent 35%);
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 8%;
  transform: translateY(-42%);
}

.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.5;
}

.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--lime);
  border-radius: 50%;
  margin-right: 9px;
}

h1,h2,h3,p {
  margin-top: 0;
}

h1,h2 {
  font-family: Manrope,Arial,sans-serif;
  font-weight: 600;
  letter-spacing: .005em;
  line-height: 1.02;
}

h1 {
  font-size: clamp(80px,8.7vw,145px);
  margin: 25px 0;
}

em {
  font-family: Georgia,serif;
  font-weight: 400;
}

h1 em {
  color: var(--lime);
}

.hero-copy {
  font-size: 20px;
  line-height: 1.5;
  color: #eee;
}

.button {
  display: inline-flex;
  gap: 55px;
  padding: 20px 25px;
  font-size: 13px;
  font-weight: 700;
  align-items: center;
}

.button span {
  font-size: 22px;
}

.lime {
  background: var(--lime);
  color: #20261a;
}

.button:hover {
  transform: translateY(-3px);
  transition: transform .2s;
}

.hero-bottom {
  position: absolute;
  bottom: 30px;
  left: 5%;
  right: 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
}

.hero-bottom>a {
  font-size: 9px;
  letter-spacing: 1.5px;
}

.gatherings {
  background: var(--lime);
  color: var(--ink);
  padding: 35px 8% 45px;
}

.gatherings>div {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.1fr auto;
  gap: 40px;
  align-items: center;
}

.gatherings h2 {
  font-size: 45px;
  margin: 8px 0;
}

.time {
  border-left: 1px solid #3335;
  padding-left: 30px;
}

.time>span,.visit-times span {
  font-size: 9px;
  letter-spacing: 1.5px;
  font-weight: 700;
}

.time strong {
  display: block;
  font-family: Manrope,sans-serif;
  font-size: 39px;
  letter-spacing: -2px;
  margin: 10px 0;
}

.time strong small {
  font-size: 14px;
  letter-spacing: 0;
}

.time p {
  font-size: 12px;
  margin: 0;
}

.circle-link {
  border: 1px solid #3337;
  border-radius: 50%;
  width: 65px;
  height: 65px;
  display: grid;
  place-items: center;
  font-size: 30px;
}

.section {
  padding: 115px 8%;
}

h2 {
  font-size: clamp(45px,4.8vw,78px);
  margin: 20px 0 35px;
}

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
  background: var(--paper);
  color: var(--ink);
}

.about h2 {
  margin-bottom: 0;
}

.about h2 em {
  color: #647d38;
}

.about-copy {
  padding-top: 50px;
}

.about-copy p:not(.large) {
  font-size: 15px;
  line-height: 1.9;
  color: #65665f;
}

.large {
  font-size: 25px;
  line-height: 1.4;
  letter-spacing: -.5px;
}

.text-link {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #aaa;
  padding: 22px 0;
  font-size: 13px;
}

.statement {
  padding: 95px 8%;
  background: #30322e;
}

.statement h2 {
  font-size: clamp(44px,5.5vw,85px);
}

.statement h2>span {
  color: var(--lime);
}

.belief-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 55px;
  margin-top: 65px;
}

.belief-grid article {
  border-top: 1px solid #ffffff40;
  padding-top: 22px;
}

.belief-grid article>span {
  color: var(--lime);
  font-size: 11px;
}

.belief-grid h3 {
  font-size: 22px;
  margin: 28px 0 13px;
  font-weight: 500;
}

.belief-grid p {
  font-size: 14px;
  line-height: 1.8;
  color: #c4c5bf;
  max-width: 300px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
}

.section-heading>p {
  font-size: 14px;
  line-height: 1.8;
  color: #d0d0ca;
  margin-bottom: 40px;
}

.ministry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-top: 30px;
}

.logo-stage {
  height: 310px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.kids .logo-stage {
  background: transparent;
}

.kids .logo-stage img {
  width: 85%;
  max-height: 90%;
  height: auto;
  aspect-ratio: 800/450;
  object-fit: contain;
}

.youth .logo-stage {
  background: transparent;
}

.youth .logo-stage img {
  height: 265px;
  width: 265px;
  object-fit: contain;
  border-radius: 50%;
}

.ministry-info {
  padding: 30px 0;
  display: flex;
  gap: 25px;
  justify-content: space-between;
  border-bottom: 1px solid #ffffff40;
}

.ministry-info h3 {
  font-family: Manrope,sans-serif;
  font-size: 30px;
  font-weight: 500;
  margin: 10px 0;
}

.ministry-info p:last-child {
  font-size: 14px;
  line-height: 1.8;
  color: #c7c7c1;
  max-width: 370px;
}

.ministry-info>a {
  font-size: 28px;
}

.ministry-info .eyebrow {
  color: var(--lime);
  font-size: 9px;
}

.next {
  background: var(--paper);
  color: var(--ink);
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 9%;
}

.next>.eyebrow {
  grid-column: 1/-1;
}

.next h2 {
  margin-top: 20px;
}

.steps {
  padding-top: 15px;
}

details {
  border-bottom: 1px solid #9b9c9280;
}

summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 25px 0;
  font-size: 20px;
  letter-spacing: -.5px;
}

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

summary>span {
  font-size: 10px;
  color: #6c7956;
  letter-spacing: 0;
}

summary b {
  margin-left: auto;
  font-size: 22px;
  font-weight: 400;
}

details[open] summary b {
  transform: rotate(45deg);
}

details p {
  font-size: 14px;
  line-height: 1.8;
  color: #63665d;
  padding-bottom: 15px;
}

details p a {
  text-decoration: underline;
}

.visit {
  background: var(--lime);
  color: var(--ink);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 12%;
}

.visit>div>p:not(.eyebrow) {
  max-width: 490px;
  line-height: 1.7;
}

.visit .large {
  line-height: 1.4!important;
  font-size: 22px;
}

.visit>div>p:not(.large):not(.eyebrow) {
  font-size: 14px;
}

.visit-times {
  display: flex;
  gap: 35px;
  margin: 30px 0;
}

.visit-times p {
  font-size: 12px;
  line-height: 1.9;
  margin-top: 10px;
}

.dark {
  background: var(--ink);
  color: white;
}

.address {
  margin-top: 20px;
  font-size: 11px!important;
}

.faq {
  padding-top: 70px;
}

.faq summary {
  font-size: 18px;
}

.faq p {
  color: #344026;
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 8%;
}

.footer-main img {
  width: 230px;
  height: 140px;
  object-fit: cover;
}

.footer-main p {
  font-family: Manrope,sans-serif;
  letter-spacing: -.5px;
  font-size: 25px;
  line-height: 1.4;
  margin: 0;
}

.footer-main>a {
  font-size: 9px;
  letter-spacing: 1px;
}

.footer-bottom {
  margin: 0 8%;
  padding: 25px 0;
  border-top: 1px solid #ffffff30;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #c6c6c0;
}

@media(min-width:1600px) {
  .hero-content {
    left: 10%;
  }
}

@media(max-width:900px) {
  nav {
    gap: 18px;
  }
  .gatherings>div {
    gap: 20px;
  }
  .time {
    padding-left: 20px;
  }
  .circle-link {
    display: none;
  }
  .gatherings h2 {
    font-size: 35px;
  }
  .time strong {
    font-size: 30px;
  }
  .section {
    padding: 80px 6%;
  }
  .section-heading>p {
    max-width: 230px;
  }
  .logo-stage {
    height: 250px;
  }
  .youth .logo-stage img {
    height: 210px;
    width: 210px;
  }
  .next,.visit {
    gap: 6%;
  }
  .visit-times {
    display: block;
  }
  .hero h1 {
    font-size: 100px;
  }
  .footer-main {
    padding: 35px 6%;
  }
  .footer-main p {
    font-size: 20px;
  }
}

@media(max-width:650px) {
  header {
    padding: 20px 6%;
  }
  .brand>span {
    font-size: 23px;
  }
  .brand img {
    width: 40px;
    height: 40px;
  }
  .menu {
    display: block;
    color: white;
    background: none;
    border: 1px solid #ffffff60;
    padding: 10px;
    font-size: 12px;
  }
  .menu span {
    margin-left: 10px;
  }
  nav {
    display: none;
    position: absolute;
    top: 90px;
    left: 0;
    right: 0;
    background: var(--base);
    padding: 25px 6%;
    flex-direction: column;
    align-items: stretch;
  }
  nav.open {
    display: flex;
  }
  .hero {
    min-height: 710px;
    max-height: 950px;
  }
  .hero-content {
    left: 7%;
    right: 5%;
    transform: translateY(-40%);
  }
  .hero h1 {
    font-size: 83px;
  }
  .hero-copy {
    font-size: 18px;
  }
  .hero-bottom {
    left: 7%;
    right: 7%;
    bottom: 25px;
  }
  .hero-bottom>span {
    font-size: 10px;
    max-width: 150px;
    line-height: 1.7;
  }
  .hero-bottom>a {
    display: none;
  }
  .gatherings {
    padding: 30px 7% 40px;
  }
  .gatherings>div {
    grid-template-columns: 1fr 1fr;
    gap: 25px 10px;
  }
  .gatherings h2 {
    grid-column: 1/-1;
    font-size: 43px;
  }
  .gatherings h2 br {
    display: none;
  }
  .time {
    padding-left: 15px;
  }
  .time p {
    font-size: 11px;
    line-height: 1.6;
  }
  .section {
    padding: 65px 7%;
  }
  .about,.next,.visit {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .about-copy {
    padding-top: 5px;
  }
  .large {
    font-size: 23px;
  }
  h2 {
    font-size: 48px;
  }
  .statement {
    padding: 65px 7%;
  }
  .statement h2 {
    font-size: 42px;
  }
  .belief-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 35px;
  }
  .belief-grid h3 {
    margin-top: 20px;
  }
  .belief-grid p {
    max-width: none;
  }
  .section-heading {
    display: block;
  }
  .section-heading>p {
    max-width: none;
  }
  .ministry-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .logo-stage {
    height: 280px;
  }
  .next>.eyebrow {
    grid-column: auto;
  }
  .next h2 {
    margin-bottom: 5px;
  }
  .visit-times {
    display: flex;
    gap: 22px;
  }
  .visit-times p {
    font-size: 11px;
  }
  .faq {
    padding-top: 30px;
  }
  .footer-main {
    padding: 30px 7%;
    flex-wrap: wrap;
    gap: 25px;
  }
  .footer-main img {
    width: 190px;
    height: 105px;
  }
  .footer-main p {
    font-size: 18px;
  }
  .footer-main>a {
    width: 100%;
  }
  .footer-bottom {
    margin: 0 7%;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 9px;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
  *,*:before,*:after {
    transition: none!important;
  }
}

.arrow {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.circle-link .arrow {
  width: 28px;
  height: 28px;
}

.belief-intro  {
  max-width: 650px;
}

.belief-intro > p  {
  color: #dedfd8;
  line-height: 1.8;
}

.belief-list  {
  max-width: 850px;
  margin-top: 36px;
}

.belief-list details > p  {
  color: #e0e1db;
  max-width: 720px;
  padding-bottom: 0;
}

.belief-list details > p:last-child  {
  padding-bottom: 15px;
}

.belief-list .scripture  {
  color: #c3da9a;
  font-size: 13px;
}

.pastor  {
  background: var(--paper);
  color: var(--ink);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 8%;
}

.pastor img  {
  width: 100%;
  height: auto;
  display: block;
}

.pastor h2  {
  margin-bottom: 24px;
}

.pastor div > p:not(.eyebrow), .giving p  {
  line-height: 1.8;
  max-width: 590px;
}

.giving  {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.giving h2  {
  margin: 0 0 20px;
}

.giving p  {
  margin: 0;
}

.giving .button  {
  flex-shrink: 0;
}

.hero-bottom  {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
}

.hero-bottom > a  {
  grid-column: 3;
  justify-self: end;
}

@media (max-width: 850px)  {
  .menu  {
    display: block;
    color: white;
    background: none;
    border: 1px solid #ffffff60;
    padding: 10px;
    font-size: 12px;
  }
  nav  {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--base);
    padding: 25px 6%;
    flex-direction: column;
    align-items: stretch;
  }
  nav.open  {
    display: flex;
  }
}

@media (max-width: 650px)  {
  .pastor  {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .giving  {
    display: grid;
    justify-items: start;
    gap: 25px;
  }
  .hero-bottom  {
    grid-template-columns: 1fr auto;
  }
}

body:not(:has(.hero)) > header  {
  position: relative;
}

.page-intro, .welcome  {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(30px, 6vw, 95px);
}

.page-intro h1  {
  font-size: clamp(44px, 6vw, 90px);
  max-width: 13ch;
}

.intro-copy, .welcome p:not(.eyebrow), .home-families > p, .invitation > p  {
  max-width: 63ch;
  line-height: 1.75;
  font-size: clamp(16px, 1.4vw, 20px);
}

.page-intro .detail-link  {
  margin-left: 22px;
}

.welcome, .detail-body  {
  color: var(--ink);
  background: var(--paper);
}

.welcome h2  {
  margin-top: 12px;
}

.real-photo  {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.sunday-photo  {
  object-position: center 38%;
}

.home-families h2, .detail-body h2, .invitation h2  {
  margin-top: 0;
}

.family-grid, .detail-grid  {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 8%;
  margin-top: 45px;
}

.family-grid h3, .detail-grid h3  {
  font-size: 25px;
  margin: 12px 0;
}

.family-grid p, .detail-grid p  {
  line-height: 1.8;
  max-width: 56ch;
}

.detail-grid article  {
  padding-top: 12px;
  border-top: 1px solid #252c2440;
}

.detail-grid a  {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ministry-logo  {
  display: block;
  object-fit: contain;
  width: min(100%, 420px);
  aspect-ratio: 1;
  justify-self: center;
}

.youth-mark  {
  border-radius: 50%;
  width: min(72%, 320px);
}

.family-grid .ministry-logo  {
  height: 245px;
  width: 100%;
}

.family-grid .youth-mark  {
  width: 245px;
  max-width: 100%;
}

.detail-link  {
  display: inline-block;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 5px;
  margin: 10px 0;
}

.invitation  {
  background: var(--lime);
  color: var(--ink);
}

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

@media (max-width: 750px)  {
  .page-intro, .welcome, .family-grid, .detail-grid  {
    grid-template-columns: 1fr;
  }
  .page-intro .detail-link  {
    display: block;
    margin: 20px 0 0;
  }
  .family-grid .ministry-logo  {
    margin-inline: auto;
  }
}

.footer-main img  {
  object-fit: contain;
  clip-path: inset(6%);
}

.home-families .kids-mark  {
  transform: scale(1.28);
}

.home-families .family-grid article  {
  min-width: 0;
  overflow: hidden;
}

.welcome:not(:has(img)), .page-intro:not(:has(img))  {
  grid-template-columns: minmax(0, 1fr);
}

.welcome:not(:has(img)) > div, .page-intro:not(:has(img)) > div  {
  max-width: 840px;
}

.home-invitation .actions  {
  align-items: center;
  gap: 12px 24px;
}

.church-photo  {
  aspect-ratio: 5 / 6;
  height: auto;
  max-width: 620px;
  justify-self: center;
}

.thrive-congregation  {
  object-position: center 46%;
}

.thrive-greeter  {
  object-position: center 43%;
}

.thrive-kids-lesson  {
  object-position: center 62%;
}

.visit-details, .kids-invitation  {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  align-items: center;
  gap: clamp(30px, 6vw, 95px);
}

.visit-details .detail-grid  {
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 26px;
}

.kids-invitation p  {
  max-width: 58ch;
  line-height: 1.75;
}

.kids-page-brand  {
  display: block;
  width: 190px;
  height: 92px;
  object-fit: cover;
}

@media (max-width: 750px)  {
  .visit-details, .kids-invitation  {
    grid-template-columns: 1fr;
  }
  .church-photo  {
    max-width: min(100%, 520px);
  }
}

.home-invitation  {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(28px, 5vw, 78px);
}

.city-mural  {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 750px)  {
  .home-invitation  {
    grid-template-columns: 1fr;
  }
}

.pastor  {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr);
  gap: clamp(32px, 6vw, 96px);
}

.pastor h2  {
  margin-top: 0;
  margin-bottom: 18px;
}

.pastor .pastor-names  {
  font-size: 22px;
  font-weight: 700;
}

.give-intro  {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr);
}

.give-intro blockquote  {
  margin: 24px 0 30px;
}

.give-intro blockquote p  {
  margin: 0 0 6px;
  font: italic 24px/1.4 Georgia, serif;
}

.give-intro cite  {
  color: #d7d6cb;
  font-size: 14px;
  font-style: normal;
}

.give-intro .giving-city  {
  aspect-ratio: auto;
  height: auto;
}

@media (max-width: 750px)  {
  .pastor, .give-intro  {
    grid-template-columns: 1fr;
  }
}

#beliefs, .baptism-section  {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(28px, 6vw, 90px);
}

#beliefs  {
  align-items: start;
}

.baptism-section  {
  align-items: center;
}

.baptism-section p  {
  max-width: 60ch;
  line-height: 1.8;
}

.thrive-pastors-portrait  {
  object-position: center 30%;
}

.thrive-baptism  {
  object-position: center 42%;
}

@media (max-width: 750px)  {
  #beliefs, .baptism-section  {
    grid-template-columns: 1fr;
  }
}

nav {
  gap: 22px;
}

.social-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin: 0 8%;
  padding: 20px 0;
  font-size: 14px;
}

.social-links a:hover {
  color: var(--lime);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 8%;
  align-items: start;
}

.contact-layout h1,.watch-intro h1 {
  font-size: clamp(48px,5.6vw,86px);
  max-width: 15ch;
}

.contact-details {
  margin-top: 44px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.contact-form {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(24px,3vw,48px);
}

.contact-form h2 {
  font-size: 34px;
  letter-spacing: .005em;
  margin: 0 0 28px;
}

.contact-form label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin: 22px 0 9px;
}

.contact-form input:not([type=hidden]),.contact-form select,.contact-form textarea {
  display: block;
  width: 100%;
  border: 1px solid #b5b7ae;
  border-radius: 0;
  padding: 14px;
  background: white;
  color: var(--ink);
  font: inherit;
  min-height: 48px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form :is(input,select,textarea):focus-visible {
  outline: 3px solid #68892b;
  outline-offset: 2px;
}

.contact-form .button {
  border: 0;
  margin-top: 12px;
}

.form-note,#kids-help {
  font-size: 13px;
  line-height: 1.6;
  margin-top: 18px;
  color: #55594e;
}

.sermon-section {
  background: var(--paper);
  color: var(--ink);
}

.sermon-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 48px 32px;
}

.sermon:first-child {
  grid-column: 1/-1;
}

.sermon iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  background: #222;
}

.sermon h2 {
  font-size: 26px;
  line-height: 1.3;
  letter-spacing: .005em;
  margin: 20px 0 8px;
}

.sermon:first-child h2 {
  font-size: 34px;
}

.watch-intro {
  padding-bottom: 70px;
}

@media(max-width:1000px) {
  nav {
    gap: 12px;
    font-size: 12px;
  }
}

@media(max-width:850px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media(max-width:650px) {
  .sermon-grid {
    grid-template-columns: 1fr;
  }
  .sermon:first-child h2 {
    font-size: 26px;
  }
}

.upci-affiliation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  background: var(--paper);
  color: #55584f;
  padding: 24px 8%;
  margin-top: 16px;
}

.upci-affiliation img {
  display: block;
  width: 140px;
  height: auto;
}

.upci-affiliation p {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
}

.upci-affiliation p a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media(max-width:650px) {
  .upci-affiliation {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }
}

/* Compact shared footer */
.footer-main {
  padding: 16px 8%;
  justify-content: flex-start;
  gap: 30px;
}

.footer-main img {
  width: 185px;
  height: 100px;
  flex-shrink: 0;
}

.footer-main p {
  font-size: 20px;
  line-height: 1.3;
}

.footer-main .social-links {
  margin: 0 0 0 auto;
  padding: 0;
  gap: 18px;
  font-size: 12px;
}

.footer-main>a {
  white-space: nowrap;
}

.footer-bottom {
  padding: 16px 0;
}

.upci-affiliation {
  margin-top: 0;
  padding: 16px 8%;
  gap: 22px;
}

.upci-affiliation img {
  width: 115px;
}

@media(max-width:1000px) {
  .footer-main {
    flex-wrap: wrap;
    gap: 14px 26px;
  }
  .footer-main .social-links {
    margin-left: auto;
  }
  .footer-main>a {
    margin-left: auto;
  }
}

@media(max-width:650px) {
  .footer-main {
    padding: 14px 7% 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
  }
  .footer-main img {
    width: 165px;
    max-width: 100%;
    height: 88px;
  }
  .footer-main p {
    font-size: 18px;
  }
  .footer-main .social-links {
    margin: 0;
    gap: 12px;
    grid-column: 1/-1;
    font-size: 12px;
  }
  .footer-main>a {
    width: auto;
    grid-column: 1/-1;
    margin: 4px 0 0;
  }
  .upci-affiliation {
    padding: 15px 7%;
    gap: 9px;
  }
  .footer-bottom {
    padding: 14px 0;
    gap: 10px;
  }
}

.compact-footer {
  background: var(--base);
  padding: 18px 7% 0;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  max-width: 1250px;
  margin: auto;
}

.footer-brand {
  display: block;
  position: relative;
  width: 270px;
  height: 125px;
  overflow: hidden;
  flex-shrink: 0;
}

.footer-brand img {
  position: absolute;
  width: 540px;
  max-width: none;
  height: auto;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
}

.footer-row .social-links {
  margin: 0;
  padding: 0;
  gap: 20px;
  font-size: 15px;
  justify-content: center;
}

.footer-upci {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
  flex-shrink: 0;
}

.footer-upci img {
  width: 165px;
  height: auto;
  filter: brightness(0) invert(1);
}

.footer-upci span {
  font-size: 11px;
  line-height: 1.4;
  color: #deded8;
}

.compact-footer .footer-bottom {
  margin: 8px auto 0;
  max-width: 1250px;
  padding: 14px 0;
  font-size: 11px;
}

.sermon iframe {
  min-height: 200px;
}

@media(max-width:850px) {
  .footer-row {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 32px;
  }
  .footer-row .social-links {
    order: 3;
    width: 100%;
    padding-bottom: 10px;
  }
  .footer-brand {
    width: 240px;
    height: 110px;
  }
  .footer-brand img {
    width: 480px;
  }
}

@media(max-width:550px) {
  .compact-footer {
    padding: 16px 6% 0;
  }
  .footer-row {
    gap: 12px;
  }
  .footer-brand {
    width: 190px;
    height: 96px;
  }
  .footer-brand img {
    width: 380px;
  }
  .footer-upci img {
    width: 115px;
  }
  .footer-upci span {
    font-size: 9px;
  }
  .footer-row .social-links {
    font-size: 13px;
    gap: 20px;
  }
  .compact-footer .footer-bottom {
    font-size: 9px;
    gap: 10px;
  }
}

/* Align the two logo marks independently of captions and social links. */
.footer-row {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  grid-template-rows: 110px auto;
  max-width: 620px;
  gap: 8px 32px;
  align-items: center;
  justify-items: center;
}

.footer-brand {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  max-width: 240px;
  height: 110px;
}

.footer-brand img {
  width: 200%;
  height: auto;
}

.footer-upci {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 110px;
}

.footer-upci img {
  width: min(100%,220px);
  height: auto;
}

.footer-row .social-links {
  grid-column: 1/-1;
  grid-row: 2;
  width: auto;
  order: initial;
  margin: 0;
  padding: 10px 0 8px;
  gap: 24px;
  font-size: 13px;
}

@media(max-width:550px) {
  .footer-row {
    grid-template-rows: 84px auto;
    gap: 6px 18px;
  }
  .footer-brand,.footer-upci {
    height: 84px;
  }
  .footer-brand {
    max-width: 200px;
  }
  .footer-brand img {
    width: 200%;
  }
  .footer-upci img {
    width: min(100%,175px);
  }
  .footer-row .social-links {
    gap: 20px;
    font-size: 12px;
  }
}

/* Keep smaller section headings and FAQ titles comfortably spaced. */
h3,summary {
  letter-spacing: .005em;
}

/* Center the two-line wordmark alongside the original circle mark. */
.brand>span {
  display: block;
  font-family: Montserrat,Arial,sans-serif;
  text-align: center;
  white-space: nowrap;
}

.brand small {
  font-family: Montserrat,Arial,sans-serif;
  font-weight: 500;
  text-align: center;
}

/* Consistent word spacing and line spacing for wrapped headings. */
h1,h2,h3 {
  word-spacing: .035em;
}

h1,h2 {
  line-height: 1.12;
}

.next-steps .actions {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  width: min(100%,360px);
}

.next-steps .actions .button {
  width: 100%;
  min-height: 66px;
  justify-content: space-between;
  gap: 18px;
}

.next-steps .actions .button span {
  flex-shrink: 0;
}

.service-time {
  font-weight: 700;
}

.visit-location {
  margin: 36px 0 0;
  padding-top: 24px;
  border-top: 1px solid #252c2440;
  line-height: 1.7;
}

.pastor>div {
  min-width: 0;
}

/* ---------- Added in Thrive Website 1.0 ---------- */

/* Spam trap on the contact form: hidden from people, bots fill it in and FormSubmit discards the message */
.hp {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Top bar: always visible across the top of every page, solid (not see-through) */
:root {
  --header-h: 100px;
}
html {
  scroll-padding-top: calc(var(--header-h) + 10px);
}
header,
body:not(:has(.hero)) > header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--base);
}
/* Home video fills the screen below the top bar */
.hero {
  height: calc(100svh - var(--header-h));
}

/* Rounded buttons */
.button,
#nav .nav-visit,
.menu {
  border-radius: 999px;
}
/* "Plan your visit" as a green rounded bubble */
#nav .nav-visit {
  background: var(--lime);
  color: #20261a;
  border-color: var(--lime);
  font-weight: 700;
}
#nav .nav-visit:hover {
  color: #20261a;
}

/* Thrive Kids logo on the home page: uses kids-logo-trimmed.png (the same logo with
   the empty dark square cut away), shown at the same size as before and sitting
   just above its heading, like the Youth logo */
.home-families .family-grid .kids-mark {
  transform: none;
  width: 316px;
  max-width: 100%;
  height: 245px;
  margin-inline: auto;
  object-fit: contain;
  object-position: center bottom;
  aspect-ratio: auto;
}

@media (max-width: 850px) {
  :root {
    --header-h: 81px;
  }
  .menu {
    padding: 10px 16px;
  }
}

@media (max-width: 750px) {
  .home-families .family-grid .kids-mark {
    height: auto;
  }
}

/* Home video: headline, text and button centered evenly between the top bar
   and the "See you this Sunday" section (same space above and below) */
.hero-content,
.hero .hero-content {
  top: 50%;
  transform: translateY(-50%);
}

/* Home "See you this Sunday": First Word and Worship start at the same line,
   with equal-width columns and matching divider lines */
.gatherings .time {
  align-self: stretch;
}
@media (min-width: 651px) {
  .gatherings > div {
    grid-template-columns: 1.3fr 1fr 1fr auto;
  }
}

/* Home "Find us in Jackson": the address opens directions in the visitor's own maps app */
.address-link {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 600;
  line-height: 1.45;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.address-link .pin {
  flex-shrink: 0;
  margin-top: 4px;
}
.address-link:hover {
  text-decoration-thickness: 2px;
}
.location-times {
  margin: 22px 0 6px;
  padding-top: 18px;
  border-top: 1px solid rgba(41, 43, 39, .3);
  font-size: 15px;
  line-height: 1.9;
}
.location-times strong {
  display: inline-block;
  min-width: 108px;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* Plan your visit: less empty space between "What are the services like?" and
   "A few things to know", with a visible divider line between them */
#services {
  padding-bottom: 64px;
}
#services + .detail-body {
  position: relative;
  padding-top: 64px;
}
#services + .detail-body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: rgba(41, 43, 39, .25);
}
@media (max-width: 900px) {
  #services { padding-bottom: 48px; }
  #services + .detail-body { padding-top: 48px; }
  #services + .detail-body::before { left: 6%; right: 6%; }
}

/* About: "Meet our pastors" heading sits above the photo and text */
.pastor > h2 {
  grid-column: 1 / -1;
  margin: 0 0 8px;
}

/* Give: Tithe.ly note */
.give-note {
  font-size: 15px;
  opacity: .9;
}

/* Watch: one simple section with the newest message large and three more below */
.watch-latest h1 {
  margin-top: 0;
}
.watch-latest .sermon-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 36px;
}
.watch-latest .sermon:first-child {
  grid-column: 1 / -1;
}
.watch-latest .actions {
  margin-top: 36px;
}
@media (max-width: 850px) {
  .watch-latest .sermon-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 650px) {
  .location-times {
    line-height: 1.6;
  }
  .location-times strong {
    display: block;
    min-width: 0;
    margin-top: 10px;
  }
  .location-times br {
    display: none;
  }
}
.pastor > img {
  justify-self: start;
  margin-left: 0;
}

/* Contact form helper text for prayer requests (same look as the Kids helper) */
#prayer-help {
  font-size: 13px;
  line-height: 1.6;
  margin-top: 18px;
  color: #55594e;
}
.form-note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Footer: privacy link beside "Back to top" */
.footer-end {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

/* Privacy policy page */
.policy-section {
  background: var(--paper);
  color: var(--ink);
}
.policy {
  max-width: 760px;
}
.policy h1 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: clamp(42px, 5vw, 68px);
}
.policy h2 {
  font-size: clamp(24px, 2.4vw, 30px);
  margin: 48px 0 12px;
}
.policy p {
  line-height: 1.8;
  max-width: 68ch;
}
.policy .policy-updated {
  font-size: 14px;
  opacity: .75;
  margin-bottom: 32px;
}
.policy a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Simple pages: page not found and message sent */
.simple-page {
  min-height: 62vh;
  display: flex;
  align-items: center;
}
.simple-page-inner {
  max-width: 760px;
}
.simple-page h1 {
  margin-top: 0;
  font-size: clamp(42px, 5.4vw, 76px);
}
.simple-page .actions {
  margin-top: 30px;
}

/* Kids and Youth: safety reassurance */
.safety-note {
  margin-top: 40px;
  max-width: 900px;
  padding: 28px 32px;
  background: #fff;
  border-left: 4px solid var(--lime);
  border-radius: 0 14px 14px 0;
}
.safety-note h3 {
  margin: 0 0 10px;
}
.safety-note p {
  margin: 0;
  line-height: 1.8;
}
@media (max-width: 650px) {
  .safety-note {
    padding: 22px 20px;
  }
}

/* Groups of exactly three cards (Youth, Plan your visit) sit side by side in one row on desktop */
@media (min-width: 1000px) {
  .detail-grid:has(> article:nth-child(3):last-child) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Phones: when buttons stack, they're all the same width */
@media (max-width: 650px) {
  .actions:has(.button + .button) .button,
  .next-steps .actions .button {
    width: 100%;
    justify-content: space-between;
  }
}
