:root {
  --ink: #102033;
  --text: #2f4054;
  --muted: #657385;
  --blue: #436db7;
  --blue-dark: #254b8e;
  --green: #86ae43;
  --green-soft: #eef7e7;
  --mist: #f6fbf2;
  --paper: #fffefa;
  --line: rgba(16, 32, 51, .12);
  --shadow: 0 24px 70px rgba(16, 32, 51, .12);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 10%, rgba(134, 174, 67, .12), transparent 24rem),
    linear-gradient(180deg, #fffefa 0%, #f8fbf4 48%, #fffefa 100%);
  font-family: var(--sans);
  line-height: 1.55;
  overflow-x: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 14px;
  top: 14px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 1000;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 96px;
  padding: 18px max(28px, calc((100vw - 1320px) / 2));
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 28px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 254, 250, .9);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 242px;
}

.nav-menu {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 700;
}

.nav-menu a {
  position: relative;
  padding: 10px 0;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}

.nav-menu a:hover::after {
  transform: scaleX(1);
}

.header-phone {
  color: var(--blue);
  font-weight: 800;
  white-space: nowrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease;
}

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

.button-primary {
  color: white;
  background: var(--green);
  box-shadow: 0 16px 36px rgba(134, 174, 67, .25);
}

.button-secondary {
  color: var(--blue);
  border-color: rgba(67, 109, 183, .45);
  background: rgba(255, 255, 255, .74);
}

.button-submit {
  width: 100%;
  color: white;
  background: linear-gradient(90deg, var(--blue), var(--blue-dark));
  box-shadow: 0 16px 36px rgba(67, 109, 183, .18);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--ink);
}

.hero-section {
  position: relative;
  min-height: 570px;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
  align-items: stretch;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero-copy {
  padding: 76px 56px 56px max(48px, calc((100vw - 1320px) / 2));
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(3.3rem, 5.2vw, 5.6rem);
  line-height: .95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1;
}

h3 {
  color: var(--ink);
  line-height: 1.2;
}

.hero-lede {
  max-width: 680px;
  color: var(--text);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 28px 0 22px;
}

.patient-paths {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 30px;
}

.patient-paths a {
  min-height: 112px;
  padding: 16px;
  border: 1px solid rgba(16, 32, 51, .1);
  border-radius: 16px;
  background: rgba(255, 255, 255, .7);
  box-shadow: 0 14px 30px rgba(16, 32, 51, .06);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.patient-paths a:hover {
  transform: translateY(-2px);
  border-color: rgba(134, 174, 67, .42);
  box-shadow: 0 18px 38px rgba(16, 32, 51, .1);
}

.patient-paths strong,
.patient-paths span {
  display: block;
}

.patient-paths strong {
  color: var(--ink);
  font-size: 14px;
}

.patient-paths span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  color: var(--ink);
}

.trust-row div {
  min-width: 210px;
  padding-top: 16px;
  border-top: 2px solid rgba(134, 174, 67, .45);
}

.trust-row strong,
.trust-row span {
  display: block;
}

.trust-row strong {
  font-size: 14px;
}

.trust-row span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.hero-media {
  position: relative;
  min-height: 570px;
  overflow: hidden;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(255, 254, 250, .58), rgba(255, 254, 250, .08) 42%, rgba(255, 254, 250, 0));
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
  filter: saturate(1.02) contrast(1.03);
}

