@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&display=swap');

:root {
  --ink: #13342d;
  --ink-soft: #355850;
  --cream: #f9f5ed;
  --paper: #fffdf8;
  --coral: #e34a3d;
  --coral-dark: #be342b;
  --sage: #dce8d8;
  --sun: #f7ca61;
  --line: #d9ddd3;
  --blue: #2670b7;
  --shell: 1180px;
  --shadow: 0 18px 44px rgba(19, 52, 45, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "DM Sans", Arial, sans-serif; font-size: 16px; line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--coral-dark); }
button, input, select, textarea { font: inherit; }
button, .button { cursor: pointer; }
.shell { width: min(calc(100% - 64px), var(--shell)); margin: 0 auto; }
.shell-narrow { width: min(calc(100% - 64px), 900px); margin: 0 auto; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 0 0 6px 6px; }
.skip-link:focus { top: 0; color: #fff; }

.topline { background: var(--ink); color: #fff; font-size: 13px; letter-spacing: .01em; }
.topline__inner { min-height: 37px; display: flex; gap: 25px; align-items: center; justify-content: flex-end; }
.topline a { color: #fff; }
.topline__social { display: flex; gap: 12px; font-size: 12px; }
.site-header { position: relative; z-index: 30; background: rgba(255,253,248,.98); border-bottom: 1px solid rgba(19,52,45,.12); }
.header-main { min-height: 108px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { flex: 0 0 auto; width: 152px; }
.brand img { width: 152px; height: auto; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: 20px; color: var(--ink); font-size: 14px; font-weight: 700; }
.main-nav > a, .nav-group summary { padding: 12px 0; white-space: nowrap; }
.nav-group { position: relative; }
.nav-group summary { list-style: none; cursor: pointer; }
.nav-group summary::-webkit-details-marker { display: none; }
.nav-group summary::after { content: "⌄"; display: inline-block; margin-left: 6px; color: var(--coral); font-size: 13px; transition: transform .18s ease; }
.nav-group[open] summary::after { transform: rotate(180deg); }
.nav-panel { position: absolute; top: calc(100% + 8px); left: -18px; display: flex; flex-direction: column; gap: 0; width: 270px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); box-shadow: var(--shadow); }
.nav-panel a { display: block; padding: 10px 11px; border-radius: 8px; font-weight: 500; line-height: 1.35; }
.nav-panel a:hover { background: var(--sage); color: var(--ink); }
.header-actions { display: flex; gap: 9px; align-items: center; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 10px 16px; border: 1px solid var(--coral); border-radius: 999px; background: var(--coral); color: #fff; text-decoration: none; font-size: 12px; font-weight: 700; letter-spacing: .025em; line-height: 1.2; text-transform: uppercase; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.button:hover { color: #fff; transform: translateY(-2px); background: var(--coral-dark); border-color: var(--coral-dark); }
.button--quiet { color: var(--ink); background: transparent; border-color: var(--ink); }
.button--quiet:hover { background: var(--ink); border-color: var(--ink); }
.button--light { background: #fff; color: var(--ink); border-color: #fff; }
.button--light:hover { background: var(--sun); color: var(--ink); border-color: var(--sun); }
.button--dark { color: #fff; background: var(--ink); border-color: var(--ink); }
.text-link { color: var(--ink); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.mobile-menu { display: none; }

.home-hero { position: relative; isolation: isolate; overflow: hidden; min-height: 640px; background: var(--ink); color: #fff; }
.home-hero__image { position: absolute; z-index: -2; inset: 0 0 0 41%; background: linear-gradient(90deg, rgba(19,52,45,.3), rgba(19,52,45,.02)), url('/assets/why-ehcca.jpg') center / cover no-repeat; }
.home-hero::after { position: absolute; z-index: -1; content: ""; inset: 0 43% 0 0; background: var(--ink); clip-path: polygon(0 0, 96% 0, 77% 100%, 0 100%); }
.home-hero__content { padding: 112px 0 90px; }
.eyebrow { margin: 0 0 10px; color: var(--coral); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.home-hero .eyebrow { color: var(--sun); }
h1, h2, h3 { color: var(--ink); font-family: "Fraunces", Georgia, serif; line-height: 1.1; }
h1 { max-width: 640px; margin: 0; color: inherit; font-size: clamp(48px, 6.8vw, 94px); letter-spacing: -.06em; }
h2 { margin: 0 0 18px; font-size: clamp(30px, 4vw, 52px); letter-spacing: -.05em; }
h3 { margin: 0 0 12px; font-family: "DM Sans", Arial, sans-serif; font-size: 15px; letter-spacing: .02em; }
.hero-lines { max-width: 470px; margin: 34px 0; border-left: 2px solid var(--sun); padding-left: 18px; }
.hero-lines p { margin: 7px 0; font-size: 14px; line-height: 1.4; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pathways { position: relative; display: flex; gap: 18px; margin-top: -55px; padding-bottom: 90px; }
.pathways { z-index: 2; }
.path-card { flex: 1 1 0; min-height: 290px; overflow: hidden; border-radius: 16px; background: #fff; box-shadow: var(--shadow); color: var(--ink); text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
.path-card:hover { color: var(--ink); transform: translateY(-8px); box-shadow: 0 28px 55px rgba(19,52,45,.2); }
.path-card__image { height: 190px; overflow: hidden; }
.path-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.path-card:hover img { transform: scale(1.06); }
.path-card__copy { position: relative; display: flex; align-items: end; justify-content: space-between; gap: 16px; padding: 21px 22px; }
.path-card__copy::before { position: absolute; content: ""; top: 0; left: 22px; width: 48px; height: 4px; background: var(--coral); }
.path-card h2 { margin: 0; font-size: 25px; }
.path-card span { color: var(--coral); font-size: 13px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.care-intro { padding: 94px 0; background: var(--cream); }
.care-intro__header { display: flex; flex-direction: column; width: min(100%, 590px); margin: 0 0 44px 10%; }
.care-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.care-points article { position: relative; min-height: 275px; padding: 36px 38px 32px 76px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.care-points article > span { position: absolute; top: 37px; left: 28px; color: var(--coral); font-size: 12px; font-weight: 700; }
.care-points p { max-width: 485px; margin: 0; color: var(--ink-soft); font-size: 14px; }
.stat-strip { background: var(--coral); color: #fff; }
.stats { display: flex; gap: 0; }
.stats div { flex: 1 1 0; display: flex; flex-direction: column; gap: 5px; min-height: 145px; justify-content: center; padding: 28px 32px; border-right: 1px solid rgba(255,255,255,.32); }
.stats div:first-child { border-left: 1px solid rgba(255,255,255,.32); }
.stats strong { font-family: "Fraunces", Georgia, serif; font-size: 46px; font-weight: 500; line-height: 1; }
.stats span { font-size: 12px; font-weight: 700; letter-spacing: .1em; line-height: 1.35; text-transform: uppercase; }
.register-section { padding: 100px 0; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 42px; }
.section-heading h2 { margin: 0; }
.register-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 42px; }
.register-card { position: relative; }
.register-card img { width: 76%; height: 270px; object-fit: cover; border-radius: 14px; }
.register-card > div { position: relative; width: 83%; margin: -76px 0 0 auto; padding: 30px; border-radius: 12px; background: var(--paper); box-shadow: var(--shadow); }
.register-card h3 { font-size: 16px; }
.register-card p { margin: 0 0 18px; color: var(--ink-soft); font-size: 14px; }
.share { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 40px; margin-bottom: 36px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink-soft); font-size: 13px; }
.share > span { color: var(--ink); font-weight: 700; }
.share > div { display: flex; flex-wrap: wrap; gap: 10px; }
.share button { border: 0; padding: 0; background: transparent; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; }
.application-options { padding: 72px 0; background: var(--sage); }
.application-options .shell { display: flex; justify-content: center; }
.application-options__two { justify-content: space-between !important; gap: 22px; }
.apply-option { width: min(100%, 790px); text-align: center; }
.application-options__two .apply-option { width: 50%; padding: 0 24px; }
.application-options__two .apply-option + .apply-option { border-left: 1px solid rgba(19,52,45,.2); }
.apply-option p { margin: 0 0 16px; color: var(--ink); font-family: "Fraunces", Georgia, serif; font-size: 30px; line-height: 1.1; }
.apply-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px; }
.review-cta { background: var(--ink); color: #fff; }
.review-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; padding: 62px 0; }
.review-cta h2 { margin: 0 0 10px; color: #fff; font-size: 38px; }
.review-cta p { max-width: 640px; margin: 0; color: rgba(255,255,255,.8); }

.page-masthead { padding: 95px 0 73px; background: var(--cream); }
.page-masthead--image { position: relative; isolation: isolate; overflow: hidden; min-height: 320px; display: flex; align-items: flex-end; background: var(--ink); color: #fff; }
.page-masthead--image::before { position: absolute; z-index: -2; inset: 0; content: ""; background: var(--page-image) center / cover no-repeat; opacity: .72; }
.page-masthead--image::after { position: absolute; z-index: -1; inset: 0; content: ""; background: linear-gradient(90deg, rgba(19,52,45,.96) 5%, rgba(19,52,45,.65) 47%, rgba(19,52,45,.2)); }
.page-masthead h1 { max-width: 760px; font-size: clamp(44px, 6vw, 78px); }
.page-masthead--image h1 { color: #fff; }
.page-masthead .eyebrow { color: var(--coral); }
.page-masthead--image .eyebrow { color: var(--sun); }
.image-credit { max-width: 500px; margin: 18px 0 0; color: rgba(255,255,255,.82); font-size: 13px; }
.page-content { padding: 74px 0 24px; }
.content-lead { max-width: 810px; margin: 0 auto 60px; font-size: 20px; line-height: 1.65; }
.content-lead p:first-child { margin-top: 0; }
.content-lead p:last-child { margin-bottom: 0; }
.prose-block { width: min(100%, 880px); margin: 50px auto; }
.prose-block > ul, .provider-list ul { margin: 28px 0 0; padding: 0; list-style: none; }
.prose-block > ul li, .provider-list li { position: relative; padding: 0 0 18px 28px; }
.prose-block > ul li::before, .provider-list li::before { position: absolute; top: 11px; left: 0; content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--coral); }
.split-section { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 12%; margin: 80px 0; }
.split-section--reverse { grid-template-columns: 1fr 1fr; }
.split-section p { color: var(--ink-soft); }
.content-image img { width: 100%; aspect-ratio: 1.2; object-fit: cover; border-radius: 14px; }
.benefit-list { border-top: 1px solid var(--line); }
.benefit-list article { position: relative; display: grid; grid-template-columns: 64px minmax(0, .8fr) minmax(0, 1.2fr); gap: 20px; align-items: baseline; padding: 30px 0; border-bottom: 1px solid var(--line); }
.benefit-list span { color: var(--coral); font-size: 13px; font-weight: 700; }
.benefit-list h2 { margin: 0; font-family: "DM Sans", Arial, sans-serif; font-size: 18px; letter-spacing: 0; }
.benefit-list p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.membership-strip { display: flex; justify-content: space-between; gap: 20px; margin: 54px 0 16px; padding: 32px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-family: "Fraunces", Georgia, serif; font-size: 22px; }
.membership-strip p { margin: 0; }
.callout { display: flex; align-items: center; justify-content: center; min-height: 220px; margin: 54px 0 20px; border-radius: 16px; background: var(--sage); }
.callout p { margin: 0; font-family: "Fraunces", Georgia, serif; font-size: 45px; }
.table-wrap { overflow-x: auto; margin: 36px 0; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 15px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: var(--ink); color: #fff; font-weight: 700; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: var(--cream); }
.table-note { margin: 0 0 35px; font-weight: 700; }
.gallery { column-count: 2; column-gap: 22px; }
.gallery figure { margin: 0 0 22px; overflow: hidden; border-radius: 14px; break-inside: avoid; }
.gallery img { width: 100%; height: auto; transition: transform .35s ease; }
.gallery figure:hover img { transform: scale(1.03); }
.fee-note { width: min(100%, 580px); margin: 40px 0; }
.fee-note h2 { font-size: 32px; }
.fee-note dl { display: grid; grid-template-columns: 1fr auto; margin: 0; border-top: 1px solid var(--line); }
.fee-note dt, .fee-note dd { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--line); }
.fee-note dd { font-weight: 700; }
.resource-list { width: min(100%, 760px); margin: 0 auto; }
.resource-list ul { margin: 0; padding: 0; list-style: none; }
.resource-list li { margin: 0; border-bottom: 1px solid var(--line); }
.resource-list a { display: block; padding: 18px 6px; text-decoration: none; font-weight: 600; }
.resource-list a::after { content: "↗"; float: right; color: var(--coral); }
.contact-intro { display: grid; grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr); gap: 9%; }
.contact-card { width: min(100%, 410px); padding: 28px; border-radius: 14px; background: var(--cream); }
.contact-card h2 { margin-top: 18px; font-size: 25px; }
.contact-card address { font-style: normal; }
.contact-form { padding: 40px; border-radius: 16px; background: var(--ink); color: #fff; }
.contact-form h2, .contact-form h3 { color: #fff; }
.contact-form h2 { font-size: 36px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid label, .form-page label { display: flex; flex-direction: column; gap: 6px; color: inherit; font-size: 13px; font-weight: 700; }
.form-grid input, .form-grid textarea, .form-page input, .form-page select { width: 100%; border: 1px solid rgba(19,52,45,.22); border-radius: 7px; padding: 10px 11px; background: #fff; color: var(--ink); font-weight: 400; outline: none; }
.contact-form input, .contact-form textarea { border-color: rgba(255,255,255,.2); }
.form-grid input:focus, .form-grid textarea:focus, .form-page input:focus, .form-page select:focus { outline: 3px solid var(--sun); outline-offset: 1px; }
.span-2 { grid-column: span 2; }
.contact-form .button { margin-top: 20px; }
.honeypot { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.privacy-prose { width: min(100%, 860px); margin: 0 auto; }
.privacy-prose h2 { margin-top: 46px; font-size: 34px; }
.privacy-prose h3 { margin-top: 32px; font-size: 18px; }
.review-page { width: min(100%, 820px); margin: 0 auto; }
.review-page li { margin-bottom: 14px; }
.form-page { width: min(100%, 820px); margin: 0 auto; padding: 42px; border-radius: 16px; background: var(--cream); }
.form-page > img { width: 190px; height: auto; margin-bottom: 30px; }
.form-page h2 { font-size: 42px; }
.form-page h3 { margin-top: 30px; font-size: 18px; }
.form-page .button { margin-top: 25px; }

.site-footer { margin-top: 0; background: #eef1e7; color: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.05fr 1.2fr .52fr; gap: 64px; padding: 64px 0 56px; }
.footer-brand img { width: 190px; height: auto; }
.footer-brand h2 { margin: 18px 0; font-family: "DM Sans", Arial, sans-serif; font-size: 16px; letter-spacing: .02em; }
.footer-brand address { font-style: normal; }
.footer-resources h3, .footer-social h3 { margin: 0 0 18px; font-size: 15px; text-transform: uppercase; }
.footer-resources ul { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 25px; margin: 0; padding: 0; list-style: none; font-size: 13px; line-height: 1.45; }
.footer-social p { margin: 0 0 8px; font-size: 14px; }
.footer-base { padding: 16px 0; background: var(--ink); color: rgba(255,255,255,.78); font-size: 12px; }
.footer-base a { color: #fff; }

@media (max-width: 1120px) {
  .header-main { min-height: 92px; }
  .main-nav { gap: 13px; font-size: 13px; }
  .header-actions .button { padding: 9px 11px; font-size: 10px; }
  .home-hero { min-height: 575px; }
}
@media (max-width: 960px) {
  .header-main { min-height: 90px; }
  .main-nav, .header-actions { display: none; }
  .brand { width: 138px; }
  .brand img { width: 138px; }
  .mobile-menu { display: block; padding-bottom: 15px; }
  .mobile-menu summary { padding: 9px 0; color: var(--ink); font-size: 14px; font-weight: 700; cursor: pointer; }
  .mobile-menu__panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--cream); }
  .mobile-menu__panel a { padding: 8px; font-size: 13px; font-weight: 600; text-decoration: none; }
  .topline__inner { justify-content: space-between; }
  .pathways { margin-top: -30px; }
  .home-hero::after { inset: 0 31% 0 0; }
  .home-hero__image { inset: 0 0 0 29%; }
  .care-points article { min-height: 0; }
  .contact-intro { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-social { grid-column: span 2; }
}
@media (max-width: 720px) {
  .shell, .shell-narrow { width: min(calc(100% - 34px), var(--shell)); }
  .topline { font-size: 11px; }
  .topline__inner { min-height: 34px; gap: 8px; justify-content: center; text-align: center; }
  .topline__social { display: none; }
  .home-hero { min-height: 650px; }
  .home-hero__image { opacity: .55; inset: 0; }
  .home-hero::after { inset: 0; background: linear-gradient(90deg, rgba(19,52,45,.92), rgba(19,52,45,.72)); clip-path: none; }
  .home-hero__content { padding: 88px 0 68px; }
  .home-hero h1 { max-width: 430px; font-size: clamp(46px, 16vw, 72px); }
  .pathways { display: block; margin-top: 0; padding: 24px 0 50px; }
  .path-card { display: block; min-height: 0; margin-bottom: 18px; }
  .path-card:last-child { margin-bottom: 0; }
  .path-card__image { height: 165px; }
  .care-intro { padding: 70px 0; }
  .care-intro__header { margin-left: 0; }
  .care-points { grid-template-columns: 1fr; }
  .care-points article { padding: 31px 24px 28px 60px; }
  .care-points article > span { top: 32px; left: 24px; }
  .stats { flex-direction: column; }
  .stats div { min-height: 100px; padding: 20px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.32); }
  .stats div:first-child { border-left: 0; }
  .stats div:last-child { border-bottom: 0; }
  .register-section { padding: 72px 0; }
  .section-heading { display: block; }
  .register-grid { grid-template-columns: 1fr; gap: 48px; }
  .register-card img { width: 92%; height: 235px; }
  .register-card > div { width: 94%; padding: 24px; }
  .application-options__two { flex-direction: column; }
  .application-options__two .apply-option { width: 100%; padding: 0; }
  .application-options__two .apply-option + .apply-option { padding-top: 30px; border-top: 1px solid rgba(19,52,45,.2); border-left: 0; }
  .review-cta__inner { display: block; padding: 50px 0; }
  .review-cta .button { margin-top: 24px; }
  .page-masthead { padding: 68px 0 54px; }
  .page-masthead--image { min-height: 270px; }
  .page-content { padding-top: 50px; }
  .content-lead { margin-bottom: 42px; font-size: 18px; }
  .split-section, .split-section--reverse { grid-template-columns: 1fr; gap: 30px; margin: 56px 0; }
  .split-section--reverse .content-image { order: 2; }
  .benefit-list article { grid-template-columns: 36px 1fr; gap: 12px; }
  .benefit-list p { grid-column: 2; }
  .membership-strip { display: block; padding: 25px 0; }
  .membership-strip p + p { margin-top: 15px; }
  .gallery { column-count: 1; }
  .contact-form { padding: 28px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .form-page { padding: 28px 20px; }
  .form-page h2 { font-size: 34px; }
  .footer-grid { grid-template-columns: 1fr; gap: 38px; padding: 50px 0; }
  .footer-social { grid-column: auto; }
  .footer-resources ul { grid-template-columns: 1fr; }
}
@media print {
  .site-header, .site-footer, .share, .application-options, .review-cta, .skip-link { display: none !important; }
  body { background: #fff; }
}
