:root {
  --blue: #185693;
  --blue-dark: #0d355c;
  --blue-deep: #092b4b;
  --blue-soft: #eaf2f8;
  --green: #08783e;
  --green-dark: #075d32;
  --green-soft: #e9f5ee;
  --ink: #152536;
  --muted: #5e6c7a;
  --line: #d9e2e8;
  --white: #ffffff;
  --mist: #f5f8fa;
  --shadow: 0 24px 70px rgba(13, 53, 92, .13);
  --shell: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: "DM Sans", system-ui, sans-serif; font-size: 16px; line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.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; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 16px; background: var(--white); color: var(--blue-dark); transform: translateY(-150%); box-shadow: var(--shadow); }
.skip-link:focus { transform: none; }

.utility-bar { background: var(--blue-dark); color: var(--white); font-size: .875rem; }
.utility-inner { min-height: 50px; display: flex; align-items: center; gap: 24px; }
.utility-inner p { margin: 0 auto 0 0; font-weight: 600; }
.utility-book { align-self: stretch; display: inline-flex; align-items: center; padding-inline: 22px; background: var(--green); color: var(--white); font-weight: 700; }
.utility-book:hover { background: var(--green-dark); }
.utility-links { display: flex; align-items: center; gap: 10px; }
.utility-links a { font-weight: 600; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: #58ca84; box-shadow: 0 0 0 4px rgba(88,202,132,.14); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid rgba(217,226,232,.9); backdrop-filter: blur(14px); }
.header-inner { min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; width: 270px; flex: 0 0 auto; }
.brand img { width: 100%; height: auto; }
.primary-nav { display: flex; align-items: center; gap: 23px; font-size: .9rem; font-weight: 600; }
.primary-nav > a:not(.nav-portal) { position: relative; padding-block: 12px; }
.primary-nav > a:not(.nav-portal)::after { content: ""; position: absolute; right: 0; bottom: 7px; left: 0; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.primary-nav > a:hover::after, .primary-nav > a:focus-visible::after, .primary-nav > a.active::after { transform: scaleX(1); }
.nav-portal { padding: 11px 15px; border: 1px solid var(--blue); color: var(--blue); transition: .2s ease; }
.nav-portal:hover { background: var(--blue); color: var(--white); }
.menu-toggle { display: none; width: 45px; height: 45px; padding: 10px; border: 1px solid var(--line); background: var(--white); }
.menu-toggle > span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--blue-dark); }