.media-note {
  position: absolute;
  right: 48px;
  bottom: 36px;
  z-index: 2;
  width: min(320px, calc(100% - 64px));
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 22px;
  background: rgba(255, 255, 255, .84);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.media-note strong,
.media-note span {
  display: block;
}

.media-note strong {
  color: var(--ink);
  font-size: 1.05rem;
}

.media-note span {
  margin-top: 4px;
  color: var(--muted);
}

.split-section {
  width: min(1280px, calc(100% - 36px));
  margin: 34px auto 70px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.service-panel,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 18px 54px rgba(16, 32, 51, .09);
}

.service-panel {
  padding: 38px;
}

.service-panel h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.service-list {
  display: grid;
  gap: 0;
  margin-top: 22px;
}

.service-list article {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.service-list article:last-child {
  border-bottom: 0;
}

.service-list img {
  width: 58px;
  height: 58px;
  padding: 13px;
  border-radius: 50%;
  background: var(--green-soft);
}

.service-list h3 {
  margin-bottom: 4px;
  font-size: 1.08rem;
}

.service-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.local-strip {
  margin-top: 24px;
  padding: 16px 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  border: 1px solid rgba(134, 174, 67, .24);
  border-radius: 14px;
  background: var(--green-soft);
  color: var(--ink);
  font-weight: 700;
}

.contact-card {
  padding: 34px;
}

.contact-card h2 {
  font-size: clamp(2rem, 3vw, 3.3rem);
}

.contact-card > p {
  color: var(--muted);
}

.inquiry-form,
.career-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.inquiry-form label,
.career-form label,
.sms-consent legend {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.inquiry-form input,
.inquiry-form select,
.career-form input,
.career-form select {
  width: 100%;
  height: 44px;
  margin-top: 6px;
  padding: 0 13px;
  border: 1px solid rgba(16, 32, 51, .16);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  outline: none;
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.career-form input:focus,
.career-form select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(67, 109, 183, .12);
}

.wide-field,
.sms-consent,
.button-submit,
.privacy-note {
  grid-column: 1 / -1;
}

.sms-consent {
  margin: 0;
  padding: 0;
  border: 0;
}

.sms-consent label {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  margin-top: 8px;
  color: var(--text);
  font-weight: 500;
  line-height: 1.35;
}

.sms-consent input {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--blue);
}

.spam-field {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.privacy-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.privacy-note a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
}

.success-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(16, 32, 51, .46);
  backdrop-filter: blur(10px);
}

.success-modal[hidden] {
  display: none;
}

.success-modal__panel {
  position: relative;
  width: min(540px, 100%);
  padding: 38px;
  border: 1px solid rgba(134, 174, 67, .28);
  border-radius: 18px;
  background: #fffefa;
  box-shadow: 0 30px 90px rgba(16, 32, 51, .24);
  text-align: center;
  animation: modalIn .24s ease both;
}

.success-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.success-modal__mark {
  display: inline-grid;
  width: 62px;
  height: 62px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  box-shadow: 0 16px 36px rgba(134, 174, 67, .32);
  font-size: 34px;
  font-weight: 900;
}

.success-modal h2 {
  margin: 6px 0 10px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.success-modal p {
  margin: 0 auto;
  max-width: 390px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.success-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.community-section,
.process-section,
.final-cta {
  width: min(1280px, calc(100% - 36px));
  margin: 84px auto;
}

.community-section {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 48px;
  align-items: start;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.proof-grid article {
  padding: 24px 0;
  border-top: 2px solid rgba(134, 174, 67, .36);
}

.proof-grid strong {
  display: block;
  color: var(--ink);
  font-size: 1.05rem;
}

.proof-grid p,
.section-heading p {
  color: var(--muted);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.process-grid {
  counter-reset: care-step;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.process-grid article {
  position: relative;
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(246, 251, 242, .78)),
    white;
  box-shadow: 0 16px 44px rgba(16, 32, 51, .08);
}

.process-grid article::after {
  content: "";
  position: absolute;
  top: 47px;
  right: -18px;
  width: 18px;
  height: 2px;
  background: rgba(134, 174, 67, .38);
}

.process-grid article:last-child::after {
  display: none;
}

.step-number,
.process-grid strong,
.process-grid p {
  display: block;
}

.step-number {
  width: 48px;
  height: 48px;
  margin-bottom: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-weight: 900;
}

.process-grid strong {
  color: var(--ink);
  font-size: 1.18rem;
  line-height: 1.2;
}

.process-grid p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.final-cta {
  padding: 42px;
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(135deg, #fff, #f3f8ed);
  box-shadow: var(--shadow);
}

.final-cta p {
  max-width: 640px;
  color: var(--muted);
}

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

.subpage-main {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.subpage-hero {
  padding: 86px 0 48px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, .55fr);
  gap: 42px;
  align-items: end;
}

.subpage-hero h1 {
  max-width: 820px;
  font-size: clamp(3rem, 5vw, 5.4rem);
}

.subpage-hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.05rem;
}

.subpage-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, .78);
  box-shadow: var(--shadow);
}

.subpage-panel strong,
.subpage-panel span {
  display: block;
}

.subpage-panel strong {
  color: var(--ink);
  font-size: 1.05rem;
}

.subpage-panel span {
  margin-top: 6px;
  color: var(--muted);
}

.content-section {
  margin: 42px auto 88px;
}

.content-grid,
.blog-grid,
.career-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.content-card,
.blog-card,
.career-card,
.legal-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 16px 44px rgba(16, 32, 51, .08);
}

.content-card strong,
.blog-card strong,
.career-card strong {
  display: block;
  color: var(--ink);
  font-size: 1.1rem;
}

.content-card p,
.blog-card p,
.career-card p,
.legal-card p,
.legal-card li {
  color: var(--muted);
}

.legal-card {
  max-width: 920px;
  margin-bottom: 88px;
}

.legal-card h2 {
  margin-top: 32px;
  font-size: clamp(1.65rem, 2.5vw, 2.45rem);
}

.legal-card h2:first-child {
  margin-top: 0;
}

.blog-card {
  display: flex;
  min-height: 280px;
  flex-direction: column;
  justify-content: space-between;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.automation-panel {
  margin-top: 26px;
  padding: 30px;
  border: 1px solid rgba(67, 109, 183, .22);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(238, 247, 231, .82), rgba(255, 255, 255, .92));
}

.automation-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.automation-steps span {
  padding: 14px;
  border-radius: 14px;
  background: white;
  color: var(--ink);
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(16, 32, 51, .06);
}

.editorial-page,
.careers-page {
  width: min(1280px, calc(100% - 36px));
  margin: 0 auto;
}

.editorial-hero,
.careers-hero {
  min-height: 560px;
  padding: 70px 0 46px;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, .65fr);
  gap: 46px;
  align-items: center;
}

.editorial-copy h1,
.careers-copy h1 {
  max-width: 850px;
  font-size: clamp(3.4rem, 6vw, 6.4rem);
}

.editorial-copy p,
.careers-copy p {
  max-width: 680px;
  color: var(--text);
  font-size: 1.08rem;
}

.journal-note {
  align-self: stretch;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .42), rgba(255, 255, 255, .92)),
    url("assets/generated/therapy-office-hero.png") center / cover;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.journal-note span {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.journal-note strong {
  display: block;
  max-width: 410px;
  margin-top: 12px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
}

.journal-note p {
  max-width: 420px;
  margin: 18px 0 0;
  color: var(--muted);
}

.featured-article {
  padding: 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
  align-items: end;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(135deg, #fff, #f3f8ed);
  box-shadow: var(--shadow);
}

.featured-article-with-image {
  grid-template-columns: minmax(0, 1fr) minmax(240px, 340px) 260px;
  align-items: center;
}

.featured-article-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 18px 42px rgba(16, 32, 51, .14);
}

.featured-article h2 {
  max-width: 740px;
}

.featured-article p {
  max-width: 720px;
  color: var(--muted);
}

.article-stats {
  display: grid;
  gap: 12px;
}

.article-stats div {
  padding: 18px;
  border-radius: 16px;
  background: white;
  box-shadow: 0 10px 28px rgba(16, 32, 51, .06);
}

.article-stats strong,
.article-stats span {
  display: block;
}

.article-stats strong {
  color: var(--ink);
}

.article-stats span {
  color: var(--muted);
  font-size: 13px;
}

.journal-layout {
  margin: 72px 0;
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.topic-rail {
  position: sticky;
  top: 124px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 16px 44px rgba(16, 32, 51, .08);
}

.topic-rail a {
  display: block;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 800;
}

.article-list {
  display: grid;
  gap: 14px;
}

.article-row {
  padding: 26px;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 12px 36px rgba(16, 32, 51, .07);
}

.article-row-with-image {
  grid-template-columns: 68px 132px minmax(0, 1fr);
  align-items: center;
}

.article-thumb {
  width: 132px;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  object-fit: cover;
  background: var(--green-soft);
}

.article-row h3 {
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.4vw, 2.35rem);
}

.article-row p {
  margin: 0;
  color: var(--muted);
}

.article-index {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-weight: 900;
}

.blog-post-page {
  padding-top: 110px;
}

.blog-post-shell,
.blog-post-cta,
.related-posts {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
}

.blog-post-shell {
  padding: 72px 0 48px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  margin-bottom: 28px;
  color: var(--green);
  font-weight: 900;
}

.blog-post-shell h1 {
  max-width: 860px;
  margin: 0 0 20px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  line-height: .95;
}

.blog-lead {
  max-width: 780px;
  margin-top: 26px;
  color: var(--muted);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.65;
}

.blog-body-note {
  max-width: 780px;
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid rgba(16, 32, 51, .16);
  color: var(--ink-soft);
  font-size: 1.06rem;
  line-height: 1.8;
}

.blog-hero-image {
  max-width: 980px;
  margin: 34px 0 0;
}

.blog-hero-image img {
  width: 100%;
  max-height: 520px;
  border-radius: 26px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.blog-body-content h2,
.blog-body-content h3 {
  margin: 1.8em 0 .6em;
  color: var(--ink);
  font-family: var(--serif);
}

.blog-post-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 24px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
}

.blog-post-cta h2 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.8rem);
}

