/*
  FILE GUIDE: healthcare.css

  What this controls:
  - healthcare.php only: healthcare service cards, image placeholders,
    process section/sticker, tone cards, partner logo wall, showcase, and CTA.

  How to change it:
  - Top service grid and image boxes: search ".healthcare-services".
  - Blue process section and doctor sticker: search ".healthcare-process".
  - Logo wall: search ".healthcare-partners".
  - Bottom examples/showcase: search ".healthcare-showcase".
*/

.healthcare-services {
  position: relative;
  z-index: 2;
  padding: clamp(3.5rem, 6vw, 5rem) 0 clamp(1rem, 2.5vw, 2rem);
  background: #fff;
  color: var(--ink);
  overflow: hidden;
}

.healthcare-services__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(22rem, 32vw);
  gap: clamp(2.5rem, 5vw, 5rem) clamp(2rem, 5vw, 5rem);
  align-items: start;
  min-height: 0;
}

.healthcare-services__copy {
  position: relative;
  z-index: 2;
  max-width: 70rem;
  padding-right: 0;
}

.healthcare-services__eyebrow,
.healthcare-showcase__header span {
  display: block;
  margin-bottom: 1rem;
  font-family: var(--disp);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.healthcare-services__eyebrow {
  color: rgba(16,16,17,.58);
}

.healthcare-services__title {
  margin-bottom: clamp(2rem, 4vw, 3rem);
  font-family: var(--disp);
  font-size: clamp(2.5rem, 4.7vw, 5.2rem);
  line-height: .92;
  letter-spacing: -.045em;
}

.healthcare-services__title span,
.healthcare-process__title span {
  display: block;
  white-space: nowrap;
}

.healthcare-services__grid {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.25rem);
  max-width: none;
}

.healthcare-services__intro {
  max-width: 60ch;
  margin: 0 0 clamp(2rem, 4vw, 3rem);
  font-size: clamp(1rem, 1.25vw, 1.08rem);
  line-height: 1.72;
  color: rgba(16,16,17,.62);
}

.healthcare-services__grid h3 {
  max-width: 15ch;
  margin-bottom: .65rem;
  font-family: var(--disp);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: .98;
  letter-spacing: -.025em;
  color: var(--ink);
}

.healthcare-services__grid p {
  max-width: 43ch;
  font-size: clamp(1rem, 1.35vw, 1.0625rem);
  line-height: 1.65;
  color: rgba(16,16,17,.58);
}

.healthcare-services__art {
  position: relative;
  right: auto;
  top: auto;
  z-index: 1;
  width: min(100%, 32rem);
  justify-self: end;
}

.healthcare-asset {
  display: grid;
  align-content: end;
  gap: .7rem;
  padding: clamp(1.25rem, 2vw, 1.75rem);
  border: 1px solid rgba(16,16,17,.12);
  background:
    linear-gradient(135deg, rgba(31,63,102,.16), rgba(255,255,255,.82)),
    repeating-linear-gradient(
      -45deg,
      rgba(16,36,61,.08),
      rgba(16,36,61,.08) 14px,
      rgba(255,255,255,.24) 14px,
      rgba(255,255,255,.24) 28px
    );
  color: var(--ink);
  box-shadow: 0 1.15rem 2rem rgba(16,16,17,.08);
}

.healthcare-asset span {
  font-family: var(--disp);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(16,16,17,.5);
}

.healthcare-asset strong {
  max-width: 18ch;
  font-family: var(--disp);
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  line-height: 1;
  letter-spacing: -.03em;
}

.healthcare-asset--portrait {
  min-height: clamp(24rem, 34vw, 31rem);
  padding: 0;
  overflow: hidden;
}

.healthcare-asset--portrait img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
  object-position: center;
}

.healthcare-wide-frame {
  position: relative;
  z-index: 2;
  width: 100%;
  height: clamp(24rem, 42vw, 46rem);
  overflow: hidden;
  background: #dbe3ec;
}

.healthcare-wide-frame > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.healthcare-asset--wide {
  min-height: 100%;
  height: 100%;
  border: 0;
  background:
    linear-gradient(135deg, rgba(16,36,61,.28), rgba(255,255,255,.62)),
    repeating-linear-gradient(
      -45deg,
      rgba(16,36,61,.12),
      rgba(16,36,61,.12) 18px,
      rgba(255,255,255,.24) 18px,
      rgba(255,255,255,.24) 36px
    );
  color: var(--ink);
  box-shadow: none;
}

