/* 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); }

/* ---------- Application (/careers/apply) and its thank-you page ---------- */
.sec--ap { background: var(--cream); }
.ap { height: auto; padding: 148px 0 120px; }
.ap__shape { position: absolute; height: auto; }
.ap__shape--dome { left: 40px; bottom: 0; width: 380px; }
.ap__shape--clover { right: 150px; top: 176px; width: 118px; animation: lx-spin 40s linear infinite; }
.ap__shape--ring { right: -50px; bottom: 150px; width: 250px; transform: rotate(-90deg); }
.ap-card { position: relative; z-index: 1; display: block; width: 780px; margin: 0 auto; padding: 40px 56px 34px; border-radius: 40px; background: var(--white); box-shadow: 0 40px 80px -50px rgba(40, 71, 52, .45); }
.ap-progress__meta { display: flex; justify-content: space-between; font-size: 13px; line-height: 18px; letter-spacing: .08em; text-transform: uppercase; }
.ap-progress__meta span { opacity: .65; }
.ap-progress__home { opacity: .65; transition: opacity .2s ease; }
.ap-progress__home::before { content: "\2190\00a0\00a0"; }
.ap-progress__home:hover { opacity: 1; }
.ap-progress__track { margin-top: 10px; height: 6px; border-radius: 6px; background: rgba(40, 71, 52, .12); overflow: hidden; }
.ap-progress__track span { display: block; width: 16.666%; height: 100%; border-radius: 6px; background: var(--green); transition: width .5s cubic-bezier(.16, 1, .3, 1); }

.ap-step { min-width: 0; margin: 34px 0 0; padding: 0; border: 0; }
.ap-step:not([hidden]) { animation: ap-in .45s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes ap-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.ap-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ap-kicker { font-size: 24px; line-height: 30px; }
.ap-title { margin-top: 6px; }
.ap-title:focus { outline: none; }
.ap-lead { margin-top: 10px; max-width: 560px; opacity: .85; }
.ap-fields { margin-top: 28px; gap: 20px 16px; }
.ap-fields > .ap-group, .ap-fields > .ap-tip, .ap-fields > .ap-review, .ap-fields > .ap-consent, .ap-fields > .ap-privacy { grid-column: 1 / -1; }
.ap-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.ap-fields .wf-field label, .ap-group > legend, .ap-label { display: block; margin: 0 0 6px 2px; padding: 0; font-size: 16.2px; line-height: 23px; }
.ap-hint { display: block; margin: -2px 0 8px 2px; font-size: 13.5px; line-height: 19px; opacity: .7; }

.ap-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-top: 4px; }
.ap-choice { position: relative; display: flex; align-items: center; gap: 12px; padding: 13px 16px; border: 1.5px solid rgba(40, 71, 52, .22); border-radius: 16px; font-size: 15.5px; line-height: 21px; cursor: pointer; transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease; }
.ap-choice input, .ap-method input, .ap-consent input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.ap-choice__dot { flex: none; width: 18px; height: 18px; border: 1.5px solid rgba(40, 71, 52, .4); border-radius: 50%; transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease; }
.ap-choice:hover, .ap-method:hover, .ap-consent:hover, .ap-upload:hover { border-color: var(--green); }
.ap-choice:has(input:checked), .ap-method:has(input:checked) { border-color: var(--green); background: rgba(147, 187, 194, .28); }
.ap-choice:has(input:checked) .ap-choice__dot { border-color: var(--green); background: var(--green); box-shadow: inset 0 0 0 3.5px var(--white); }
.ap-choice:has(input:focus-visible), .ap-method:has(input:focus-visible), .ap-consent:has(input:focus-visible), .ap-upload:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(147, 187, 194, .55); }

.ap-upload { position: relative; display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1.5px dashed rgba(40, 71, 52, .35); border-radius: 20px; background: var(--cream); cursor: pointer; transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease; }
.ap-upload input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.ap-upload__icon, .ap-method__icon { flex: none; display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: var(--blue); transition: background-color .2s ease; }
.ap-upload__icon svg, .ap-method__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ap-upload--video .ap-upload__icon svg { margin-left: 3px; fill: var(--green); stroke: none; }
.ap-upload__text, .ap-method__text { min-width: 0; }
.ap-upload__text strong, .ap-method__text strong { display: block; font-weight: 400; font-size: 16.2px; line-height: 22px; overflow-wrap: anywhere; }
.ap-upload__text small, .ap-method__text small { display: block; margin-top: 2px; font-size: 13.5px; line-height: 19px; opacity: .7; }
.ap-upload.is-filled { border-style: solid; border-color: var(--green); background: rgba(233, 219, 156, .35); }
.ap-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
.ap-method { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1.5px solid rgba(40, 71, 52, .22); border-radius: 20px; cursor: pointer; transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease; }
.ap-method__icon { background: var(--cream); }
.ap-method:has(input:checked) .ap-method__icon { background: var(--green); }
.ap-method:has(input:checked) .ap-method__icon svg { stroke: var(--cream); }
.ap-methods[hidden] { display: none; }
.ap-rec { border: 1.5px solid rgba(40, 71, 52, .22); border-radius: 20px; overflow: hidden; background: var(--cream); }
.ap-rec__screen { position: relative; aspect-ratio: 16 / 9; background: var(--green); }
.ap-rec__screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.ap-rec__live { transform: scaleX(-1); }   /* the preview mirrors like a selfie camera; the recording itself does not */
.ap-rec__idle { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 20px 28px; text-align: center; background: var(--cream); }
.ap-rec__idle p { max-width: 340px; margin: 0; font-size: 14.5px; line-height: 21px; opacity: .8; }
.ap-rec__time { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 100px; background: rgba(40, 71, 52, .78); color: var(--cream); font-size: 14px; line-height: 20px; font-variant-numeric: tabular-nums; }
.ap-rec__time i { width: 9px; height: 9px; border-radius: 50%; background: #D9472F; animation: ap-rec-blink 1.2s ease-in-out infinite; }
@keyframes ap-rec-blink { 50% { opacity: .35; } }
.ap-rec__screen [hidden] { display: none; }
.ap-rec__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 14px 14px 20px; }
.ap-rec__status { margin: 0; font-size: 13.5px; line-height: 19px; opacity: .8; }
.btn.ap-rec__btn { flex: none; height: 44px; padding: 0 22px; background: var(--green); color: var(--cream); }
.btn.ap-rec__btn:hover { background: var(--brown); }
.btn.ap-rec__btn:disabled { opacity: .6; cursor: default; }
.ap-rec[data-state="recording"] .btn.ap-rec__btn { background: var(--brown); }
.ap-tip { display: flex; gap: 14px; padding: 16px 18px; border-radius: 20px; background: rgba(241, 198, 166, .4); font-size: 14.5px; line-height: 21px; }
.ap-tip__dot { flex: none; width: 12px; height: 12px; margin-top: 5px; border-radius: 50%; background: var(--brown); }