.related-posts {
  padding: 64px 0 90px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.related-post {
  min-height: 150px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, .84);
  color: var(--ink);
}

.related-post span {
  display: block;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.related-post strong {
  font-size: 1.15rem;
  line-height: 1.35;
}

.careers-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.careers-visual img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: 70% center;
}

.career-callout {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 20px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 18px 50px rgba(16, 32, 51, .14);
  backdrop-filter: blur(16px);
}

.career-callout strong,
.career-callout span,
.career-band strong,
.career-band span {
  display: block;
}

.career-callout strong {
  color: var(--ink);
  font-size: 1.1rem;
}

.career-callout span,
.career-band span {
  margin-top: 4px;
  color: var(--muted);
}

.career-band {
  margin: 10px 0 78px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.career-band div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  box-shadow: 0 12px 36px rgba(16, 32, 51, .07);
}

.career-band strong {
  color: var(--ink);
}

.career-split {
  margin: 78px 0;
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(420px, 1fr);
  gap: 44px;
  align-items: start;
}

.fit-list,
.role-grid {
  display: grid;
  gap: 14px;
}

.fit-list article,
.role-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 14px 38px rgba(16, 32, 51, .07);
}

.fit-list span {
  color: var(--green);
  font-weight: 900;
}

.fit-list strong,
.role-grid strong,
.apply-card strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 1.1rem;
}

