:root {
  --ink: #3d3e41;
  --ink-soft: #596468;
  --evergreen: #147e8c;
  --evergreen-dark: #07515d;
  --moss: #41c6d6;
  --sage: #daf4f7;
  --cream: #fff5f0;
  --paper: #fffdfa;
  --clay: #cb3a1e;
  --clay-dark: #a92e18;
  --line: rgba(61, 62, 65, .16);
  --shadow: 0 22px 60px rgba(7, 81, 93, .16);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
  --shell: min(1220px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); font: 17px/1.65 var(--sans); }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #41c6d6; outline-offset: 4px; }
h1, h2, h3 { margin: 0 0 .45em; color: var(--ink); font-family: var(--serif); line-height: 1.02; font-weight: 500; text-wrap: balance; }
h1 { font-size: clamp(3rem, 7vw, 6.4rem); }
h2 { font-size: clamp(2.25rem, 4.4vw, 4.4rem); }
h3 { font-size: clamp(1.45rem, 2.2vw, 2rem); }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.hidden { position: absolute; left: -9999px; }
.skip-link { position: fixed; z-index: 999; left: 16px; top: 12px; padding: 12px 18px; background: var(--paper); color: var(--ink); transform: translateY(-160%); border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; z-index: 50; top: 0; background: rgba(255, 253, 250, .95); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.header-shell { width: var(--shell); min-height: 96px; margin: auto; display: flex; align-items: center; gap: 24px; }
.brand { flex: 0 0 205px; }
.brand img { width: 205px; height: auto; }
.site-nav { margin-left: auto; display: flex; align-items: center; justify-content: flex-end; gap: 3px; }
.site-nav > a, .nav-group > summary { min-height: 44px; display: inline-flex; align-items: center; padding: 8px 10px; border-radius: 9px; color: var(--ink); font-size: .79rem; font-weight: 700; letter-spacing: .02em; text-decoration: none; cursor: pointer; white-space: nowrap; }
.site-nav > a:hover, .nav-group > summary:hover, [aria-current="page"] { background: var(--sage); }
.nav-group { position: relative; }
.nav-group > summary { list-style: none; }
.nav-group > summary::-webkit-details-marker { display: none; }
.nav-group > summary::after { content: "⌄"; margin-left: 6px; }
.nav-group > div { position: absolute; top: calc(100% + 8px); left: 0; min-width: 210px; padding: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.nav-group > div a { min-height: 44px; padding: 9px 12px; display: flex; align-items: center; border-radius: 8px; text-decoration: none; font-size: .9rem; font-weight: 700; }
.nav-group > div a:hover { background: var(--sage); }
.header-call { flex: 0 0 auto; min-height: 46px; padding: 10px 16px; display: inline-flex; align-items: center; border-radius: 999px; color: #fff; background: var(--evergreen); text-decoration: none; font-weight: 800; font-size: .82rem; }
.menu-toggle { display: none; width: 48px; height: 48px; padding: 12px; background: var(--evergreen); border: 0; border-radius: 10px; }
.menu-toggle > span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: #fff; }

.eyebrow { margin-bottom: 1rem; color: var(--clay-dark); font-size: .78rem; line-height: 1.3; font-weight: 800; letter-spacing: .19em; text-transform: uppercase; }
.button { min-height: 48px; padding: 13px 22px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 10px; color: #fff; background: var(--clay); box-shadow: 0 10px 24px rgba(203, 58, 30, .22); text-decoration: none; font-weight: 800; cursor: pointer; }
.button:hover { background: var(--clay-dark); }
.button.secondary { color: var(--evergreen); background: var(--paper); box-shadow: none; }
.text-link { display: inline-flex; min-height: 44px; align-items: center; font-weight: 800; }
.text-link::after { content: "→"; margin-left: 9px; }
.text-link.light { color: #fff; }
.actions, .split-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }

.home-hero { min-height: 720px; padding: clamp(90px, 12vw, 160px) max(24px, calc((100vw - 1220px) / 2)); position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); align-items: center; background: radial-gradient(circle at 78% 50%, rgba(65, 198, 214, .9) 0 15%, rgba(65, 198, 214, .2) 16% 32%, transparent 33%), linear-gradient(120deg, var(--evergreen-dark), var(--evergreen)); color: #fff; }
.home-hero::before, .home-hero::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; }
.home-hero::before { width: 720px; height: 720px; right: -120px; top: -180px; }
.home-hero::after { width: 520px; height: 520px; right: 130px; bottom: -330px; }
.home-hero-copy { position: relative; z-index: 2; max-width: 790px; }
.home-hero h1, .home-hero .eyebrow { color: #fff; }
.home-hero-copy > p:not(.eyebrow) { max-width: 660px; font-size: clamp(1.12rem, 2vw, 1.45rem); }
.hero-facts { position: relative; z-index: 2; align-self: end; justify-self: end; display: grid; width: min(380px, 100%); border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); border-radius: 18px; backdrop-filter: blur(8px); }
.hero-facts span { padding: 18px 22px; border-bottom: 1px solid rgba(255,255,255,.22); font-weight: 700; }
.hero-facts span:last-child { border: 0; }

.page-hero { min-height: 470px; padding: clamp(72px, 9vw, 120px) max(24px, calc((100vw - 1220px) / 2)); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); align-items: center; gap: 60px; overflow: hidden; background: linear-gradient(135deg, #e8f8fa, var(--cream)); }
.page-hero-copy { max-width: 900px; }
.page-hero-copy > p:not(.eyebrow) { max-width: 720px; font-size: 1.2rem; color: var(--ink-soft); }
.hero-mark, .story-emblem { aspect-ratio: 1; display: grid; place-items: center; color: #fff; background: var(--evergreen); border: 22px solid var(--sage); border-radius: 22px; box-shadow: var(--shadow); }
.hero-mark { width: min(340px, 100%); transform: rotate(3deg); }
.hero-mark span { font: 600 clamp(4rem, 9vw, 8rem)/1 var(--serif); transform: rotate(-3deg); }
.story-emblem { width: min(500px, 100%); aspect-ratio: 4 / 3; border-color: var(--cream); }
.story-emblem span { font: 500 clamp(2.4rem, 5vw, 4.5rem)/1.05 var(--serif); }

.split-section, .prose-feature, .image-story, .support-strip, .contact-map, .contact-page-grid, .meals-layout, .jobs-section { width: var(--shell); margin: auto; padding: clamp(76px, 10vw, 138px) 0; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(48px, 8vw, 110px); align-items: center; }
.split-section > div:last-child, .prose-feature > div:last-child { max-width: 720px; font-size: 1.1rem; }
.feature-band, .video-section, .testimonial-section, .faq-section, .resources-section, .application-section, .gallery-shell, .calendar-section, .medical-services { padding: clamp(76px, 10vw, 130px) max(24px, calc((100vw - 1220px) / 2)); }
.feature-band, .dark-section { color: #fff; background: var(--evergreen); }
.feature-band h2, .feature-band h3, .feature-band .eyebrow, .dark-section h2, .dark-section h3, .dark-section .eyebrow, .dark-section a { color: #fff; }
.section-heading { max-width: 820px; margin-bottom: 48px; }
.section-heading > p:not(.eyebrow) { max-width: 700px; }
.feature-grid { margin: 42px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.feature-grid article { min-height: 260px; padding: 30px; border: 1px solid rgba(255,255,255,.24); border-radius: 16px; background: rgba(255,255,255,.08); }
.feature-grid article > span { display: block; margin-bottom: 40px; color: #ffb9aa; font-weight: 900; letter-spacing: .12em; }
.published-note, .resource-note { max-width: 900px; padding: 20px 22px; border-left: 4px solid var(--clay); background: rgba(255,255,255,.1); }
.image-story img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center; border-radius: 20px; box-shadow: var(--shadow); }
.image-story.reverse > :first-child { grid-column: 2; grid-row: 1; }
.image-story.reverse > :last-child { grid-column: 1; grid-row: 1; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.check-grid span { padding: 17px; background: var(--cream); border-radius: 10px; font-weight: 700; }
.callout-line { margin-top: 32px; font-size: 1.1rem; font-weight: 700; }
.schedule { display: grid; gap: 8px; }
.schedule div { padding: 15px 0; display: flex; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.schedule dt { font-weight: 800; }
.schedule dd { margin: 0; }
.cta-panel { padding: clamp(60px, 8vw, 100px) max(24px, calc((100vw - 1220px) / 2)); display: flex; align-items: end; justify-content: space-between; gap: 30px; color: #fff; background: var(--clay-dark); }
.cta-panel h2, .cta-panel .eyebrow { color: #fff; }
.cta-panel > div:first-child { max-width: 760px; }

.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.video-frame { aspect-ratio: 16 / 9; overflow: hidden; border-radius: 16px; background: #06343c; }
.video-frame iframe, .map-card iframe, .calendar-section iframe { width: 100%; height: 100%; border: 0; }
.video-grid h3 { margin-top: 18px; }
.calendar-section { background: #e8f7f9; }
.calendar-section iframe { min-height: 660px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.support-strip { padding-right: clamp(30px, 6vw, 80px); padding-left: clamp(30px, 6vw, 80px); background: var(--sage); border-radius: 22px; }
.support-strip.text-only { grid-template-columns: 1fr; }
.support-strip.text-only > div { max-width: 920px; }

.team-list { width: var(--shell); margin: auto; padding: clamp(70px, 9vw, 120px) 0; display: grid; gap: 30px; }
.team-card { display: grid; grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; padding: 30px; background: var(--cream); border: 1px solid var(--line); border-radius: 20px; }
.team-card:nth-child(even) { background: #eaf7f9; }
.team-card img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center; border-radius: 14px; }
.team-card > div { padding: 22px 0; max-width: 720px; }
.team-card > div > a { min-height: 44px; display: inline-flex; align-items: center; font-weight: 800; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-item { min-height: 0; aspect-ratio: 100 / 71; padding: 0; overflow: hidden; border: 0; border-radius: 14px; background: #e6e5de; cursor: zoom-in; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.025); }
.lightbox { width: min(1100px, calc(100% - 36px)); padding: 46px 18px 18px; border: 0; border-radius: 18px; background: var(--paper); }
.lightbox::backdrop { background: rgba(5, 42, 49, .88); }
.lightbox img { max-height: 78vh; width: 100%; object-fit: contain; }
.lightbox-close { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--evergreen); color: #fff; font-size: 1.8rem; cursor: pointer; }

.testimonials { display: grid; grid-template-columns: 1.25fr .75fr; gap: 24px; align-items: start; }
blockquote { margin: 0; padding: clamp(30px, 4vw, 54px); background: var(--cream); border-radius: 18px; border: 1px solid var(--line); font-family: var(--serif); font-size: 1.12rem; }
blockquote cite { font: 800 .95rem/1.5 var(--sans); }
.faq-section { background: #e8f7f9; }
.faq-list { max-width: 980px; }
.faq-list details { padding: 0 22px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.faq-list details + details { margin-top: 10px; }
.faq-list summary { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-weight: 800; cursor: pointer; }
.faq-list summary::after { content: "+"; font-size: 1.5rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 0 24px; max-width: 820px; }
.resource-list { max-width: 940px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; list-style: none; }
.resource-list a { min-height: 64px; padding: 14px 17px; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--cream); border: 1px solid var(--line); border-radius: 11px; font-weight: 800; text-decoration: none; }
.resources-section .resource-note { background: var(--sage); }

.jobs-section { align-items: start; }
.job-list { padding: 0; list-style: none; }
.job-list li { padding: 20px 0; display: flex; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.job-list strong { font-family: var(--serif); font-size: 1.25rem; }
.job-list span { text-align: right; }
.job-form, .lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 7px; }
.field.full, fieldset, .full { grid-column: 1 / -1; }
label, legend { font-weight: 800; }
input, select, textarea { width: 100%; min-height: 50px; padding: 11px 13px; color: var(--ink); background: #fff; border: 1px solid rgba(20, 126, 140, .38); border-radius: 8px; }
textarea { resize: vertical; }
fieldset { margin: 0; padding: 16px; display: flex; flex-wrap: wrap; gap: 10px 24px; border: 1px solid var(--line); border-radius: 10px; }
fieldset label, .terms label { min-height: 44px; display: inline-flex; align-items: center; gap: 9px; }
fieldset input, .terms input { width: 20px; min-height: 20px; }
.application-section { background: #e8f7f9; }
.job-form, .contact-page-grid > div, .quick-contact { padding: clamp(26px, 4vw, 48px); background: var(--paper); border: 1px solid var(--line); border-radius: 18px; }
.terms { padding: 20px; background: var(--cream); border-radius: 10px; font-size: .92rem; }
.meals-layout { align-items: start; }
.meals-layout aside { padding: clamp(28px, 5vw, 54px); background: var(--sage); border-radius: 18px; }
.medical-list { max-width: 1000px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; list-style: none; counter-reset: medical; }
.medical-list li { min-height: 110px; padding: 24px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 12px; }

.contact-map { align-items: stretch; }
.compact-form fieldset, .compact-form .field.full, .compact-form .button { grid-column: 1 / -1; }
.map-card { min-height: 560px; overflow: hidden; display: flex; flex-direction: column; background: var(--sage); border-radius: 18px; }
.map-card iframe { min-height: 440px; flex: 1; }
.map-card > div { padding: 22px; display: grid; gap: 4px; }
.contact-page-grid { align-items: start; }
.contact-page-grid aside { display: grid; gap: 20px; }
.contact-card { padding: 28px; display: grid; gap: 10px; background: var(--sage); border-radius: 15px; }
.contact-card address { font-style: normal; }

.thanks { min-height: 65vh; padding: 130px 24px; display: grid; place-content: center; justify-items: start; background: var(--cream); }
.thanks p:not(.eyebrow) { max-width: 640px; font-size: 1.2rem; }

.site-footer { padding: 76px max(24px, calc((100vw - 1220px) / 2)) 30px; color: #fff; background: var(--evergreen-dark); }
.site-footer h2 { color: #fff; font: 800 .78rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr 1.2fr .7fr; gap: 42px; }
.footer-logo { width: 230px; padding: 12px; background: #fff; border-radius: 8px; }
.footer-grid address { max-width: 220px; margin-bottom: 12px; font-style: normal; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 18px; }
.footer-links a, .footer-grid > div > a { min-height: 38px; display: inline-flex; align-items: center; }
.footer-bottom { margin-top: 54px; padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.18); font-size: .82rem; }

@media (max-width: 1120px) {
  :root { --shell: min(100% - 36px, 980px); }
  .header-shell { min-height: 82px; }
  .brand, .brand img { width: 180px; flex-basis: 180px; }
  .menu-toggle { display: block; margin-left: auto; }
  .header-call { display: none; }
  .site-nav { position: absolute; top: 82px; right: 18px; left: 18px; max-height: calc(100vh - 100px); overflow: auto; padding: 12px; display: none; align-items: stretch; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav > a, .nav-group > summary { padding: 10px 13px; font-size: .95rem; }
  .nav-group > div { position: static; margin: 4px 0 6px 18px; box-shadow: none; }
  .home-hero { grid-template-columns: 1fr; min-height: 690px; }
  .hero-facts { align-self: auto; justify-self: start; grid-template-columns: repeat(3, 1fr); width: 100%; }
  .hero-facts span { border-right: 1px solid rgba(255,255,255,.22); border-bottom: 0; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .video-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) and (min-width: 761px) {
  .page-hero { padding-right: 36px; padding-left: 36px; grid-template-columns: minmax(0, 1fr) 230px; gap: 42px; }
  .testimonial-section, .faq-section, .resources-section, .application-section, .gallery-shell, .calendar-section, .medical-services { padding-right: 36px; padding-left: 36px; }
  .testimonials { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  :root { --shell: calc(100% - 32px); }
  body { font-size: 16px; }
  h1 { font-size: clamp(2.7rem, 14vw, 4.6rem); }
  h2 { font-size: clamp(2rem, 10vw, 3.4rem); }
  .home-hero { min-height: auto; padding-top: 82px; padding-bottom: 82px; gap: 46px; }
  .home-hero::before { width: 420px; height: 420px; }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts span { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.22); }
  .page-hero { min-height: auto; grid-template-columns: 1fr; gap: 42px; }
  .hero-mark { width: 210px; }
  .split-section, .prose-feature, .image-story, .support-strip, .contact-map, .contact-page-grid, .meals-layout, .jobs-section { grid-template-columns: 1fr; gap: 42px; }
  .image-story.reverse > :first-child, .image-story.reverse > :last-child { grid-column: 1; grid-row: auto; }
  .feature-grid, .video-grid, .gallery-grid, .testimonials, .resource-list, .medical-list, .check-grid { grid-template-columns: 1fr; }
  .feature-grid article { min-height: auto; }
  .team-card { grid-template-columns: 1fr; padding: 18px; gap: 16px; }
  .team-card img { aspect-ratio: 1; }
  .team-card > div { padding: 12px 4px; }
  .job-form, .lead-form { grid-template-columns: 1fr; }
  .field, .field.full, fieldset, .full { grid-column: 1; }
  .job-list li, .cta-panel { align-items: flex-start; flex-direction: column; }
  .job-list span { text-align: left; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 390px) {
  .header-shell { width: calc(100% - 24px); }
  .brand, .brand img { width: 152px; flex-basis: 152px; }
  .actions, .split-actions { align-items: stretch; flex-direction: column; }
  .button, .text-link { width: 100%; justify-content: center; }
  .gallery-grid { gap: 12px; }
  .gallery-item { min-height: 0; }
}

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