.eyebrow { margin: 0 0 14px; color: var(--green); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow.light { color: #92deb3; }
h1, h2, h3 { margin-top: 0; font-family: "Libre Franklin", system-ui, sans-serif; line-height: 1.12; letter-spacing: -.035em; }
h1 { margin-bottom: 24px; font-size: clamp(3rem, 6vw, 5.15rem); }
h2 { color: var(--blue-dark); font-size: clamp(2.2rem, 4vw, 3.55rem); }
h3 { font-size: 1.4rem; }

.hero { position: relative; overflow: hidden; background: linear-gradient(108deg, #f2f7fa 0%, #fff 60%); }
.hero-mountain { position: absolute; right: 0; bottom: 0; left: 0; height: 210px; background-image: linear-gradient(to bottom, rgba(255,255,255,1), rgba(255,255,255,.25)), url("assets/tetons-summer.jpg"); background-position: center 37%; background-size: cover; opacity: .18; }
.hero-grid { position: relative; z-index: 1; min-height: 610px; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 60px; padding-block: 62px 76px; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy h1 { max-width: 660px; color: var(--blue-dark); }
.hero-lede { max-width: 660px; margin: 0; color: var(--muted); font-size: 1.18rem; line-height: 1.72; }
.hero-actions, .inline-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 32px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 13px 22px; border: 1px solid transparent; font-weight: 700; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--green); color: var(--white); box-shadow: 0 12px 26px rgba(8,120,62,.2); }
.button-primary:hover { background: var(--green-dark); }
.button-secondary { border-color: var(--line); background: var(--white); color: var(--blue-dark); }
.button-white { background: var(--white); color: var(--green-dark); }
.button-ghost { border-color: rgba(255,255,255,.35); color: var(--white); }
.hero-phone { display: flex; width: max-content; align-items: baseline; gap: 12px; margin-top: 24px; color: var(--blue-dark); }
.hero-phone span { color: var(--muted); font-size: .86rem; font-weight: 600; }
.hero-phone strong { font-size: 1.1rem; }

.hero-doctors { position: relative; z-index: 2; width: min(100%, 560px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 18px; justify-self: end; }
.hero-doctor { display: flex; min-width: 0; height: 100%; flex-direction: column; color: var(--ink); }
.hero-photo { overflow: hidden; aspect-ratio: 4/5; background: #dde4e7; border: 8px solid var(--white); box-shadow: var(--shadow); }
.hero-photo { border-radius: 10px; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.hero-doctor > span { display: grid; align-content: center; width: 100%; min-height: 82px; padding: 13px 16px; background: var(--white); box-shadow: 0 14px 32px rgba(13,53,92,.13); }
.hero-doctor strong { color: var(--blue-dark); font-size: .94rem; }
.hero-doctor small { color: var(--green); font-size: .74rem; font-weight: 700; }

.quick-actions { background: var(--blue-dark); color: var(--white); }
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.quick-grid > a { min-height: 116px; display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 16px; padding: 22px 28px; border-right: 1px solid rgba(255,255,255,.14); transition: background .2s ease; }
.quick-grid > a:first-child { border-left: 1px solid rgba(255,255,255,.14); }
.quick-grid > a:hover { background: rgba(255,255,255,.07); }
.quick-icon { color: #76c89a; font-size: .75rem; font-weight: 700; letter-spacing: .12em; }
.quick-grid strong, .quick-grid small { display: block; }
.quick-grid strong { font-size: 1rem; }
.quick-grid small { margin-top: 2px; color: rgba(255,255,255,.68); font-size: .82rem; }
.arrow { font-size: 1.3rem; }

.section { padding-block: 108px; }
.section-heading { display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 80px; margin-bottom: 48px; }
.section-heading.single-heading { grid-template-columns: 1fr; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { margin: 0 0 6px; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.service-card { grid-column: span 2; min-height: 292px; display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--line); background: var(--white); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.service-card:hover { transform: translateY(-4px); border-color: #b4c8d8; box-shadow: 0 20px 45px rgba(13,53,92,.08); }
.service-card.featured { background: var(--blue); color: var(--white); border-color: var(--blue); }
.service-card-ob { background: var(--green-soft); border-color: #c7e5d3; }
.service-number { margin-bottom: 30px; color: var(--green); font-size: .76rem; font-weight: 700; letter-spacing: .14em; }
.service-card.featured .service-number { color: #8cdeb0; }
.service-kicker { margin: -18px 0 7px !important; color: var(--green) !important; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.service-card h3 { margin-bottom: 13px; color: var(--blue-dark); }
.service-card.featured h3 { color: var(--white); }
.service-card p { margin: 0; color: var(--muted); }
.service-card.featured p { color: rgba(255,255,255,.78); }
.service-card a { margin-top: auto; padding-top: 24px; color: var(--blue); font-weight: 700; }
.service-card.featured a { color: var(--white); }
.additional-care { margin: 24px 0 0; padding: 18px 22px; border-left: 4px solid var(--green); background: var(--mist); color: var(--muted); }
.additional-care strong { color: var(--blue-dark); }

.physician-preview { background: var(--mist); }
.physician-heading { margin-bottom: 52px; }
.physician-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.physician-card { display: grid; grid-template-columns: 44% 56%; overflow: hidden; min-height: 390px; height: 100%; background: var(--white); box-shadow: 0 18px 50px rgba(13,53,92,.08); }
.physician-card-image { overflow: hidden; background: #dde4e7; }
.physician-card-image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.physician-card-copy { display: flex; flex-direction: column; justify-content: center; padding: 34px; }
.physician-card-copy h3 { margin-bottom: 14px; color: var(--blue-dark); font-size: 1.75rem; }
.physician-card-copy > p:not(.eyebrow) { margin: 0; color: var(--muted); }
.text-link { display: inline-flex; gap: 14px; align-items: center; margin-top: 22px; color: var(--blue); font-weight: 700; }

.ob-spotlight { position: relative; overflow: hidden; padding-block: 84px; background: var(--green); color: var(--white); }
.ob-spotlight::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 48%; background-image: linear-gradient(90deg, var(--green), rgba(8,120,62,.35)), url("assets/tetons-summer.jpg"); background-position: center 36%; background-size: cover; opacity: .34; }
.ob-spotlight-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 80px; }
.ob-spotlight h2 { margin-bottom: 0; color: var(--white); }
.ob-spotlight-grid > div:last-child > p { color: rgba(255,255,255,.8); font-size: 1.05rem; }

.community-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(55px, 8vw, 110px); }
.community-image { position: relative; }
.community-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: center; border: 7px solid var(--white); box-shadow: var(--shadow); }
.community-image span { position: absolute; right: -22px; bottom: 28px; padding: 14px 18px; background: var(--blue); color: var(--white); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.community-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
.check-list { display: grid; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 30px; font-weight: 600; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }

.visit { background: var(--blue); color: var(--white); }
.visit-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(50px, 8vw, 120px); align-items: center; }
.visit h2 { max-width: 680px; margin-bottom: 20px; color: var(--white); }
.visit-copy > p:not(.eyebrow) { max-width: 620px; color: rgba(255,255,255,.75); }
.contact-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.2); }
.contact-list > * { display: grid; align-content: start; }
.contact-list span { margin-bottom: 5px; color: #9eddbb; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.contact-list strong { font-size: .96rem; line-height: 1.45; }
.visit-panel { padding: 46px; background: var(--green); box-shadow: 28px 28px 0 rgba(13,53,92,.42); }
.visit-panel h3 { margin-bottom: 15px; font-size: 2rem; }
.visit-panel > p:not(.panel-label):not(.emergency-note) { color: rgba(255,255,255,.82); }
.panel-label { margin-top: 0; color: #c8efd9; font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.emergency-note { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.24); color: rgba(255,255,255,.68); font-size: .78rem; line-height: 1.5; }

/* Provider profiles */
.page-hero { position: relative; overflow: hidden; background: var(--blue-dark); color: var(--white); }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(9,43,75,.96), rgba(13,53,92,.58)), url("assets/tetons-summer.jpg"); background-position: center 38%; background-size: cover; opacity: .62; }
.page-hero-grid { position: relative; z-index: 2; min-height: 430px; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 70px; padding-block: 64px; }
.page-hero h1 { max-width: 680px; color: var(--white); }
.page-hero p:not(.eyebrow) { max-width: 670px; color: rgba(255,255,255,.72); font-size: 1.08rem; }
.mini-portrait-pair { width: min(100%, 480px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 16px; justify-self: end; }
.mini-portrait-pair img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 18%; border: 6px solid var(--white); border-radius: 8px; box-shadow: 0 20px 50px rgba(0,0,0,.18); }
.profile-jump { position: sticky; top: 90px; z-index: 30; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 8px 18px rgba(13,53,92,.05); }
.profile-jump-inner { min-height: 64px; display: flex; align-items: center; gap: 24px; }
.profile-jump span { color: var(--muted); font-size: .84rem; }
.profile-jump a { color: var(--blue); font-weight: 700; }
.profiles-section { background: var(--mist); }
.profile-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 24px; }
.profile-card { scroll-margin-top: 160px; display: flex; min-width: 0; height: 100%; flex-direction: column; overflow: hidden; border: 1px solid var(--line); background: var(--white); box-shadow: 0 18px 50px rgba(13,53,92,.08); }
.profile-card-photo { overflow: hidden; aspect-ratio: 5/4; background: #dde4e7; }
.profile-card-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.profile-card-body { display: flex; flex: 1; flex-direction: column; padding: 36px; }
.profile-card-body h2 { margin-bottom: 20px; font-size: clamp(2rem, 3vw, 2.75rem); }
.profile-card-body > p:not(.eyebrow) { color: var(--muted); }
.profile-card-body .interest-list { margin-top: 20px; }
.profile-call { margin-top: auto; padding-top: 28px; color: var(--blue); font-weight: 700; }
.physician-quote { position: relative; overflow: hidden; padding-block: 92px; background-image: linear-gradient(90deg, rgba(9,43,75,.93), rgba(13,53,92,.72)), url("assets/tetons-summer.jpg"); background-position: center; background-size: cover; color: var(--white); }
.physician-quote-inner { max-width: 850px; }
.physician-quote p { margin: 0 0 22px; font-family: "Libre Franklin", system-ui, sans-serif; font-size: clamp(1.5rem, 3.2vw, 2.35rem); font-weight: 600; line-height: 1.4; letter-spacing: -.025em; }
.physician-quote cite { color: #a0e2bd; font-size: .8rem; font-style: normal; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.doctor-profile { scroll-margin-top: 150px; }
.doctor-profile-alt { background: var(--mist); }
.doctor-profile-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: clamp(55px, 8vw, 110px); }
.doctor-profile-grid.reverse .doctor-profile-photo { order: 2; }
.doctor-profile-photo { position: relative; }
.doctor-profile-photo > img { width: 100%; aspect-ratio: 4/5; object-fit: cover; box-shadow: var(--shadow); }
.doctor-profile-photo img[alt*="Jones"] { object-position: 50% 33%; }
.doctor-profile-photo img[alt*="Nordmann"] { object-position: 50% 17%; }
.profile-credentials { position: absolute; right: -20px; bottom: -24px; display: grid; width: calc(100% - 22px); padding: 18px 20px; background: var(--blue-dark); color: var(--white); }
.profile-credentials span { color: #94d7b1; font-size: .72rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.profile-credentials strong { font-size: 1.1rem; }
.doctor-profile-copy h2 { margin-bottom: 18px; }
.doctor-profile-copy > p { color: var(--muted); }
.doctor-profile-copy .profile-lede { color: var(--ink); font-size: 1.14rem; font-weight: 500; }
.interest-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.interest-list span { padding: 7px 12px; background: var(--blue-soft); color: var(--blue-dark); font-size: .8rem; font-weight: 700; }
.profile-personal, .accepting-note { margin-top: 30px; padding: 20px 22px; border-left: 4px solid var(--green); background: var(--white); }
.profile-personal p, .accepting-note p { margin: 3px 0 0; color: var(--muted); }
.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 88px; }
.quote-grid blockquote { margin: 0; padding: 34px; background: var(--blue-dark); color: var(--white); }
.quote-grid blockquote:last-child { background: var(--green); }
.quote-grid p { margin: 0 0 22px; font-size: 1.05rem; }
.quote-grid cite { color: rgba(255,255,255,.68); font-size: .78rem; font-style: normal; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.profile-cta { padding-block: 76px; background: var(--blue); color: var(--white); }
.profile-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.profile-cta h2 { max-width: 700px; margin: 0; color: var(--white); }
.profile-cta p:not(.eyebrow) { max-width: 720px; color: rgba(255,255,255,.75); }
.profile-cta .inline-actions { flex: 0 0 auto; margin-top: 0; }

/* Obstetrics */
.ob-hero { position: relative; overflow: hidden; background: var(--green); color: var(--white); }
.ob-hero-rings { position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(7,93,50,.95), rgba(8,120,62,.54)), url("assets/tetons-summer.jpg"); background-position: center 38%; background-size: cover; opacity: .58; }
.ob-hero-grid { position: relative; z-index: 2; min-height: 620px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 80px; padding-block: 72px; }
.ob-hero h1 { max-width: 700px; color: var(--white); }
.ob-hero-copy > p:not(.eyebrow) { max-width: 690px; color: rgba(255,255,255,.82); font-size: 1.12rem; }
.ob-hero-card { align-self: stretch; display: flex; flex-direction: column; justify-content: end; overflow: hidden; background: var(--white); box-shadow: 0 28px 70px rgba(4,47,25,.25); }
.ob-hero-card img { width: 100%; height: 420px; object-fit: cover; object-position: 50% 18%; }
.ob-hero-card div { display: grid; padding: 22px 25px; }
.ob-hero-card span { color: var(--green); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.ob-hero-card strong { color: var(--blue-dark); font-size: 1.25rem; }
.ob-hero-card small { color: var(--muted); }
.ob-intro { padding-block: 70px; background: var(--blue-dark); color: var(--white); }
.ob-intro-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: 70px; align-items: start; }
.ob-intro-statement { margin: 0; font-family: "Libre Franklin", system-ui, sans-serif; font-size: clamp(1.5rem, 3vw, 2.3rem); font-weight: 600; line-height: 1.3; letter-spacing: -.03em; }
.path-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.path-grid article { min-height: 320px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.path-grid span { display: block; margin-bottom: 48px; color: var(--green); font-size: .75rem; font-weight: 700; letter-spacing: .12em; }
.path-grid h3 { color: var(--blue-dark); }
.path-grid p { color: var(--muted); }
.womens-health { background: var(--blue-dark); color: var(--white); }
.womens-health-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 85px; align-items: start; }
.womens-health-heading { position: sticky; top: 170px; }
.womens-health h2 { color: var(--white); }
.womens-health-heading > p:not(.eyebrow) { color: rgba(255,255,255,.7); }
.womens-health-services { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255,255,255,.18); border-left: 1px solid rgba(255,255,255,.18); }
.womens-health-services article { padding: 28px; border-right: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.womens-health-services h3 { margin-bottom: 10px; color: #a0e2bd; }
.womens-health-services p { margin: 0; color: rgba(255,255,255,.68); }
.ob-philosophy-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 90px; align-items: center; }
.ob-portrait { overflow: hidden; background: #dde4e7; }
.ob-portrait img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 18%; }
.ob-philosophy blockquote { margin: 24px 0; padding-left: 24px; border-left: 4px solid var(--green); color: var(--blue-dark); font-family: "Libre Franklin", system-ui, sans-serif; font-size: clamp(1.3rem, 2.3vw, 1.85rem); font-weight: 600; line-height: 1.45; }
.ob-philosophy-grid > div:last-child > p:not(.eyebrow) { color: var(--muted); }

.site-footer { background: #f3f6f8; }
.footer-main { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; padding-block: 68px 54px; }
.footer-brand { width: min(300px, 100%); }
.footer-identity > p { max-width: 360px; color: var(--muted); font-size: .88rem; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.footer-links div { display: grid; align-content: start; gap: 8px; }
.footer-links strong { margin-bottom: 6px; color: var(--blue-dark); }
.footer-links a { color: var(--muted); font-size: .92rem; }
.footer-links a:hover { color: var(--blue); }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding-block: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; }
.footer-bottom p { margin: 0; }
.mobile-actions { display: none; }

:focus-visible { outline: 3px solid #71b2e7; outline-offset: 3px; }

@media (max-width: 1080px) {
  .header-inner { min-height: 78px; }
  .brand { width: 235px; }
  .menu-toggle { display: block; }
  .primary-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; padding: 16px 20px 24px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(13,53,92,.1); }
  .primary-nav.open { display: grid; gap: 4px; }
  .primary-nav a { padding: 12px 10px; }
  .nav-portal { margin-top: 8px; text-align: center; }
  .profile-jump { top: 78px; }
  .hero-grid { grid-template-columns: 1fr .9fr; gap: 30px; }
  .hero-doctors { width: min(100%, 520px); }
  .section-heading { gap: 40px; }
  .physician-card { grid-template-columns: 42% 58%; }
  .physician-card-copy { padding: 28px; }
  .visit-grid { grid-template-columns: 1fr; }
  .visit-panel { max-width: 680px; }
}

@media (max-width: 840px) {
  .hero-grid, .page-hero-grid, .ob-hero-grid { grid-template-columns: 1fr; }
  .hero-grid { padding-bottom: 62px; }
  .hero-doctors { width: min(100%, 560px); justify-self: center; transform: none; }
  .mini-portrait-pair { width: min(100%, 520px); justify-self: center; }
  .service-card { grid-column: span 3; }
  .physician-cards { grid-template-columns: 1fr; }
  .physician-card { min-height: 380px; }
  .profile-card-grid { grid-template-columns: 1fr; }
  .ob-spotlight-grid, .community-grid, .doctor-profile-grid, .ob-intro-grid, .womens-health-grid, .ob-philosophy-grid { grid-template-columns: 1fr; }
  .doctor-profile-grid.reverse .doctor-profile-photo { order: 0; }
  .doctor-profile-photo { width: min(100% - 20px, 520px); }
  .quote-grid { margin-top: 80px; }
  .path-grid { grid-template-columns: 1fr 1fr; }
  .womens-health-heading { position: static; }
  .ob-hero-card { width: min(100%, 480px); justify-self: center; }
  .ob-philosophy-grid { gap: 55px; }
  .ob-portrait { width: min(100%, 460px); }
  .profile-cta-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
  :root { --shell: min(100% - 28px, 1180px); }
  .utility-inner { width: 100%; min-height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
  .utility-book { min-height: 46px; justify-content: center; padding-inline: 10px; }
  .utility-inner p { grid-column: 1 / -1; grid-row: 2; margin: 0; padding: 7px 14px; background: var(--blue-deep); text-align: center; white-space: nowrap; }
  .utility-inner p .status-dot { display: inline-block; }
  .utility-links { justify-content: center; }
  .utility-links span, .utility-links a:last-child { display: none; }
  .brand { width: 210px; }
  h1 { font-size: clamp(2.65rem, 13vw, 4rem); }
  .hero-grid { min-height: auto; padding-block: 58px 70px; }
  .hero-lede, .ob-hero-copy > p:not(.eyebrow) { font-size: 1.02rem; }
  .hero-doctors { gap: 10px; }
  .hero-photo { border-width: 5px; }
  .hero-doctor > span { min-height: 90px; padding: 10px 9px; }
  .hero-doctor strong { font-size: .8rem; line-height: 1.3; }
  .hero-doctor small { font-size: .64rem; line-height: 1.35; }
  .hero-phone { width: 100%; justify-content: center; }
  .hero-actions .button, .ob-hero .button { width: 100%; }
  .quick-grid { grid-template-columns: 1fr; }
  .quick-grid > a, .quick-grid > a:first-child { min-height: 95px; border: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .section { padding-block: 78px; }
  .section-heading { grid-template-columns: 1fr; gap: 22px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { grid-column: auto; min-height: 260px; }
  .physician-card { grid-template-columns: 1fr; }
  .physician-card-image { height: 330px; }
  .physician-card-copy { padding: 28px; }
  .ob-spotlight { padding-block: 72px; }
  .ob-spotlight-grid { gap: 35px; }
  .community-image { width: calc(100% - 16px); }
  .contact-list { grid-template-columns: 1fr; }
  .visit-panel { padding: 34px 28px; box-shadow: 14px 14px 0 rgba(13,53,92,.42); }
  .page-hero-grid { min-height: 480px; gap: 42px; }
  .profile-jump-inner { min-height: auto; display: grid; gap: 5px; padding-block: 14px; }
  .profile-jump { position: static; }
  .profile-jump span { display: none; }
  .doctor-profile { scroll-margin-top: 92px; }
  .doctor-profile-grid { gap: 62px; }
  .profile-card-body { padding: 28px; }
  .profile-credentials { right: -14px; bottom: -20px; }
  .quote-grid { grid-template-columns: 1fr; }
  .profile-cta .inline-actions { width: 100%; }
  .profile-cta .button { width: 100%; }
  .ob-hero-grid { min-height: auto; padding-block: 58px 70px; }
  .ob-hero-card img { height: 360px; }
  .ob-intro { padding-block: 58px; }
  .path-grid, .womens-health-services { grid-template-columns: 1fr; }
  .path-grid article { min-height: 250px; }
  .path-grid span { margin-bottom: 30px; }
  .footer-main { grid-template-columns: 1fr; gap: 42px; }
  .footer-links { grid-template-columns: 1fr 1fr; gap: 30px 22px; }
  .footer-bottom { display: grid; gap: 8px; }
  body { padding-bottom: 56px; }
  .mobile-actions { position: fixed; right: 0; bottom: 0; left: 0; z-index: 80; display: grid; grid-template-columns: 1fr 1fr; box-shadow: 0 -8px 24px rgba(9,43,75,.16); }
  .mobile-actions a { min-height: 56px; display: flex; align-items: center; justify-content: center; background: var(--green); color: var(--white); font-size: .88rem; font-weight: 700; }
  .mobile-actions a:last-child { background: var(--blue-dark); }
}

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

/* Final clinic polish */
.site-footer { background: #fff; border-top: 1px solid var(--line); }
.brand { height: 72px; overflow: hidden; position: relative; }
.brand img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.accepting-patients { color: var(--green); font-weight: 700; margin: -8px 0 16px; }
.services-menu { position: relative; }
.services-menu summary { cursor: pointer; padding: 12px 0; }
.services-dropdown { position: absolute; top: 100%; left: 0; min-width: 245px; padding: 12px; background: white; border: 1px solid var(--line); box-shadow: var(--shadow); }
.services-dropdown a { display: block; padding: 9px 12px; }
.services-dropdown a:hover { background: var(--blue-soft); }
.service-shortcuts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin-top: 16px; }
.service-shortcuts a { display: flex; justify-content: space-between; gap: 12px; padding: 22px; border: 1px solid var(--line); color: var(--blue-dark); font-weight: 700; }
.common-care { margin-top: 60px; }
.common-care > h2 { font-size: clamp(1.8rem,3vw,2.6rem); }
.common-care-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.common-care-grid article { padding: 26px; background: var(--mist); border-top: 3px solid var(--green); }
.common-care-grid h3, .common-care-grid h2 { font-size: 1.25rem; color: var(--blue-dark); margin-bottom: 12px; }
.common-care-grid p { margin: 0; color: var(--muted); }
.care-note { color: var(--muted); margin: 26px 0 0; }
.care-note a { text-decoration: underline; color: var(--blue); }
.location-card { margin-top: 58px; overflow: hidden; background: white; color: var(--ink); display: grid; grid-template-columns: 1fr 1fr; border: 1px solid rgba(255,255,255,.3); }
.location-photo img { width: 100%; height: 340px; object-fit: cover; }
.map-wrap iframe { width: 100%; height: 340px; display: block; border: 0; }
.map-caption { grid-column: 1/-1; display: flex; align-items: center; justify-content: space-between; padding: 24px; gap: 20px; }
.map-caption p { margin: 4px 0 0; color: var(--muted); }
.service-page-hero { padding: 70px 0; }
.service-page-hero > .shell { position: relative; z-index: 1; }
.service-page-hero h1 { max-width: 850px; }
.forms-list { max-width: 980px; }
.form-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.form-row h2 { font-size: 1.4rem; margin-bottom: 8px; }
.form-row p { color: var(--muted); margin: 0; }
.form-row .button { flex-shrink: 0; }
.hero-doctor small { font-size: .875rem; }
.hero-doctor > span { min-height: 104px; }
.physician-card-copy { justify-content: flex-start; }
.physician-card-copy .eyebrow { min-height: 42px; }
.physician-card-copy .text-link { margin-top: auto; padding-top: 22px; }
#contact, #services { scroll-margin-top: 100px; }
@media(max-width:1080px) { .services-dropdown { position: static; box-shadow: none; } .services-menu summary { padding: 12px 10px; } }
@media(max-width:840px) { .common-care-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .location-card { grid-template-columns: 1fr; } .location-photo img { height:auto; } }
@media(max-width:620px) {
 .common-care-grid,.service-shortcuts { grid-template-columns: 1fr; }
 .map-caption,.form-row { align-items: flex-start; flex-direction: column; }
 .map-caption .button,.form-row .button { width:100%; }
 .hero-doctor strong { font-size:.875rem; } .hero-doctor small { font-size:.75rem; }
 .utility-inner p { white-space:normal; } .utility-links { min-width:0; font-size:.8rem; }
 .service-page-hero { padding:48px 0; }
 .hero-phone { flex-wrap:wrap; }
}

/* Service depth and dedicated contact */
.service-depth { background: #fff; border-top: 1px solid var(--line); padding-top: 76px; }
.service-depth .section-heading h2 { font-size: clamp(2rem,3.6vw,3rem); }
.diagnostics-section { background: var(--blue-soft); padding-block: 66px; border-block: 1px solid var(--line); }
.diagnostics-inner { display: grid; grid-template-columns: 1.25fr .75fr; gap: 72px; align-items: center; }
.diagnostics-inner h2 { font-size: clamp(2rem,3.5vw,3rem); margin-bottom: 18px; }
.diagnostics-inner p { color: var(--muted); margin-bottom: 0; }
.diagnostics-details { border-left: 3px solid var(--green); padding-left: 28px; }
.diagnostics-details h3 { color: var(--blue-dark); margin-bottom: 10px; }
.service-questions-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
.service-questions h2 { font-size: clamp(2rem,3.5vw,3rem); }
.care-question { border-bottom: 1px solid var(--line); padding: 19px 0; }
.care-question:first-child { border-top: 1px solid var(--line); }
.care-question summary { cursor:pointer; color:var(--blue-dark); font-weight:700; padding-right:12px; }
.care-question p { color:var(--muted); margin-bottom:0; }
.service-questions .button { margin-top: 28px; }
.onsite-note { display:flex; align-items:center; gap:20px; padding:22px; margin-top:24px; background:var(--blue-soft); border-left:4px solid var(--blue); }
.onsite-note strong,.onsite-note a { color:var(--blue-dark); } .onsite-note a { font-weight:700; margin-left:auto; } .onsite-note span { color:var(--muted); }
.contact-page-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px; }
.contact-detail { padding:38px; background:var(--mist); border-top:3px solid var(--green); }
.contact-detail h2 { font-size:clamp(1.8rem,3vw,2.5rem); margin-bottom:24px; }
.contact-detail p { color:var(--muted); }
.contact-primary-link { color:var(--blue); font-size:clamp(1.5rem,3vw,2rem); font-weight:700; }
.contact-email { display:block; overflow-wrap:anywhere; color:var(--blue); font-size:1.1rem; font-weight:700; text-decoration:underline; }
.contact-detail dl { display:grid; grid-template-columns:auto 1fr; gap:16px 24px; border-top:1px solid var(--line); padding-top:24px; }
.contact-detail dt { color:var(--blue-dark); font-weight:700; } .contact-detail dd { margin:0; color:var(--muted); }
.contact-location { background:var(--blue-soft); padding-top:72px; }
.contact-location h2 { margin-bottom:20px; } .contact-location address { font-style:normal; font-size:1.1rem; color:var(--muted); }
.contact-location .location-card { grid-template-columns:1fr; border:1px solid var(--line); box-shadow:0 18px 50px rgba(13,53,92,.08); margin-top:32px; }
.contact-location .location-photo img { height:auto; aspect-ratio:1536/569; object-fit:contain; }
.contact-location .map-wrap iframe { height:360px; }
.contact-safety { padding-block:26px; background:var(--blue-dark); color:white; }
#location { scroll-margin-top:110px; }
@media(max-width:840px) {
 .diagnostics-inner,.service-questions-inner,.contact-page-grid { grid-template-columns:1fr; gap:32px; }
 .onsite-note { flex-wrap:wrap; } .onsite-note a { margin-left:0; }
}
@media(max-width:620px) { .contact-detail { padding:26px; } .contact-detail dl { grid-template-columns:1fr; gap:8px; } .contact-detail dd { margin-bottom:14px; } .onsite-note { align-items:flex-start; flex-direction:column; gap:10px; } }

/* Consistent services and quieter primary navigation */
.service-grid-six { align-items: stretch; grid-auto-rows: 1fr; }
.service-grid-six .service-card { min-width: 0; min-height: 294px; border-top: 3px solid var(--green); background: var(--white); }
.service-grid-six .service-card h3 { font-size: 1.4rem; min-height: 2.25em; }
.service-grid-six .service-number { margin-bottom: 22px; }
.services-dropdown a[aria-current="page"] { background: var(--blue-soft); color: var(--blue-dark); font-weight: 700; }
.hero-copy > .eyebrow, .providers-hero .eyebrow { max-width: 600px; font-size: .875rem; letter-spacing: .08em; line-height: 1.7; }
.hero-copy h1 { font-size: clamp(2.7rem, 4.7vw, 4.3rem); text-wrap: balance; }
@media(max-width:620px) {
 .hero-copy h1 { font-size: clamp(2.5rem, 11vw, 3.4rem); }
 .service-grid-six { grid-auto-rows: auto; }
 .service-grid-six .service-card { min-height: 260px; }
 .service-grid-six .service-card h3 { min-height: 0; }
}