.fit-list p,
.role-grid p,
.apply-section p {
  color: var(--muted);
}

.roles-section {
  margin: 84px 0;
}

.role-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.apply-section {
  margin: 84px 0;
  padding: 42px;
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(440px, 1fr);
  gap: 34px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(135deg, #fff, #f3f8ed);
  box-shadow: var(--shadow);
}

.apply-card,
.career-form {
  padding: 26px;
  border-radius: 20px;
  background: white;
  box-shadow: 0 16px 44px rgba(16, 32, 51, .08);
}

.apply-card span {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.apply-card .button {
  margin-top: 22px;
  width: 100%;
}

.site-footer {
  width: min(1280px, calc(100% - 36px));
  margin: 0 auto 34px;
  padding: 30px;
  display: flex;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid var(--line);
}

.site-footer img {
  width: 220px;
  margin-bottom: 10px;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
}

.site-footer nav {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 700;
}

[data-reveal] {
  opacity: 1;
  transform: none;
  transition: opacity .7s ease, transform .7s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .nav-menu,
  .header-phone,
  .header-cta {
    display: none;
  }

  .nav-open .nav-menu {
    position: fixed;
    inset: 96px 18px auto;
    display: grid;
    gap: 8px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 254, 250, .98);
    box-shadow: var(--shadow);
  }

  .hero-section,
  .editorial-hero,
  .careers-hero,
  .featured-article,
  .journal-layout,
  .career-split,
  .apply-section,
  .subpage-hero,
  .split-section,
  .community-section,
  .patient-paths {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-right: max(28px, calc((100vw - 1320px) / 2));
  }

  .hero-media {
    min-height: 460px;
  }

  .patient-paths a {
    min-height: auto;
  }

  .proof-grid,
  .process-grid,
  .career-band,
  .role-grid,
  .content-grid,
  .blog-grid,
  .career-grid,
  .automation-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid article::after {
    display: none;
  }

  .topic-rail {
    position: static;
  }

  .careers-visual,
  .careers-visual img {
    min-height: 420px;
  }
}

@media (max-width: 700px) {
  .site-header {
    min-height: 84px;
    padding: 14px 16px;
  }

  .brand img {
    width: 190px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .hero-copy {
    padding: 54px 18px 34px;
  }

  .hero-media {
    min-height: 360px;
  }

  .media-note {
    right: 18px;
    bottom: 18px;
  }

  .split-section,
  .subpage-main,
  .community-section,
  .process-section,
  .final-cta,
  .site-footer {
    width: min(100% - 24px, 1280px);
    margin-top: 52px;
    margin-bottom: 52px;
  }

  .service-panel,
  .contact-card,
  .final-cta {
    padding: 24px;
    border-radius: 20px;
  }

  .service-list article,
  .article-row,
  .article-row-with-image,
  .featured-article-with-image,
  .blog-post-cta,
  .inquiry-form,
  .career-form,
  .proof-grid,
  .process-grid,
  .career-band,
  .role-grid,
  .content-grid,
  .blog-grid,
  .career-grid,
  .automation-steps,
  .final-cta,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .subpage-hero {
    padding: 54px 0 28px;
  }

  .editorial-page,
  .careers-page {
    width: min(100% - 24px, 1280px);
  }

  .editorial-hero,
  .careers-hero {
    min-height: auto;
    padding: 54px 0 28px;
  }

  .editorial-copy h1,
  .careers-copy h1 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .journal-note,
  .featured-article,
  .apply-section {
    padding: 24px;
    border-radius: 22px;
  }

  .journal-layout,
  .career-split,
  .roles-section,
  .apply-section,
  .career-band {
    margin-top: 52px;
    margin-bottom: 52px;
  }

  .article-row {
    gap: 14px;
  }

  .article-thumb {
    width: 100%;
    max-height: 220px;
  }

  .featured-article-image {
    order: -1;
  }

  .blog-post-shell,
  .blog-post-cta,
  .related-posts {
    width: min(100% - 24px, 1040px);
  }

  .blog-post-shell {
    padding: 46px 0 28px;
  }

  .blog-post-cta {
    align-items: stretch;
    padding: 24px;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .careers-visual,
  .careers-visual img {
    min-height: 340px;
  }

  .career-callout {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .subpage-panel,
  .content-card,
  .blog-card,
  .career-card,
  .legal-card,
  .automation-panel {
    padding: 24px;
    border-radius: 20px;
  }

  .process-grid article {
    min-height: auto;
  }

  .step-number {
    margin-bottom: 24px;
  }

  .service-list article {
    display: grid;
    grid-template-columns: 58px 1fr;
  }

  .final-cta,
  .site-footer {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
