:root {
  --teal: #007c83;
  --teal-dark: #005e63;
  --navy: #173042;
  --body: #405463;
  --blue: #0aa9df;
  --lime: #a8cf3b;
  --orange: #f28c28;
  --soft: #f2f7f7;
  --warm: #fff7ed;
  --border: #d7e2e5;
  --white: #fff;
  --shadow: 0 20px 60px rgba(23, 48, 66, .12);
  --container: 1280px;
  --gutter: clamp(20px, 4vw, 64px);
  --section: clamp(68px, 8vw, 112px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; color: var(--body); font: 16px/1.65 Arial, "Helvetica Neue", sans-serif; background: var(--white); }
body.menu-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }
button { cursor: pointer; }
.container { width: min(100%, var(--container)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.skip-link { position: fixed; left: 20px; top: -100px; z-index: 1000; background: var(--navy); color: white; padding: 12px 18px; }
.skip-link:focus { top: 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.utility-bar { background: var(--navy); color: white; font-size: 13px; }
.utility-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.utility-inner p { margin: 0; }
.utility-inner nav { display: flex; align-items: center; gap: 24px; }
.utility-inner a, .plain-button { text-decoration: none; color: white; }
.plain-button { border: 0; background: transparent; padding: 0; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); border-bottom: 1px solid transparent; transition: box-shadow .2s, border-color .2s; }
.site-header.scrolled { border-color: var(--border); box-shadow: 0 8px 24px rgba(23,48,66,.07); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand img { width: 54px; height: 54px; }
.brand span { display: grid; line-height: 1; }
.brand strong { font-size: 24px; letter-spacing: -.6px; }
.brand small { margin-top: 5px; text-transform: uppercase; letter-spacing: 3.3px; font-weight: 700; font-size: 9px; color: var(--teal); }
.main-nav { display: flex; align-items: center; gap: clamp(15px, 2vw, 30px); font-size: 14px; font-weight: 700; color: var(--navy); }
.main-nav a { text-decoration: none; padding-block: 15px; }
.main-nav a:not(.nav-cta):hover { color: var(--teal); }
.nav-cta { background: var(--teal); color: white; padding: 13px 18px !important; border-radius: 3px; }
.nav-cta:hover { background: var(--teal-dark); }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--navy); }

.hero { overflow: hidden; background: linear-gradient(120deg, #f5fbfb 0 63%, white 63%); }
.hero-grid { min-height: min(710px, calc(100vh - 126px)); display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: clamp(30px, 5vw, 84px); padding-block: clamp(48px, 6vw, 90px); }
.eyebrow { color: var(--teal); text-transform: uppercase; font-size: 12px; font-weight: 700; letter-spacing: 2.4px; margin: 0 0 15px; }
.eyebrow.light { color: #8fe2df; }
h1,h2,h3 { color: var(--navy); line-height: 1.08; margin-top: 0; }
h1 { font-size: clamp(43px, 5.2vw, 70px); letter-spacing: -3px; margin-bottom: 24px; max-width: 680px; }
h2 { font-size: clamp(34px, 4vw, 50px); letter-spacing: -1.8px; margin-bottom: 20px; }
h3 { font-size: 23px; letter-spacing: -.5px; }
.hero-lede { max-width: 590px; font-size: clamp(18px, 2vw, 22px); line-height: 1.55; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 12px 22px; border: 2px solid transparent; border-radius: 3px; text-decoration: none; font-weight: 700; transition: .18s ease-out; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--teal); color: white; }
.button.primary:hover { background: var(--teal-dark); }
.button.secondary { border-color: var(--teal); color: var(--teal-dark); background: white; }
.button.white { background: white; color: var(--teal-dark); }
.button.outline-light { border-color: rgba(255,255,255,.7); color: white; }
.open-chip { margin-top: 28px; display: flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 700; font-size: 14px; }
.open-chip span { width: 10px; height: 10px; background: var(--lime); border-radius: 50%; box-shadow: 0 0 0 5px rgba(168,207,59,.17); }
.hero-visual { position: relative; min-height: 535px; border-radius: 2px 2px 110px 2px; overflow: hidden; background: linear-gradient(145deg, #cae7e9, #7dbfc1); box-shadow: var(--shadow); }
.hero-visual::before { content: ""; position: absolute; inset: 30% -20% -33% 15%; background: radial-gradient(circle at 40% 30%, rgba(255,255,255,.3), transparent 55%); border: 34px solid rgba(255,255,255,.18); border-radius: 50%; }
.placeholder-label { position: absolute; inset: 0; display: grid; place-content: center; gap: 8px; padding: 30px; text-align: center; color: var(--navy); font-weight: 700; }
.placeholder-label span { font-size: 11px; color: var(--teal-dark); text-transform: uppercase; letter-spacing: 2px; }
.hero-note { position: absolute; bottom: 24px; left: -38px; background: white; padding: 22px 25px; display: grid; box-shadow: var(--shadow); border-left: 5px solid var(--lime); }
.hero-note strong { color: var(--navy); font-size: 18px; }
.hero-note span { font-size: 13px; }

.wayfinding { position: relative; z-index: 2; padding: 76px 0; background: var(--white); }
.section-heading.compact { text-align: center; }
.wayfinding-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 38px; }
.find-card { border: 1px solid var(--border); border-top: 5px solid var(--teal); padding: 32px; transition: .18s; }
.find-card:nth-child(2) { border-top-color: var(--blue); }
.find-card:nth-child(3) { border-top-color: var(--lime); }
.find-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.find-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: white; background: var(--teal); font-size: 28px; margin-bottom: 24px; }
.find-icon.pin { background: var(--blue); }
.find-icon.heart { background: var(--lime); color: var(--navy); }
.find-card h3 { margin-bottom: 9px; }
.find-card p { margin: 0 0 20px; }
.find-card a, .arrow-link { color: var(--teal-dark); text-decoration: none; font-weight: 700; }

.services { background: var(--soft); }
.section-heading { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 60px; margin-bottom: 42px; }
.section-heading h2 { margin: 0; }
.section-heading > p { font-size: 18px; margin: 0; max-width: 530px; }
.service-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.service-card { min-height: 225px; display: flex; flex-direction: column; padding: 27px; background: white; border-bottom: 4px solid var(--teal); }
.service-card.hidden { display: none; }
.service-card span { color: var(--teal); font-size: 30px; }
.service-card h3 { margin: auto 0 10px; }
.service-card p { margin: 0; font-size: 14px; }
.text-button { margin-top: 30px; border: 0; background: transparent; padding: 8px 0; color: var(--teal-dark); font-weight: 700; }

.doctor-finder { color: white; background: var(--teal-dark); }
.finder-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 8vw, 110px); align-items: center; }
.finder-copy h2 { color: white; }
.finder-copy p:last-child { font-size: 18px; color: #d6eeee; }
.finder-panel { color: var(--body); background: white; padding: clamp(25px, 4vw, 44px); box-shadow: var(--shadow); }
.finder-panel label { color: var(--navy); display: block; font-weight: 700; margin-bottom: 9px; }
.search-field { display: flex; }
.search-field input { flex: 1; min-width: 0; border: 1px solid var(--border); padding: 15px; }
.search-field button { border: 0; background: var(--orange); color: var(--navy); font-weight: 700; padding: 0 24px; }
.result-count { font-size: 13px; min-height: 20px; margin: 15px 0 7px; }
.doctor-results { display: grid; gap: 7px; }
.doctor-result { display: flex; align-items: center; gap: 13px; padding: 11px; background: var(--soft); }
.doctor-avatar { width: 42px; height: 42px; display: grid; place-items: center; background: var(--teal); color: white; border-radius: 50%; font-weight: 700; }
.doctor-result strong { display: block; color: var(--navy); }
.doctor-result span { font-size: 13px; }

.tool-grid { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--border); }
.tool-card { min-height: 190px; padding: 26px; text-decoration: none; display: flex; flex-direction: column; border-right: 1px solid var(--border); transition: background .18s; }
.tool-card:last-child { border: 0; }
.tool-card:hover { background: var(--soft); }
.tool-card > span { color: var(--teal); font-size: 12px; letter-spacing: 1.5px; }
.tool-card strong { color: var(--navy); font-size: 20px; margin-top: auto; }
.tool-card small { font-size: 14px; }

.story { background: var(--warm); }
.story-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(42px, 8vw, 110px); }
.story-visual { position: relative; min-height: 520px; background: linear-gradient(145deg,#f1d4ae,#ca9b68); border-radius: 90px 2px 2px 2px; display: grid; place-content: center; padding: 30px; text-align: center; color: var(--navy); font-weight: 700; }
.story-visual::after { content: ""; position: absolute; right: -18px; bottom: -18px; width: 40%; height: 38%; border-right: 18px solid var(--orange); border-bottom: 18px solid var(--orange); }
.story-copy > p:not(.eyebrow) { font-size: 18px; }
.impact-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; padding-top: 35px; margin-top: 35px; border-top: 1px solid #e6cda9; }
.impact-row div { display: grid; }
.impact-row strong { color: var(--teal-dark); font-size: 28px; }
.impact-row span { font-size: 13px; }

.location { color: white; background: var(--navy); }
.location-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 90px); align-items: center; }
.location h2 { color: white; }
.location address { font-style: normal; color: #d9e3e9; }
.location address strong { color: white; font-size: 19px; }
.location dl { margin: 25px 0; }
.location dl div { display: flex; gap: 20px; border-top: 1px solid rgba(255,255,255,.15); padding: 10px 0; }
.location dt { width: 65px; color: #9fb1bd; }
.location dd { margin: 0; font-weight: 700; }
.map-placeholder { min-height: 475px; position: relative; overflow: hidden; background: #d8e2e1; }
.map-grid { position:absolute; inset:-40px; opacity:.7; background: repeating-linear-gradient(30deg, transparent 0 55px,#fff 56px 62px), repeating-linear-gradient(120deg,transparent 0 80px,#b8cecc 81px 87px); }
.map-pin { position: absolute; left: 53%; top: 43%; transform: translate(-50%,-50%); background: white; padding: 10px; border-radius: 3px; color: var(--navy); box-shadow: var(--shadow); display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; }
.map-pin img { width: 35px; }
.map-label { inset: auto auto 15px 15px; place-content: initial; text-align: left; background: rgba(255,255,255,.9); padding: 10px 13px; }

.appointment { background: var(--soft); }
.appointment-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(40px,7vw,90px); }
.appointment-grid > div > p:last-child { font-size: 15px; }
.appointment-form { background: white; padding: clamp(24px,4vw,44px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.appointment-form label { color: var(--navy); font-weight: 700; font-size: 14px; }
.appointment-form input:not([type=checkbox]), .appointment-form select { width: 100%; min-height: 51px; margin-top: 7px; padding: 11px; border: 1px solid #aabcc3; background: white; }
.appointment-form .consent { margin: 20px 0; display: flex; align-items: flex-start; gap: 10px; font-weight: 400; }
.appointment-form .consent input { margin-top: 6px; }
.appointment-form button { border: 0; }
.form-status { margin: 12px 0 0; color: var(--teal-dark); font-weight: 700; }
.field-error { border-color: #b42318 !important; box-shadow: 0 0 0 2px rgba(180,35,24,.12); }

.site-footer { padding-top: 72px; background: #102633; color: #c9d5dc; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3,1fr); gap: 50px; }
.footer-brand { color: white; }
.footer-grid h2 { color: white; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 20px; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; gap: 9px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.14); padding-block: 25px; margin-top: 60px; font-size: 12px; }

.search-dialog { width: min(780px, calc(100% - 30px)); border: 0; padding: 0; box-shadow: 0 30px 100px rgba(0,0,0,.28); }
.search-dialog::backdrop { background: rgba(16,38,51,.78); }
.search-dialog-inner { position: relative; padding: clamp(30px,6vw,70px); }
.dialog-close { position: absolute; right: 20px; top: 15px; border: 0; background: transparent; color: var(--navy); font-size: 35px; }
.search-dialog h2 { font-size: clamp(29px,4vw,44px); }
.search-dialog input { width: 100%; min-height: 60px; border: 2px solid var(--teal); padding: 15px 18px; }
.site-search-results { margin-top: 15px; display: grid; gap: 6px; }
.site-search-results a { background: var(--soft); padding: 10px 14px; text-decoration: none; color: var(--navy); font-weight: 700; }
.error-page { min-height: 100vh; display: grid; place-content: center; text-align: center; justify-items: center; padding: 30px; }
.error-page h1 { font-size: clamp(38px,6vw,70px); margin-bottom: 10px; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s cubic-bezier(.2,.8,.2,1), transform .5s cubic-bezier(.2,.8,.2,1); }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1040px) {
  .main-nav { gap: 14px; }
  .main-nav a:nth-child(4), .main-nav a:nth-child(5) { display: none; }
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual { min-height: 460px; }
  .service-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 767px) {
  html { scroll-padding-top: 73px; }
  .utility-inner { min-height: 35px; }
  .utility-inner nav a { display: none; }
  .utility-inner nav { gap: 0; }
  .header-inner { min-height: 72px; }
  .brand img { width: 45px; height: 45px; }
  .brand strong { font-size: 20px; }
  .menu-toggle { display: grid; grid-template-columns: 25px auto; align-items: center; gap: 0 10px; }
  .menu-toggle span { grid-column: 1; height: 2px; background: var(--navy); margin: 2px 0; }
  .menu-toggle b { grid-column: 2; grid-row: 1/4; font-size: 12px; }
  .main-nav { display: none; position: fixed; left: 0; right: 0; top: 107px; bottom: 0; background: white; padding: 30px var(--gutter); align-items: stretch; flex-direction: column; gap: 5px; font-size: 19px; }
  .main-nav.open { display: flex; }
  .main-nav a:nth-child(4), .main-nav a:nth-child(5) { display: block; }
  .nav-cta { margin-top: 12px; text-align: center; }
  .hero { background: var(--soft); }
  .hero-grid { min-height: 0; grid-template-columns: 1fr; padding-top: 50px; }
  h1 { letter-spacing: -1.8px; }
  .hero-visual { min-height: 390px; margin-left: 24px; }
  .hero-note { left: -24px; }
  .wayfinding-grid, .finder-grid, .story-grid, .location-grid, .appointment-grid { grid-template-columns: 1fr; }
  .wayfinding { padding-block: 60px; }
  .find-card { padding: 25px; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; }
  .section-heading > p { font-size: 16px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 175px; }
  .tool-grid { grid-template-columns: 1fr 1fr; }
  .tool-card { border-bottom: 1px solid var(--border); min-height: 160px; }
  .tool-card:nth-child(2) { border-right: 0; }
  .story-grid { gap: 65px; }
  .story-visual { min-height: 400px; }
  .impact-row strong { font-size: 23px; }
  .map-placeholder { min-height: 365px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1/-1; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 420px) {
  .button-row .button { width: 100%; }
  .tool-grid, .footer-grid { grid-template-columns: 1fr; }
  .tool-card { border-right: 0; }
  .impact-row { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
}

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