.healthcare-asset--wide span {
  color: rgba(16,16,17,.5);
}

.healthcare-asset--wide strong {
  max-width: 24ch;
}

.healthcare-process {
  position: relative;
  z-index: 1;
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  background:
    linear-gradient(90deg, rgba(7,18,33,.98) 0%, rgba(16,36,61,.96) 50%, rgba(31,63,102,.86) 100%),
    var(--site-dark-bg);
  color: var(--cream);
  overflow: visible;
}

.healthcare-process::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.08), rgba(255,255,255,0) 50%);
  pointer-events: none;
}

.healthcare-process__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(42rem, 1.22fr);
  gap: clamp(3rem, 6vw, 7rem);
  align-items: start;
}

.healthcare-process__sticker {
  position: absolute;
  z-index: 4;
  left: -13vw;
  bottom: 0;
  width: clamp(62rem, 76vw, 94rem);
  height: auto;
  pointer-events: none;
}

.healthcare-process__eyebrow {
  display: block;
  margin-bottom: 1.1rem;
  font-family: var(--disp);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(249,249,244,.74);
}

.healthcare-process__title {
  max-width: 13ch;
  font-family: var(--disp);
  font-size: clamp(2.7rem, 3.7vw, 4rem);
  line-height: .94;
  color: var(--cream);
}

.healthcare-process__title span {
  white-space: normal;
}

.healthcare-process__intro {
  max-width: 34ch;
  margin-top: 1.4rem;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(249,249,244,.66);
}

.healthcare-process__list {
  list-style: none;
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(249,249,244,.18);
}

.healthcare-process__list li {
  display: grid;
  grid-template-columns: 4rem minmax(14rem, .56fr) minmax(22rem, 1fr);
  column-gap: clamp(1.5rem, 2.5vw, 2.25rem);
  row-gap: .35rem;
  align-items: start;
  padding: 1.05rem 0;
  border-bottom: 1px solid rgba(249,249,244,.18);
}

.healthcare-process__list span {
  font-family: var(--disp);
  font-size: .875rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(249,249,244,.46);
}

.healthcare-process__list strong {
  font-family: var(--disp);
  font-size: 1.08rem;
  line-height: 1.05;
  color: var(--cream);
}

.healthcare-process__list p {
  max-width: 48ch;
  font-size: 1rem;
  line-height: 1.58;
  color: rgba(249,249,244,.62);
}

.healthcare-tones {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  background: #fff;
  color: var(--ink);
}

.healthcare-tones__inner {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
}

.healthcare-tones__header {
  display: grid;
  grid-template-columns: minmax(180px, .36fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: start;
}

.healthcare-tones__header span {
  display: block;
  margin-bottom: 1rem;
  font-family: var(--disp);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(16,16,17,.58);
}

.healthcare-tones__header h2 {
  max-width: 20ch;
  font-family: var(--disp);
  font-size: clamp(2rem, 4vw, 4.1rem);
  line-height: .95;
  letter-spacing: -.045em;
}

.healthcare-tones__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(16,16,17,.12);
  border: 1px solid rgba(16,16,17,.12);
}

.healthcare-tones__grid article {
  min-height: 18rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.25rem, 2vw, 1.8rem);
  background: #fff;
}

.healthcare-tones__grid h3 {
  font-family: var(--disp);
  font-size: clamp(1.3rem, 1.8vw, 1.9rem);
  line-height: 1;
  letter-spacing: -.035em;
}

.healthcare-tones__grid p {
  margin-top: 2rem;
  line-height: 1.65;
  color: rgba(16,16,17,.58);
}

.healthcare-partners {
  padding: clamp(4.75rem, 8vw, 7rem) 0 clamp(5.25rem, 9vw, 8rem);
  background: #000000;
  color: #fff;
}

.healthcare-partners__inner {
  display: grid;
  gap: clamp(2.25rem, 5vw, 4.5rem);
}

.healthcare-partners__intro {
  display: grid;
  justify-items: center;
  gap: clamp(1rem, 2.4vw, 1.6rem);
  text-align: center;
}

