/*
Theme Name: Openhouse CR
Theme URI: https://openhouse.cr/
Author: Atelier bytole
Author URI: https://bytole.com
Description: Custom WordPress theme recreating the Openhouse CR website.
Version: 1.2.4
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.0
Text Domain: openhouse-cr
*/

:root {
  --oh-black: #111111;
  --oh-charcoal: #252525;
  --oh-gray: #6f6f6f;
  --oh-line: #e8e8e8;
  --oh-paper: #ffffff;
  --oh-soft: #f7f7f5;
  --oh-yellow: #f4cc38;
  --oh-orange: #ee7d31;
  --oh-red: #d84b36;
  --oh-max: 1140px;
  --oh-header: 92px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--oh-charcoal);
  background: var(--oh-paper);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
}

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

a:hover,
a:focus {
  color: var(--oh-orange);
}

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

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
}

.site-header.is-scrolled {
  position: fixed;
  background-image: linear-gradient(#602717, #390d04);
  box-shadow: 0 10px 10px -10px rgba(0, 0, 0, 0.35);
}

.header-inner {
  max-width: 1140px;
  min-height: 83px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand img {
  width: 270px;
  max-width: 100%;
}

.site-header .primary-nav a { color: #fff; }

.home-hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: grid;
  place-items: center;
  background-image: linear-gradient(rgba(0,0,0,.70), rgba(0,0,0,.70)), var(--hero-image);
  background-position: center;
  background-size: cover;
  color: #fff;
}

.home-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(0,0,0,.7); }
.home-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-hero__inner { position: relative; z-index: 2; padding: 140px 24px 80px; text-align: center; }
.home-hero h1 {
  margin: 0;
  color: #fff;
  font-family: "Tahu!", Tahu, sans-serif;
  font-size: 200px;
  font-weight: 400;
  line-height: 1.2;
  text-transform: none;
  opacity: 0;
  transform: translateY(100%);
  animation: oh-hero-title 2s cubic-bezier(.77,0,.175,1) .9s forwards;
}

@keyframes oh-hero-title {
  to { opacity: 1; transform: translateY(0); }
}

.home-welcome { display: grid; align-items: center; height: 690px; padding: 0 24px; background: #fff; }
.home-about { height: 404px; padding: 80px 15px 0; background: #fff; }
.home-copy { max-width: 1140px; margin: 0 auto; text-align: center; }
.home-copy h2 { max-width: none; margin: 0; font-size: 24px; font-weight: 400; }
.home-copy p { max-width: none; margin: 0 0 16px; color: #808080; font-size: 18px; }
.home-about .home-copy { max-width: none; }
.home-about .home-copy h2:nth-of-type(2) { margin-top: 5%; }
.home-about .home-copy p { font-size: 14px; }

.home-gallery { height: 530px; padding: 120px 0 0; overflow: hidden; background: #fff; }
.home-gallery__track { display: flex; gap: 0; width: 233.333%; margin: 0; transform: translateX(0); transition: transform .65s ease-in-out; will-change: transform; }
.home-gallery img { width: calc(100% / 7); height: 352px; padding: 0 15px; object-fit: cover; }
.home-gallery__dots { display: flex; justify-content: center; gap: 8px; margin-top: 35px; }
.home-gallery__dots button { width: 14px; height: 14px; padding: 0; border: 1px solid #aaa; border-radius: 50%; background: transparent; cursor: pointer; }
.home-gallery__dots button.is-active { border-color: var(--oh-orange); background: var(--oh-orange); }

.home-beliefs { padding: 120px 24px; background: #556772; color: #fff; }
.home-beliefs__inner { max-width: 1160px; margin: 0 auto; }
.home-beliefs h2 { margin: 0 0 70px; color: #fff; text-align: center; font-size: 40px; font-weight: 400; }
.home-beliefs__copy h3 { display: none; }
.home-beliefs__copy p { margin: 0 0 25px; color: #fff; font-size: 14px; line-height: 1.75; }

.home .site-footer { padding-top: 120px; background: #f6f7f8; color: #3d4247; }
.home .site-footer h2, .home .site-footer h3 { color: #3d4247; font-weight: 300; }
.home .site-footer h2 { font-size: 54px; }
.home .site-footer .footer-heading h2 { font-size: 40px; font-weight: 200; }
.home .site-footer .footer-meta h2 { font-size: 36px; font-weight: 400; }
.home .site-footer .muted { color: #6f7478; }
.home .copyright { border-color: #ddd; color: #777; }

.primary-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}

.primary-nav .menu-item { list-style: none; }
.primary-nav .menu { display: flex; align-items: center; gap: 0; margin: 0; padding: 0; }
.primary-nav a { display: inline-block; margin: 16px 20px; padding: 8px 0; line-height: normal; }
.primary-nav .current-menu-item > a { color: var(--oh-orange); }
.entry-content { max-width: 860px; }
.entry-content > * + * { margin-top: 24px; }
.entry-content h2 { margin-top: 72px; }
.entry-content h3 { margin-top: 40px; }
.entry-content a { color: #a94722; text-decoration: underline; text-underline-offset: 3px; }
.entry-content .wp-block-image img, .page-featured-image { width: 100%; height: auto; }
.form-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.program-section { min-height: 560px; padding: 112px 24px 96px; background: #fff; }
.program-section:first-child { min-height: 750px; padding: 305px 24px 95px; }
.program-section--dark { background: #556772; color: #fff; }
.program-section__inner { display: grid; grid-template-columns: 30% 70%; gap: 0; align-items: center; max-width: 1110px; margin: 0 auto; }
.program-section__image { display: grid; place-items: center; min-width: 0; }
.program-section__image img { width: 100%; max-width: 300px; max-height: 330px; object-fit: contain; }
.program-section__content { min-width: 0; padding-left: 38px; }
.program-section__content h2 { margin: 0 0 18px; color: #ee8738; font-size: 42px; font-weight: 400; line-height: 1.1; }
.program-section__content h5 { margin: 0 0 20px; color: inherit; font-size: 16px; font-weight: 400; }
.program-section__content p { margin: 0 0 18px; font-size: 16px; line-height: 1.65; }
.program-section--reverse .program-section__content { grid-column: 1; grid-row: 1; padding: 0 38px 0 0; color: #777; }
.program-section--reverse .program-section__image { grid-column: 2; grid-row: 1; }
.program-section--reverse .program-section__image img { max-width: 560px; max-height: 350px; }
.program-section--up-street .program-section__image img { max-width: 340px; }
.program-section--insideout .program-section__image img { max-width: 700px; }
.program-section--dark .program-section__content, .program-section--dark .program-section__content h3, .program-section--dark .program-section__content p { color: #fff; }
.groups-hero { min-height: 305px; background: linear-gradient(rgba(0,0,0,.08),rgba(0,0,0,.12)),var(--hero-image) center/cover; }
.interior-content { padding: 120px 24px; }
.interior-content--light { background: #f6f7f8; }
.groups-intro-band { display: grid; place-items: center; height: 298px; padding: 0 24px; background: #f6f7f8; }
.groups-intro { text-align: center; }
.groups-intro h1 { margin: 0; color: #747474; font-size: 28px; font-weight: 400; line-height: 1.25; }
.groups-programs { height: 469px; padding: 0 24px; background: #f6f7f8; }
.groups-program-grid { display: grid; grid-template-columns: repeat(3,350px); gap: 30px; }
.groups-program { color: #818181; }
.groups-program img { width: 288px; height: 288px; margin: 0 auto; object-fit: contain; }
.groups-program h2 { display: none; }
.groups-program p { margin: 22px 0 0; color: #818181; font-size: 14px; line-height: 1.7; text-align: justify; }
.groups-life-logo { display: grid; place-items: start center; height: 311px; background: #f6f7f8; }
.groups-life-logo img { width: 288px; height: 288px; object-fit: contain; }
.groups-life-copy { height: 87px; background: #f6f7f8; }
.groups-life-copy > div { width: 730px; margin: 0 auto; }
.groups-life-copy h2 { display: none; }
.groups-life-copy p { margin: 0 0 16px; color: #818181; font-size: 14px; line-height: 1.7; text-align: justify; }
.groups-photos { height: 401px; padding: 83px 24px 0; background: #f6f7f8; }
.groups-photos > .container { display: grid; grid-template-columns: repeat(3,350px); gap: 30px; }
.groups-photos img { width: 350px; height: 233px; object-fit: cover; }
.groups-faq { padding: 0 24px; background: #f6f7f8; }
.groups-faq > .container { min-height: 719px; padding-top: 0; }
.groups-faq h2 { margin: 0 0 20px; color: #384141; text-align: left; font-size: 48px; font-weight: 400; text-transform: uppercase; }
.groups-faq h3 { margin: 0 0 20px; color: #384141; font-size: 24px; font-weight: 400; }
.groups-faq p, .groups-faq li { color: #818181; font-size: 14px; line-height: 1.7; }
.groups-faq p { margin: 0 0 16px; }
.groups-faq ul { height: 90px; margin: 0; padding-left: 5%; list-style: none; }
.groups-signup { display: block; width: 283px; margin: 0 auto; }
.groups-signup img { display: block; width: 100%; height: auto; }
.groups-bootcamp { height: 582px; padding: 0 24px; background: #f6f7f8; }
.groups-bootcamp__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.groups-bootcamp__logo { width: min(666px,100%); height: 375px; margin: 0 auto; object-fit: contain; }
.groups-bootcamp h2 { display: none; }
.groups-bootcamp__copy { width: 1110px; max-width: 100%; }
.groups-bootcamp p { margin: 0 0 16px; color: #818181; font-size: 14px; line-height: 1.7; }
.groups-bootcamp-photos { height: 365px; padding: 60px 24px 0; background: #f6f7f8; }
.groups-bootcamp__photos { display: grid; grid-template-columns: repeat(2,342px); justify-content: center; gap: 67px; }
.groups-bootcamp__photos img { width: 342px; height: 245px; object-fit: cover; }
.care-intro { padding: 308px 24px 186px; background: #64727d; }
.care-intro__inner { text-align: center; }
.care-intro img { width: min(309px,70vw); margin: 0 auto 120px; }
.care-copy { max-width: 1110px; margin: 0 auto; }
.care-copy h1, .care-copy h2 { margin: 0 0 32px; color: #ffa500; text-align: center; font-size: 24px; font-weight: 400; }
.care-copy p { margin: 0 0 22px; font-size: 15px; line-height: 1.65; }
.care-intro .care-copy p { color: #fff; text-align: left; }
.care-counseling { padding: 100px 24px 63px; background: #fff; }
.care-counseling .care-copy p, .care-marriage .care-copy p { color: #818181; }
.care-counseling a, .care-marriage a { color: #eaa025; }
.care-cta { display: block; margin-left: auto; margin-right: auto; }
.care-cta--primary { width: 283px; margin-top: 35px; }
.care-cta--marriage { width: 162px; margin: 24px 0 0; }
.care-cta img { width: 100%; height: auto; }
.care-marriage { padding: 0 24px 120px; background: #fff; }
.care-marriage h2 { margin: 0; padding: 0 0 18px; border-bottom: 1px solid #e3e3e3; color: #ffa500; text-align: center; font-size: 24px; font-weight: 400; }
.care-marriage__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 45px; align-items: center; padding-top: 25px; }
.care-marriage img { width: 100%; max-height: 380px; object-fit: cover; }
.next-hero { display: grid; place-items: center; min-height: 100vh; background: linear-gradient(rgba(0,0,0,.68),rgba(0,0,0,.68)),var(--hero-image) center/cover; }
.next-hero h1 { margin: 0; color: #fff; font: 400 200px/1.2 "Tahu!",Tahu,sans-serif; opacity: 0; transform: translateY(100%); animation: oh-hero-title 2s cubic-bezier(.77,0,.175,1) .9s forwards; }
.next-content { padding: 0; overflow: hidden; background: #000; color: #fff; }
.next-content__inner { width: 100%; }
.next-content h1, .next-content h2, .next-content h3, .next-content h4, .next-content h5, .next-content p, .next-content li { color: #fff; }
.next-content a { color: #536dff; text-decoration: underline; }
.next-intro { max-width: 850px; margin: 0 auto; padding: 60px 24px 30px; text-align: center; }
.next-intro p { margin: 0 0 24px; font-size: 18px; line-height: 1.75; }
.next-question { display: flex; align-items: center; justify-content: flex-end; gap: 0; max-width: 1140px; margin: 36px auto 54px; padding: 0; }
.next-question > .wp-block-group__inner-container { display: flex; align-items: center; justify-content: flex-end; gap: 0; width: 100%; }
.next-question figure { width: 247px; margin: 0; }
.next-question img { width: 247px; height: 50px; }
.next-question h2 { margin: 0; font-size: 48px; font-weight: 400; }
.next-question:first-of-type h2 { width: 411px; text-align: right; }
.next-stages + .next-question { justify-content: flex-start; padding-left: 60px; }
.next-stages + .next-question > .wp-block-group__inner-container { justify-content: flex-start; }
.next-stages { max-width: 1140px; margin: 0 auto; padding: 0 24px 100px; }
.next-stage { margin: 0 0 64px; }
.next-stage h3 { margin: 0 0 26px; color: #ef8539; font-size: 24px; font-weight: 500; }
.next-stage > p:first-of-type { text-align: left; }
.next-stage p { margin: 0 0 18px; font-size: 18px; line-height: 1.6; }
.next-stage .next-recommendation { text-align: center; }
.next-stage .next-recommendation em { display: block; }
.next-paths { padding: 20px 0 90px; }
.next-path { min-height: 245px; padding: 30px 0; }
.next-path > .wp-block-group__inner-container { display: grid; grid-template-columns: 147px minmax(0,1fr); gap: 279px; align-items: center; width: 100%; }
.next-path__dot { display: grid; place-items: center; }
.next-path__dot img { width: 147px; height: 147px; object-fit: contain; }
.next-path__copy h5 { margin: 0 0 24px; font-size: 16px; font-weight: 500; }
.next-path__copy p { margin: 0 0 18px; font-size: 15px; line-height: 1.65; }
.oh-reveal { opacity: 0; transform: translateY(44px); transition: opacity .85s ease,transform .85s ease; }
.oh-reveal--left { transform: translateX(-50px); transition-duration: 1s; }
.oh-reveal.is-visible { opacity: 1; transform: translateY(0); }
.oh-reveal--left.is-visible { transform: translateX(0); }
.donate-page { min-height: 1039px; padding: 351px 24px 20px; background: #556772; color: #fff; }
.donate-page h1, .donate-page h2, .donate-page h3, .donate-page h4, .donate-page p { color: #fff; }
.donate-page h1 { margin: 0 0 42px; font-size: 48px; font-weight: 400; text-align: center; }
.donate-page h4 { margin-left: 5%; font-size: 18px; font-weight: 500; }
.donate-page h4 + p { margin-left: 5%; }

.sidemenu-btn {
  position: absolute;
  right: 20px;
  width: 36px;
  padding: 6px;
  margin: 1px 16px 0 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.sidemenu-btn span:not(.screen-reader-text) {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  transition: width .3s ease;
}
.sidemenu-btn span:nth-child(2) { width: 75%; margin: 4px 0 4px auto; }
.sidemenu-btn span:nth-child(3) { width: 45%; margin-left: auto; transition-duration: .6s; }
.sidemenu-btn:hover span:nth-child(2), .sidemenu-btn:hover span:nth-child(3) { width: 100%; }

.side-menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1610;
  width: 40%;
  height: 100vh;
  overflow: hidden;
  background-image: linear-gradient(#602717, #390d04);
  transform: translate3d(100%,0,0);
  transition: transform .5s ease-in-out;
}
.side-menu.is-open { transform: translate3d(0,0,0); }
.side-menu__inner {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  height: 100%;
  overflow-y: auto;
  padding: 72px 64px;
}
.side-menu__close {
  position: absolute;
  top: 24px;
  right: 20px;
  width: 33px;
  height: 33px;
  margin-right: 24px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.side-menu__close::before, .side-menu__close::after { content: ""; position: absolute; top: 5px; left: 16px; width: 2px; height: 24px; background: #fff; }
.side-menu__close::before { transform: rotate(45deg); }
.side-menu__close::after { transform: rotate(-45deg); }
.side-nav { width: 100%; margin-bottom: 30px; }
.side-nav .menu { margin: 0; padding: 0; }
.side-nav .menu-item { margin: 8px 0; list-style: none; opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.side-menu.is-open .menu-item { opacity: 1; transform: translateY(0); }
.side-nav .menu-item:nth-child(1) { transition-delay: .1s; }
.side-nav .menu-item:nth-child(2) { transition-delay: .2s; }
.side-nav .menu-item:nth-child(3) { transition-delay: .3s; }
.side-nav .menu-item:nth-child(4) { transition-delay: .4s; }
.side-nav .menu-item:nth-child(5) { transition-delay: .5s; }
.side-nav .menu-item:nth-child(6) { transition-delay: .6s; }
.side-nav a { position: relative; display: inline-table; padding: 5px 0; color: #fff; font-family: Montserrat, Arial, sans-serif; font-size: 24px; font-weight: 300; }
.side-nav a::before { content: ""; position: absolute; bottom: 0; left: 0; width: 0; height: 3px; background: #fff; transition: width .5s cubic-bezier(0,0,.2,1); }
.side-nav a:hover { color: #fff; }
.side-nav a:hover::before { width: 100%; }
.side-menu__footer { width: 100%; }
.side-menu-overlay { display: none; position: fixed; inset: 0; z-index: 1031; width: 100%; height: 100%; border: 0; background: rgba(0,0,0,.5); cursor: pointer; }
.menu-open .side-menu-overlay { display: block; }
.menu-open { overflow: hidden; }

.social-row {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 20px;
}

.social-row img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.hero {
  min-height: 78vh;
  display: grid;
  place-items: end start;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.44)), var(--hero-image);
  background-size: cover;
  background-position: center;
  color: #fff;
}

.hero-inner {
  width: min(var(--oh-max), calc(100% - 48px));
  margin: 0 auto;
  padding: 120px 0 88px;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-family: Montserrat, Arial, sans-serif;
  font-size: clamp(42px, 6vw, 84px);
  line-height: 1;
  letter-spacing: 0;
  color: #fff;
}

.hero p {
  max-width: 650px;
  margin: 22px 0 0;
  font-size: 20px;
}

.section {
  padding: 86px 24px;
}

.section.soft {
  background: var(--oh-soft);
}

.container {
  max-width: var(--oh-max);
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
}

.eyebrow {
  font-family: Montserrat, Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--oh-orange);
}

h1,
h2,
h3,
h4 {
  font-family: Montserrat, Arial, sans-serif;
  color: var(--oh-black);
  line-height: 1.16;
  letter-spacing: 0;
}

h1 { font-size: clamp(34px, 5vw, 58px); }
h2 { font-size: clamp(28px, 4vw, 46px); }
h3 { font-size: 25px; }
h4 { font-size: 17px; }

.intro-grid,
.two-column,
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

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

.content-card {
  border: 1px solid var(--oh-line);
  border-radius: 6px;
  padding: 30px;
  background: var(--oh-paper);
}

.beliefs {
  display: grid;
  gap: 24px;
}

.belief {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--oh-line);
}

.belief strong {
  display: block;
  margin-bottom: 6px;
  font-family: Montserrat, Arial, sans-serif;
  color: var(--oh-black);
}

.carousel {
  display: grid;
  grid-template-columns: repeat(7, minmax(260px, 1fr));
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
}

.carousel img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  scroll-snap-align: start;
}

.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 2px solid var(--oh-black);
  background: var(--oh-black);
  color: #fff;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.button.secondary {
  background: transparent;
  color: var(--oh-black);
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d5d5d5;
  border-radius: 0;
  padding: 14px 16px;
  font: inherit;
}

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

.footer-form-column .button {
  min-width: 150px;
  min-height: 54px;
  padding: 0 32px;
  border: 0;
  border-radius: 28px;
  background: #c7650c;
  font-size: 16px;
  font-weight: 500;
  text-transform: none;
}

.footer-form-column .button:hover,
.footer-form-column .button:focus-visible {
  background: #ad5507;
}

.site-footer { padding: 120px 24px 0; background: #f6f7f8; color: #808080; }
.site-footer--compact { padding: 0; }
.site-footer--compact .copyright { margin-top: 0; min-height: 174px; display: grid; place-items: center; }
.site-footer h2, .site-footer h3 { color: #384141; }
.site-footer .muted { color: #808080; }
.footer-heading { margin-bottom: 42px; text-align: center; }
.footer-heading h2 { margin: 0 0 22px; font-size: 48px; font-weight: 200; }
.footer-heading p { margin: 0; font-size: 15px; }
.footer-grid { gap: 30px; }
.footer-form-column { grid-column: 1; grid-row: 1; padding: 0 15px; }
.footer-meta { grid-column: 2; grid-row: 1; padding: 0 15px; text-align: left; }
.footer-meta h2 { margin: 0 0 24px; font-size: 48px; font-weight: 400; }
.footer-meta .social-row img { width: 46px; height: 46px; }
.footer-meta .social-row a:nth-child(3) img, .footer-meta .social-row a:nth-child(4) img { width: 58px; height: 58px; }
.footer-meta .social-row a:last-child img { width: 36px; height: 36px; }

.copyright { margin: 70px auto 0; padding: 16px 24px; color: #808080; text-align: center; font-size: 15px; }
.copyright a { color: #fd7e14; }
.contact-status { color: #b42318; }
.contact-confirmation { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; }
.contact-confirmation__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.43); }
.contact-confirmation__dialog { position: relative; width: min(585px,calc(100% - 40px)); min-height: 210px; padding: 55px 25px 20px; border-radius: 6px; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.2); color: #555; }
.contact-confirmation__dialog p { max-width: 470px; margin: 0; font-size: 20px; line-height: 1.25; }
.contact-confirmation__dialog button { position: absolute; right: 22px; bottom: 18px; min-width: 90px; padding: 10px 24px; border: 3px solid #cbe8f6; border-radius: 7px; background: #69c5ed; color: #fff; font: 600 16px Montserrat,Arial,sans-serif; cursor: pointer; }

@media (max-width: 900px) {
  .primary-nav.desktop-nav {
    display: none;
  }

  .header-inner { min-height: 76px; }
  .brand img { width: 230px; }
  .side-menu { width: 80%; }
  .side-menu__inner { padding: 32px 40px; }

  .intro-grid,
  .two-column,
  .footer-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 62px 22px;
  }

  .hero {
    min-height: 68vh;
  }

  .home-hero { min-height: 82vh; }
  .home-hero h1, .next-hero h1 { font-size: 82px; }
  .home-welcome, .home-about { padding: 82px 22px; }
  .home-copy--columns { grid-template-columns: 1fr; gap: 18px; }
  .home-gallery { padding: 96px 0 0; overflow: hidden; }
  .home-gallery__track { width: 700%; }
  .home-gallery img { width: calc(100% / 7); padding: 0 15px; }
  .home-beliefs { padding: 90px 22px; }
  .home-beliefs h2 { margin-bottom: 48px; font-size: 34px; }
  .site-footer, .home .site-footer { padding-top: 82px; }
  .footer-form-column, .footer-meta { grid-column: 1; grid-row: auto; }
  .program-section, .program-section:first-child { min-height: 0; padding: 130px 22px 90px; }
  .program-section__inner { grid-template-columns: 1fr; }
  .program-section__image,
  .program-section--reverse .program-section__image { grid-column: 1; grid-row: 1; }
  .program-section__content,
  .program-section--reverse .program-section__content { grid-column: 1; grid-row: 2; padding: 0; }
  .program-section__image img,
  .program-section--reverse .program-section__image img { width: min(360px,86%); margin: 0 auto 38px; }
  .program-section__content h2 { font-size: 38px; }
  .groups-hero { min-height: 62vh; }
  .groups-programs { height: auto; padding-bottom: 70px; }
  .groups-program-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .groups-life-copy { height: auto; padding: 0 24px 50px; }
  .groups-life-copy > div { width: auto; max-width: 730px; }
  .groups-photos { height: auto; padding-bottom: 70px; }
  .groups-photos > .container { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .care-marriage__inner { grid-template-columns: 1fr; }
  .next-question { flex-direction: column; gap: 16px; text-align: center; }
  .next-question > .wp-block-group__inner-container { flex-direction: column; gap: 16px; }
  .next-question h2 { font-size: 36px; }
  .next-path > .wp-block-group__inner-container { grid-template-columns: 170px minmax(0,1fr); gap: 28px; }
}

@media (max-width: 576px) {
  .header-inner { padding: 0 15px; }
  .brand img { width: 190px; }
  .sidemenu-btn { margin-right: 0; }
  .side-menu { width: 100%; }
  .side-menu__inner { padding: 32px 65px; }
  .side-menu__close { right: 15px; margin-right: 11px; }
  .side-nav a { font-size: 18px; }
  .home-hero h1, .next-hero h1 { font-size: 62px; }
  .next-intro { padding-top: 70px; }
  .next-intro p, .next-stage p { font-size: 16px; }
  .next-stages { padding-bottom: 60px; }
  .next-path { min-height: 0; padding-top: 44px; padding-bottom: 44px; text-align: center; }
  .next-path > .wp-block-group__inner-container { grid-template-columns: 1fr; }
  .next-path__dot img { width: 120px; height: 120px; }
  .groups-hero { min-height: 240px; }
  .groups-intro-band { height: auto; min-height: 250px; }
  .groups-program-grid, .groups-photos > .container { grid-template-columns: 1fr; }
  .groups-program { width: 100%; }
  .groups-program img, .groups-photos img { margin-left: auto; margin-right: auto; }
  .groups-bootcamp__photos { grid-template-columns: 1fr; }
  .groups-bootcamp__photos img { height: auto; }
  .groups-programs { padding: 0 22px 75px; }
  .groups-intro h1 { font-size: 23px; }
  .care-intro { padding-top: 145px; }
  .care-intro img { margin-bottom: 65px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero h1, .next-hero h1, .oh-reveal { opacity: 1; transform: none; animation: none; transition: none; }
}
