/* Careers page (/careers). Desktop measured at 1440px, mobile at 390px (same conventions as site.css).
   The application itself lives on careers.childtherapycenterla.com. */

.js [data-anim="rise"] { transform: translateY(34px); transition: opacity .9s cubic-bezier(.16, 1, .3, 1) var(--d, 0s), transform 1s cubic-bezier(.16, 1, .3, 1) var(--d, 0s); }
.js [data-anim="rise"].is-in { transform: none; }
.js [data-anim="rise"].is-in.tilt { transition: opacity .9s cubic-bezier(.16, 1, .3, 1) var(--d, 0s), transform .3s ease-in-out; }

.cr-script { display: block; text-align: center; transform-origin: center; }
.btn.cr-btn { margin-top: 32px; width: 257px; height: 48px; font-size: 16.9px; }

/* ---------- Hero ---------- */
.sec--cr-hero { overflow: clip; }
.cr-hero { position: relative; height: auto; display: grid; grid-template-columns: 1fr 560px; column-gap: 70px; align-items: center; padding: 150px 101px 90px; }
.cr-hero__title { margin-top: 12px; max-width: 640px; }
.cr-hero__lead { margin-top: 22px; max-width: 540px; }
.cr-hero__note { margin-top: 14px; font-size: 14.4px; line-height: 20px; opacity: .75; }
.cr-hero__media { position: relative; height: 590px; }
.cr-hero__dome { position: absolute; left: -30px; bottom: 0; width: 430px; height: auto; }
.cr-hero__photo { position: absolute; right: 0; top: 0; width: 430px; height: 560px; border-radius: 999px 999px 32px 32px; object-fit: cover; object-position: 62% 50%; box-shadow: 0 30px 60px -35px rgba(40, 71, 52, .55); animation: cr-pop 1.1s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes cr-pop { from { opacity: 0; transform: scale(.94) translateY(24px); } to { opacity: 1; transform: none; } }
.cr-hero__clover { position: absolute; right: -44px; top: 300px; width: 110px; height: auto; animation: lx-spin 40s linear infinite; }
.cr-hero__card { position: absolute; left: 0; bottom: 46px; width: 300px; padding: 22px 26px 24px; border-radius: 26px; background: var(--white); box-shadow: 0 30px 60px -40px rgba(40, 71, 52, .5); }
.cr-hero__card-k { font-size: 13px; line-height: 18px; letter-spacing: .08em; text-transform: uppercase; opacity: .65; }
.cr-hero__card .t-h5 { margin-top: 8px; }

/* ---------- Perks ---------- */
.cr-perks { height: auto; padding: 92px 101px 110px; }
.cr-grid { margin-top: 50px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.cr-perk { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 34px 32px 38px; border-radius: 33.75px; text-align: left; cursor: pointer; }
.cr-perk:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
.cr-perk__plus { position: absolute; right: 22px; top: 22px; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(242, 242, 231, .7); transition: background-color .25s ease, transform .35s cubic-bezier(.16, 1, .3, 1); }
.cr-perk__plus svg { width: 16px; height: 16px; fill: none; stroke: var(--green); stroke-width: 1.6; stroke-linecap: round; }
.cr-perk:hover .cr-perk__plus { background: var(--cream); transform: rotate(90deg); }
.cr-perk__icon { display: flex; align-items: center; justify-content: center; width: 86px; height: 84px; }
.cr-perk__icon img { max-width: 86px; max-height: 84px; }
.cr-perk__title { margin-top: 18px; }
.cr-perk__p { margin-top: 12px; max-width: 340px; }

/* ---------- Who we're looking for ---------- */
.cr-fit { height: auto; display: grid; grid-template-columns: 540px 1fr; column-gap: 96px; align-items: start; padding: 104px 101px 108px; }
.cr-fit__title { margin-top: 12px; }
.cr-fit__p { margin-top: 24px; }
.cr-fit__list { display: flex; flex-direction: column; gap: 18px; padding-top: 8px; list-style: none; }
.cr-fit-card { padding: 24px 28px 26px; border-radius: 26px; }
.cr-team { display: flex; align-items: center; gap: 18px; margin-top: 36px; }
.cr-team__faces { display: flex; }
.cr-face { display: block; width: 52px; height: 52px; margin-left: -14px; border-radius: 50%; border: 3px solid var(--cream); overflow: hidden; transition: transform .35s cubic-bezier(.16, 1, .3, 1); }
.cr-face:first-child { margin-left: 0; }
.cr-face:hover { transform: translateY(-5px); z-index: 1; }
.cr-face img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.cr-team__label { display: inline-flex; align-items: center; gap: 12px; font-size: 18px; line-height: 24px; }
.cr-team__label svg { width: 24px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s cubic-bezier(.16, 1, .3, 1); }
.cr-team__label:hover { color: var(--brown); }
.cr-team__label:hover svg { transform: translateX(6px); }

/* ---------- How to apply ---------- */
.cr-steps { height: auto; padding: 92px 146px 110px; }
.cr-steps__list { margin: 48px auto 0; padding: 0; display: grid; grid-template-columns: repeat(3, 332px); column-gap: 24px; justify-content: center; list-style: none; text-align: center; }
.cr-step { display: flex; flex-direction: column; align-items: center; padding: 34px 28px 36px; border-radius: 30px; background: var(--cream); }
.cr-step__n { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: var(--cream); font-size: 15px; line-height: 1; }
.cr-step__icon { display: flex; align-items: center; justify-content: center; width: 101px; height: 99px; margin-top: 12px; }
.cr-step__icon img { max-width: 101px; max-height: 99px; }
.cr-step .t-h5 { margin-top: 12px; max-width: 240px; }
.cr-step__p { margin-top: 12px; max-width: 262px; font-size: 16.2px; line-height: 25.92px; }

/* ---------- Closing ---------- */
.cr-close { height: auto; display: grid; grid-template-columns: 340px 1fr; column-gap: 80px; align-items: center; padding: 90px 101px 96px; }
.cr-close__photo { width: 340px; height: 340px; border-radius: 50%; object-fit: cover; }
.cr-close__p { margin-top: 22px; max-width: 600px; }

/* ---------- Perk popup (shares the .fb-modal shell from site.css) ---------- */
.info-modal__panel { max-width: 520px; padding: 36px 36px 34px; transition: opacity .35s ease, transform .45s cubic-bezier(.16, 1, .3, 1), background-color .2s ease; }
.info-modal__panel.bg-peach { background: var(--peach); }
.info-modal__panel.bg-yellow { background: var(--yellow); }
.info-modal__panel.bg-blue { background: var(--blue); }
.info-modal__icon { display: flex; align-items: center; width: 80px; height: 78px; }
.info-modal__icon img { max-width: 80px; max-height: 78px; }
.info-modal__kicker { margin-top: 18px; font-size: 13px; line-height: 18px; letter-spacing: .08em; text-transform: uppercase; opacity: .65; }
.info-modal__title { margin-top: 6px; }
.info-modal__body { margin-top: 16px; font-size: 16.2px; line-height: 25.92px; }
.info-modal__body p + p { margin-top: 12px; }
.info-modal__body ul { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.info-modal__body li { position: relative; padding: 12px 16px 12px 40px; border-radius: 16px; background: rgba(242, 242, 231, .7); }
.info-modal__body li::before { content: ""; position: absolute; left: 16px; top: 20px; width: 11px; height: 11px; border-radius: 50%; background: var(--green); }
.btn.info-modal__btn { margin-top: 26px; width: 100%; height: 50px; font-size: 16.9px; background: var(--green); color: var(--cream); }
.btn.info-modal__btn:hover { background: var(--brown); }

@media (prefers-reduced-motion: reduce) { .cr-hero__photo, .cr-hero__clover { animation: none; } }

/* ---------- Mobile ---------- */
@media (max-width: 1023px) {
  .btn.cr-btn { margin-top: 24px; width: 100%; max-width: 330px; height: 45px; }

  .cr-hero { display: block; padding: 36px 30px 50px; }
  .cr-hero__title { margin-top: 8px; max-width: 330px; }
  .cr-hero__lead { margin-top: 14px; max-width: 330px; font-size: 16.2px; line-height: 25.92px; }
  .cr-hero__media { margin-top: 38px; height: 420px; }
  .cr-hero__dome { left: -50px; width: 270px; }
  .cr-hero__photo { right: 0; width: 270px; height: 350px; }
  .cr-hero__clover { right: -20px; top: 28px; width: 70px; }
  .cr-hero__card { left: 0; bottom: 0; width: 236px; padding: 16px 18px 18px; border-radius: 22px; }
  .cr-hero__card .t-h5 { font-size: 17px; line-height: 22px; }

  .cr-perks { padding: 50px 30px 60px; }
  .cr-grid { margin-top: 28px; grid-template-columns: 1fr; gap: 16px; }
  .cr-perk { padding: 26px 24px 28px; border-radius: 30px; }
  .cr-perk__plus { right: 18px; top: 18px; width: 36px; height: 36px; }
  .info-modal__panel { padding: 28px 22px 24px; }
  .cr-perk__icon { width: 72px; height: 70px; }
  .cr-perk__icon img { max-width: 72px; max-height: 70px; }
  .cr-perk__title { margin-top: 12px; }
  .cr-perk__p { margin-top: 8px; font-size: 15px; line-height: 24px; }

  .cr-fit { display: block; padding: 52px 30px 56px; }
  .cr-fit__title { margin-top: 8px; }
  .cr-fit__p { margin-top: 16px; font-size: 16.2px; line-height: 25.92px; }
  .cr-team { margin-top: 24px; flex-wrap: wrap; row-gap: 12px; }
  .cr-face { width: 46px; height: 46px; }
  .cr-fit__list { margin-top: 34px; gap: 14px; padding-top: 0; }
  .cr-fit-card { padding: 18px 20px 20px; border-radius: 22px; }
  .cr-fit-card .t-h5 { font-size: 18px; line-height: 24px; }

  .cr-steps { padding: 50px 25px 60px; }
  .cr-steps__list { margin-top: 26px; grid-template-columns: 1fr; row-gap: 16px; }
  .cr-step { padding: 26px 22px 28px; border-radius: 26px; }
  .cr-step__icon { width: 86px; height: 85px; margin-top: 10px; }
  .cr-step__icon img { max-width: 86px; max-height: 85px; }
  .cr-step__p { max-width: 290px; font-size: 15px; line-height: 24px; }

  .cr-close { display: block; padding: 50px 30px 56px; }
  .cr-close__photo { width: 220px; height: 220px; }
  .cr-close__copy { margin-top: 28px; }
  .cr-close__p { margin-top: 14px; font-size: 16.2px; line-height: 25.92px; }
}