.healthcare-partners__heading {
  font-family: var(--disp);
  font-size: clamp(2.6rem, 4.25vw, 4.7rem);
  line-height: .95;
  letter-spacing: -.045em;
  white-space: nowrap;
}

.healthcare-partners__intro p {
  max-width: 72ch;
  font-size: 1.03rem;
  line-height: 1.72;
  color: rgba(255,255,255,.68);
}

.healthcare-partners__grid {
  --partner-logo-gap-x: clamp(1rem, 2vw, 2rem);
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: min(100%, 64rem);
  margin-inline: auto;
  gap: clamp(1.75rem, 3.5vw, 3rem) var(--partner-logo-gap-x);
  align-items: center;
}

.healthcare-partners__grid li {
  flex: 0 0 calc((100% - (3 * var(--partner-logo-gap-x))) / 4);
  min-height: clamp(4.75rem, 6.5vw, 6.75rem);
  display: grid;
  place-items: center;
  text-align: center;
  padding: .35rem;
}

.healthcare-partners__grid li:first-child:nth-last-child(5),
.healthcare-partners__grid li:first-child:nth-last-child(5) ~ li,
.healthcare-partners__grid li:first-child:nth-last-child(6),
.healthcare-partners__grid li:first-child:nth-last-child(6) ~ li,
.healthcare-partners__grid li:first-child:nth-last-child(9),
.healthcare-partners__grid li:first-child:nth-last-child(9) ~ li {
  flex-basis: calc((100% - (2 * var(--partner-logo-gap-x))) / 3);
}

.healthcare-partners__grid img {
  display: block;
  width: min(100%, 13.25rem);
  max-height: 4.25rem;
  object-fit: contain;
}

.healthcare-showcase {
  position: relative;
  padding: clamp(5rem, 8vw, 7rem) 0 clamp(5rem, 9vw, 7.5rem);
  background: var(--cream);
  color: var(--ink);
}

.healthcare-showcase__header {
  display: grid;
  justify-items: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}

.healthcare-showcase__header span {
  color: rgba(16,16,17,.58);
}

.healthcare-showcase__header h2 {
  max-width: 15ch;
  font-family: var(--disp);
  font-size: clamp(2.4rem, 4vw, 4.5rem);
  line-height: .95;
  letter-spacing: -.045em;
}

.healthcare-showcase__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 2vw, 1.5rem);
}

.healthcare-showcase__card {
  display: grid;
  gap: 1rem;
}

.healthcare-asset--card {
  min-height: clamp(18rem, 28vw, 24rem);
  justify-items: center;
  align-content: end;
  text-align: center;
  border: 0;
  box-shadow: none;
}

.healthcare-asset--card strong {
  max-width: 22ch;
}

.healthcare-asset--image-card {
  position: relative;
  overflow: hidden;
  background: #dbe3ec;
}

.healthcare-asset--image-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(16,16,17,0) 42%, rgba(16,16,17,.66) 100%);
  pointer-events: none;
}

.healthcare-asset--image-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.healthcare-asset--image-card strong {
  position: relative;
  z-index: 2;
  color: #fff;
  text-shadow: 0 2px 18px rgba(16,16,17,.35);
}

.healthcare-showcase__card p {
  max-width: 42ch;
  color: rgba(16,16,17,.58);
  line-height: 1.65;
}

.healthcare-next-step {
  position: relative;
  padding: 0 0 5rem;
  background: var(--cream);
  color: var(--ink);
  overflow: visible;
}

.healthcare-next-step__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.healthcare-next-step p {
  max-width: 24ch;
  font-family: var(--disp);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1;
  letter-spacing: -.03em;
}

.healthcare-next-step__sub {
  max-width: 24ch;
  font-family: var(--disp);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--ink);
}

.healthcare-next-step .btn--orange {
  --accent-orange: var(--theme);
  color: var(--cream);
  border-color: var(--ink);
  background: linear-gradient(to right, var(--theme) 50%, var(--ink) 50%);
  background-size: 205% 100%;
  background-position: 100% 0;
  transition: background-position .65s var(--ease), border-color .5s var(--ease), color .45s var(--ease), transform .45s var(--ease);
}

.healthcare-next-step .btn--orange:hover {
  background-position: 0 0;
  color: var(--cream);
  border-color: var(--theme);
  transform: translateY(-2px);
}