.ap-review { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; margin: 0; padding: 8px 24px; border-radius: 24px; background: var(--cream); }
.ap-review div { padding: 14px 0; border-bottom: 1px solid rgba(40, 71, 52, .12); }
.ap-review div:nth-last-child(-n+2) { border-bottom: 0; }
.ap-review dt { font-size: 12.5px; line-height: 17px; letter-spacing: .08em; text-transform: uppercase; opacity: .65; }
.ap-review dd { margin: 3px 0 0; font-size: 16.2px; line-height: 22px; overflow-wrap: anywhere; }
.ap-consent { position: relative; display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px; border: 1.5px solid rgba(40, 71, 52, .22); border-radius: 20px; font-size: 14.5px; line-height: 21px; cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease; }
.ap-consent__box { flex: none; display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; border: 1.5px solid rgba(40, 71, 52, .4); border-radius: 8px; transition: background-color .2s ease, border-color .2s ease; }
.ap-consent__box svg { width: 16px; height: 16px; fill: none; stroke: var(--white); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.ap-consent:has(input:checked) .ap-consent__box { border-color: var(--green); background: var(--green); }
.ap-consent:has(input:checked) .ap-consent__box svg { opacity: 1; }
.ap-privacy { font-size: 13.5px; line-height: 19px; opacity: .75; }

.ap-error { margin-top: 22px; }
.ap-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 30px; }
.ap-back { display: inline-flex; align-items: center; gap: 10px; padding: 12px 6px; font-size: 16.2px; }
.ap-back[hidden] { display: none; }
.ap-back:hover { color: var(--brown); }
.ap-back svg, .ap-next svg { width: 22px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.ap-back:hover svg { transform: translateX(-4px); }
.btn.ap-next { gap: 12px; min-width: 210px; height: 52px; margin-left: auto; padding: 0 28px; font-size: 16.9px; background: var(--green); color: var(--cream); }
.btn.ap-next:hover { background: var(--brown); }
.btn.ap-next:hover svg { transform: translateX(5px); }
.btn.ap-next:disabled { opacity: .7; cursor: default; }
.ap-time { margin-top: 16px; text-align: center; font-size: 13.5px; line-height: 19px; opacity: .7; }
.ap-time a { text-decoration: underline; text-underline-offset: 2px; }

.ap-done { padding-top: 52px; padding-bottom: 46px; text-align: center; }
.ap-done .ap-kicker { display: block; margin-top: 12px; transform-origin: center; }
.ap-done .ap-lead { margin-left: auto; margin-right: auto; }
.btn.ap-done__btn { display: flex; width: 280px; margin: 30px auto 0; }

@media (prefers-reduced-motion: reduce) { .cr-hero__photo, .cr-hero__clover, .ap__shape--clover, .ap-step:not([hidden]), .ap-rec__time i { 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; }

  .ap { padding: 30px 14px 56px; }
  .ap-card { width: auto; padding: 26px 20px 24px; border-radius: 28px; }
  .ap-step { margin-top: 26px; }
  .ap-kicker { font-size: 18px; line-height: 23px; }
  .ap-title { font-size: 25px; line-height: 31px; }
  .ap-lead { font-size: 15px; line-height: 23px; }
  .ap-fields { margin-top: 22px; grid-template-columns: 1fr; gap: 16px; }
  .ap-fields .wf-field--half { grid-column: 1 / -1; }
  .ap-fields .wf-field label, .ap-group > legend, .ap-label { font-size: 15.5px; line-height: 22px; }
  .ap-choices, .ap-methods, .ap-review { grid-template-columns: 1fr; }
  .ap-review { padding: 4px 18px; }
  .ap-review div:nth-last-child(2) { border-bottom: 1px solid rgba(40, 71, 52, .12); }
  .ap-upload { padding: 16px; gap: 14px; }
  .ap-rec__bar { flex-direction: column; align-items: stretch; gap: 12px; padding: 14px 16px 16px; }
  .ap-foot { margin-top: 24px; }
  .btn.ap-next { min-width: 0; flex: 1; max-width: 230px; padding: 0 20px; }
  .ap-done { padding-top: 38px; padding-bottom: 32px; }
  .btn.ap-done__btn { width: 100%; max-width: 280px; }
}

@media (max-width: 600px) {
  .ap-rec__screen { aspect-ratio: 3 / 4; max-height: 62vh; }   /* phones record upright */
}
