:root {
  --navy: #8f1723;
  --navy-deep: #5e1019;
  --blue: #a71f2b;
  --gold: #b78c24;
  --gold-deep: #8d6712;
  --sky: #f6edd0;
  --ice: #fbf8f0;
  --ink: #3c1c22;
  --muted: #6d5b5e;
  --line: #e7d9bd;
  --white: #fff;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow-sm: 0 8px 22px rgba(89, 20, 28, .08);
  --shadow: 0 18px 44px rgba(89, 20, 28, .12);
  --shadow-lg: 0 24px 58px rgba(89, 20, 28, .16);
  --ease-smooth: cubic-bezier(.22, 1, .36, 1);
  --motion-ui: .35s;
  --motion-photo: .65s;
  --photo-zoom: 1.045;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--sans); font-size: 16px; line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; background: #fff; color: var(--navy); padding: 10px 16px; border-radius: 6px; box-shadow: var(--shadow); }
.skip-link:focus { top: 16px; }
.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; }

.utility-bar { background: var(--navy); color: #fff; font-size: .8rem; }
.utility-inner { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.utility-contact, .utility-links { display: flex; align-items: center; gap: 24px; }
.utility-bar a { opacity: .92; }
.utility-bar a:hover, .utility-bar a:focus-visible { opacity: 1; text-decoration: underline; }

.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(6,52,90,.08); box-shadow: 0 5px 18px rgba(89,20,28,.045); }
.nav-wrap { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; min-width: 300px; }
.brand-logo { display: block; width: 285px; height: 68px; object-fit: contain; object-position: left center; }
.main-nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(14px, 1.8vw, 27px); font-size: .79rem; font-weight: 700; white-space: nowrap; }
.main-nav > a:not(.nav-cta) { padding: 33px 0 28px; border-bottom: 3px solid transparent; }
.main-nav > a:hover, .main-nav > a:focus-visible, .main-nav > a.active { color: var(--blue); border-bottom-color: var(--blue); }
.nav-cta { padding: 12px 17px; color: #fff; background: var(--navy); border-radius: 4px; box-shadow: 0 8px 20px rgba(89,20,28,.18); transition: transform .25s var(--ease-smooth), background-color .25s ease, box-shadow .25s ease; }
.nav-cta:hover, .nav-cta:focus-visible { background: var(--blue); }
.main-nav .nav-cta.active { color: #fff; background: var(--blue); border-bottom-color: transparent; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 8px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.menu-toggle span:not(.sr-only) { width: 21px; height: 2px; background: var(--navy); transition: .2s ease; }

.hero { position: relative; overflow: hidden; background: linear-gradient(100deg, #fffdf7 0%, #f9f1d8 48%, #f3e4b7 100%); }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 18% 30%, rgba(255,255,255,.95), transparent 42%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.03fr .97fr; align-items: stretch; min-height: 560px; }
.hero-copy { padding: 96px 42px 82px 0; align-self: center; }
.eyebrow { margin: 0 0 15px; color: var(--blue); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 720px; margin-bottom: 20px; font-family: var(--serif); font-size: clamp(2.75rem, 5vw, 4.55rem); font-weight: 400; line-height: 1.08; letter-spacing: -.03em; }
h1 span { color: var(--blue); }
.hero-lede { max-width: 640px; margin-bottom: 30px; color: var(--muted); font-size: 1.05rem; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 22px; border: 1px solid transparent; border-radius: 5px; font-size: .9rem; font-weight: 800; transition: transform .25s var(--ease-smooth), background-color .25s ease, border-color .25s ease, box-shadow .25s ease; }
.button:hover, .button:focus-visible { box-shadow: 0 12px 28px rgba(89,20,28,.18); }
.button:active { box-shadow: 0 6px 16px rgba(89,20,28,.14); }
.button:disabled { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }
.button.primary { color: #fff; background: var(--navy); box-shadow: 0 10px 22px rgba(89,20,28,.18); }
.button.primary:hover, .button.primary:focus-visible { background: var(--blue); }
.button.secondary { color: var(--navy); background: #fff; border-color: #c8aa58; }
.button.light { background: #fff; color: var(--navy); }
.hero-media { position: relative; min-height: 560px; overflow: hidden; }
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #f9f1d8 0%, transparent 24%, transparent 76%, #f3e4b7 100%), linear-gradient(0deg, rgba(70,15,22,.20), transparent 42%); pointer-events: none; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero-note { position: absolute; z-index: 1; right: 22px; bottom: 22px; padding: 12px 16px; color: #fff; background: rgba(94,16,25,.90); border: 1px solid rgba(255,255,255,.25); border-radius: 4px; backdrop-filter: blur(8px); line-height: 1.25; }
.hero-note span, .hero-note strong { display: block; }
.hero-note span { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.hero-note strong { font-family: var(--serif); font-size: 1.05rem; }

.carousel-track { position: relative; }
.carousel-slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity var(--carousel-fade, .6s) ease, visibility var(--carousel-fade, .6s); }
.carousel-slide.is-active { z-index: 1; opacity: 1; visibility: visible; pointer-events: auto; }
.carousel-slide[hidden], .carousel-controls[hidden] { display: none; }
.provider-carousel { --carousel-fade: 2s; }
.provider-carousel .carousel-track { position: absolute; inset: 0; }
.provider-carousel::after { display: none; }
.provider-carousel .carousel-slide::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, #f9f1d8 0%, transparent 22%, transparent 78%, #f3e4b7 100%); }
.provider-carousel .carousel-slide > img { position: absolute; inset: 0; object-position: center 18%; transform-origin: 50% 30%; transition: transform var(--motion-photo) var(--ease-smooth); }
.provider-caption { position: absolute; z-index: 2; left: auto; right: 22px; bottom: 22px; width: max-content; max-width: calc(100% - 44px); padding: 12px 16px; color: #fff; background: rgba(94,16,25,.78); border: 1px solid rgba(255,255,255,.25); border-radius: 4px; backdrop-filter: blur(8px); }
.provider-caption span { display: block; max-width: 38ch; margin-bottom: 4px; color: #f4e8d5; font-size: .65rem; font-weight: 650; line-height: 1.5; letter-spacing: .07em; text-transform: uppercase; }
.provider-caption strong { display: block; font-family: var(--serif); font-size: 1.35rem; line-height: 1.15; font-weight: 600; }
.carousel-controls { position: absolute; z-index: 3; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; align-items: center; gap: 2px; width: max-content; padding: 0 8px; border: 1px solid rgba(183,140,36,.3); border-radius: 999px; background: rgba(255,255,255,.92); }
.carousel-dot { display: grid; place-items: center; width: 36px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.carousel-dot::after { content: ''; width: 8px; height: 8px; border: 1px solid var(--navy); border-radius: 999px; background: transparent; transition: width .3s var(--ease-smooth), background-color .3s ease; }
.carousel-dot[aria-current="true"]::after { width: 20px; background: var(--navy); }
.carousel-dot:hover::after { background: var(--gold); }
.carousel-dot:focus-visible { outline: 2px solid var(--navy); outline-offset: 1px; }
.provider-carousel .carousel-controls { top: 50%; right: 14px; bottom: auto; left: auto; transform: translateY(-50%); flex-direction: column; gap: 0; padding: 4px 2px; border-color: rgba(183,140,36,.18); background: rgba(255,255,255,.64); box-shadow: 0 3px 14px rgba(94,16,25,.06); backdrop-filter: blur(8px); }
.provider-carousel .carousel-dot { width: 28px; height: 28px; }
.provider-carousel .carousel-dot::after { width: 6px; height: 6px; border: 0; background: var(--navy); opacity: .35; transition: height .3s var(--ease-smooth), opacity .3s ease; }
.provider-carousel .carousel-dot[aria-current="true"]::after { width: 6px; height: 16px; opacity: 1; }
.provider-carousel .carousel-dot:hover::after, .provider-carousel .carousel-dot:focus-visible::after { opacity: 1; }
.location-carousel { gap: 14px; }
.location-carousel .carousel-track { min-height: 170px; }
.location-carousel .location-slide-title { display: block; margin-bottom: 14px; font-size: clamp(1.8rem, 2.8vw, 2.4rem); line-height: 1.15; font-weight: 400; }
.location-carousel [data-carousel-overview] .location-slide-title { font-size: 4.6rem; line-height: 1; font-weight: 600; }
.location-slide-address { display: block; font-size: .9rem; line-height: 1.7; }
.location-carousel .carousel-controls { position: static; transform: none; padding: 0; border: 0; background: transparent; }

.credentials { background: var(--ice); border-block: 1px solid var(--line); }
.credentials-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.credentials article { min-height: 145px; display: flex; align-items: center; justify-content: center; gap: 16px; text-align: left; padding: 28px 22px; border-right: 1px solid var(--line); }
.credentials article:last-child { border-right: 0; }
.credential-icon { width: 46px; height: 46px; flex: 0 0 46px; display: grid; place-items: center; color: var(--blue); }
.credential-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.credentials p { margin: 0; font-size: .86rem; line-height: 1.45; }
.credentials strong { font-size: .98rem; }

.section { padding-block: 92px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 32px; }
.section-head h2 { display: flex; align-items: center; gap: 18px; margin: 0; font-family: var(--serif); font-size: clamp(2rem, 3vw, 2.8rem); font-weight: 400; line-height: 1.2; }
.section-head h2::after { content: ''; width: 46px; height: 2px; background: var(--gold); }
.section-head p { max-width: 430px; margin: 0; color: var(--muted); font-size: .92rem; text-align: right; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.image-card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow-sm); transition: transform .32s var(--ease-smooth), box-shadow .32s ease, border-color .32s ease; }
.image-card > .image-frame { height: 215px; }
.image-card > div:not(.image-frame) { position: relative; padding: 26px 27px 28px; }
.card-index { position: absolute; top: -26px; right: 20px; width: 52px; height: 52px; display: grid; place-items: center; color: #fff; background: var(--gold-deep); border: 4px solid #fff; border-radius: 50%; font-family: var(--serif); }
.image-card h3 { margin-bottom: 9px; font-family: var(--serif); font-size: 1.35rem; }
.image-card p { min-height: 78px; margin-bottom: 17px; color: var(--muted); font-size: .9rem; }
.image-card a, .condition-grid a { color: var(--blue); font-size: .84rem; font-weight: 800; }
.image-card a:hover, .condition-grid a:hover { text-decoration: underline; }

.conditions-section { background: var(--ice); }
.condition-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.condition-grid article { min-height: 365px; display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 6px 18px rgba(89,20,28,.045); transition: transform .3s var(--ease-smooth), box-shadow .3s ease, border-color .3s ease; }
.condition-grid article > .image-frame { height: 170px; flex: 0 0 170px; }
.condition-grid article:nth-child(2) > .image-frame img { object-position: center 57%; }
.condition-card-body { flex: 1; display: flex; flex-direction: column; padding: 23px 22px 25px; text-align: left; }
.condition-grid h3 { margin-bottom: 7px; font-family: var(--serif); font-size: 1.18rem; }
.condition-grid p { flex: 1; color: var(--muted); font-size: .87rem; }

.provider-card { display: grid; grid-template-columns: minmax(280px, .72fr) 1.28fr; min-height: 490px; overflow: hidden; background: linear-gradient(120deg, #fffdf8, var(--ice)); border: 1px solid var(--line); border-radius: 9px; box-shadow: var(--shadow); transition: transform .35s var(--ease-smooth), box-shadow .35s ease; }
.provider-photo { min-height: 490px; overflow: hidden; }
.provider-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transform-origin: 50% 30%; transition: transform .65s var(--ease-smooth); }
.provider-copy { align-self: center; padding: 58px clamp(32px, 6vw, 80px); }
.provider-copy h3 { margin-bottom: 18px; font-family: var(--serif); font-size: clamp(2rem, 3vw, 3rem); font-weight: 400; }
.provider-copy > p:not(.eyebrow) { max-width: 580px; color: var(--muted); font-size: 1.02rem; }
.provider-preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.provider-preview-grid article { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 12px 30px rgba(89,20,28,.08); }
.provider-preview-grid img { width: 100%; height: 360px; object-fit: cover; object-position: center top; }
.provider-preview-grid article > div:not(.image-frame) { padding: 24px; }
.provider-preview-grid h3 { margin-bottom: 8px; font-family: var(--serif); font-size: 1.42rem; }
.provider-preview-grid p:not(.eyebrow) { min-height: 88px; color: var(--muted); font-size: .88rem; }
.provider-preview-grid a { color: var(--blue); font-size: .84rem; font-weight: 800; }
.credential-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 30px; }
.credential-pills span { padding: 6px 11px; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: .75rem; font-weight: 700; }

.locations-section { padding-top: 0; background: linear-gradient(#fff, #fbf8f0); }
.location-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.location-card { display: block; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 10px 26px rgba(89,20,28,.07); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.location-card:focus-visible { border-color: var(--gold); box-shadow: var(--shadow); outline: 2px solid var(--gold); outline-offset: 3px; }
.location-map { position: relative; height: 220px; overflow: hidden; background: var(--sky); }
.location-map::before { content: ''; position: absolute; inset: 0; z-index: 0; background: linear-gradient(100deg, #f4ead2 18%, #fff9e9 38%, #f4ead2 58%); background-size: 220% 100%; animation: map-loading 1.25s linear infinite; transition: opacity .3s ease; }
.location-map iframe { position: relative; z-index: 1; width: 100%; height: 100%; border: 0; opacity: 0; pointer-events: none; filter: saturate(.82) contrast(1.03); transition: opacity .35s ease; }
.location-map.is-loaded::before { opacity: 0; pointer-events: none; }
.location-map.is-loaded iframe { opacity: 1; }
.location-map::after { content: ''; position: absolute; z-index: 2; inset: auto 0 0; height: 72px; background: linear-gradient(transparent, rgba(70,15,22,.78)); pointer-events: none; }
.location-map > span { position: absolute; z-index: 3; left: 18px; bottom: 14px; color: #fff; font-size: .78rem; font-weight: 800; }
.location-copy { padding: 22px 24px 24px; }
.location-copy h3 { margin-bottom: 7px; font-family: var(--serif); font-size: 1.35rem; }
.location-copy p { color: var(--muted); font-size: .9rem; }
.location-copy > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.location-copy strong, .location-copy > div span { color: var(--blue); font-size: .8rem; font-weight: 800; }

.cta-section { position: relative; color: #fff; background: linear-gradient(rgba(94,16,25,.86), rgba(74,11,20,.94)), url('red-rock.jpg') center 60% / cover; }
.cta-inner { padding-block: 76px; text-align: center; }
.cta-inner .eyebrow { color: #f3d983; }
.cta-inner h2 { max-width: 850px; margin: 0 auto 10px; font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 400; line-height: 1.2; }
.cta-inner p:not(.eyebrow) { margin-bottom: 28px; color: #d8e8f3; }

.site-footer { color: #f4e8d5; background: var(--navy-deep); }
.footer-grid { display: grid; grid-template-columns: 1.45fr .8fr 1.1fr .55fr; gap: 60px; padding-block: 62px 52px; }
.footer-logo { min-width: 0; margin-bottom: 20px; }
.footer-logo .brand-logo { width: 270px; height: 118px; object-fit: contain; filter: drop-shadow(0 2px 5px rgba(0,0,0,.18)); }
.footer-grid h3 { margin: 0 0 15px; color: #fff; font-size: .92rem; }
.footer-grid a, .footer-grid span { display: block; margin-bottom: 8px; font-size: .82rem; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.footer-brand p { max-width: 310px; color: #dcc8b0; font-size: .82rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-block: 18px; border-top: 1px solid rgba(255,255,255,.12); color: #cdbda6; font-size: .72rem; }
.footer-bottom span { margin: 0; }

/* Internal pages */
.center-link { margin: 28px 0 0; text-align: center; }
.text-link { color: var(--blue); font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.tint-section { background: var(--ice); }
.page-hero { position: relative; overflow: hidden; padding-block: 82px; background: linear-gradient(105deg, #fffdf7, #f6edd0 62%, #ead69e); }
.page-hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 82% 0, rgba(183,140,36,.17), transparent 31%); pointer-events: none; }
.page-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(250px, .6fr); gap: 70px; align-items: center; }
.page-hero h1 { max-width: 800px; margin-bottom: 20px; font-size: clamp(2.7rem, 5vw, 4.4rem); }
.page-hero h1 + p { max-width: 720px; margin: 0; color: var(--muted); font-size: 1.06rem; }
.hero-stat { display: grid; gap: 8px; padding: 34px; background: rgba(255,255,255,.78); border: 1px solid var(--line); border-top: 4px solid var(--gold); box-shadow: var(--shadow); }
.hero-stat strong { color: var(--navy); font-family: var(--serif); font-size: 3.9rem; line-height: 1; }
.hero-stat span { color: var(--muted); }
.hero-stat.small { justify-items: start; }
.hero-stat.small .button { margin-top: 8px; }
.split-section { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: center; }
.split-section h2, .contact-layout h2, .appointment-aside h2 { font-family: var(--serif); font-size: clamp(2rem, 3vw, 2.8rem); font-weight: 400; line-height: 1.2; }
.split-section p { color: var(--muted); }
.soft-panel { padding: 38px; background: var(--ice); border: 1px solid var(--line); border-radius: 8px; }
.soft-panel h3 { font-family: var(--serif); font-size: 1.55rem; }
.check-list { display: grid; gap: 15px; margin: 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 28px; color: var(--muted); }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--gold-deep); font-weight: 900; }
.value-grid, .detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.value-grid article, .detail-card { padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease-smooth), box-shadow .3s ease, border-color .3s ease; }
.value-grid article > span { color: var(--gold-deep); font-family: var(--serif); font-size: 1.2rem; }
.value-grid h3, .detail-card h3, .pathway-card h3 { margin: 10px 0; font-family: var(--serif); font-size: 1.4rem; }
.value-grid p, .detail-card p, .pathway-card p { color: var(--muted); }
.profile-detail { display: grid; grid-template-columns: minmax(280px, .76fr) 1.24fr; gap: 54px; align-items: center; padding: 24px; background: linear-gradient(120deg, #fff, var(--ice)); border: 1px solid var(--line); border-radius: 9px; box-shadow: var(--shadow); }
.profile-image { min-height: 560px; overflow: hidden; border-radius: 6px; }
.profile-image img { width: 100%; height: 100%; min-height: 560px; object-fit: cover; object-position: center top; }
.profile-detail > div:last-child { padding: 34px 44px 34px 0; }
.profile-detail h2 { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.3rem); font-weight: 400; }
.profile-detail h3 { margin: 25px 0 9px; font-family: var(--serif); font-size: 1.25rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list span { padding: 7px 11px; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: .78rem; font-weight: 700; }
.provider-directory-grid { display: grid; gap: 28px; }
.provider-directory-card { display: grid; grid-template-columns: minmax(250px, .55fr) 1.45fr; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 9px; box-shadow: var(--shadow-sm); transition: transform .32s var(--ease-smooth), box-shadow .32s ease; }
.provider-directory-card > .image-frame { height: 100%; min-height: 430px; align-self: stretch; }
.provider-directory-card > .image-frame img { position: absolute; inset: 0; object-position: center top; }
.provider-directory-card > div:not(.image-frame) { align-self: center; padding: 38px 46px; }
.provider-directory-card h3 { margin-bottom: 13px; font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 400; }
.provider-directory-card p:not(.eyebrow) { color: var(--muted); }
.provider-directory-card .tag-list { margin: 20px 0 26px; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.team-grid article { overflow: hidden; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: 7px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease-smooth), box-shadow .3s ease; }
.team-grid .image-frame { height: 330px; }
.team-grid img { object-position: center top; }
.team-grid article > div:not(.image-frame) { padding: 26px 28px 30px; }
.team-grid span { color: var(--blue); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.team-grid h3 { margin: 9px 0; font-family: var(--serif); font-size: 1.35rem; }
.team-grid p { margin: 0; color: var(--muted); font-size: .88rem; }
.detail-card { min-height: 330px; display: flex; flex-direction: column; }
.detail-card .eyebrow { margin-bottom: 5px; }
.detail-card p { font-size: .9rem; }
.detail-card .related { margin-top: auto; }
.detail-card a { margin-top: auto; color: var(--blue); font-size: .86rem; font-weight: 800; }
.detail-card a:hover { text-decoration: underline; }
.detail-card.has-image { min-height: 500px; padding: 0; overflow: hidden; }
.detail-card.has-image > .image-frame { height: 190px; flex: 0 0 190px; }
.detail-card.has-image .detail-card-body { flex: 1; display: flex; flex-direction: column; padding: 27px 28px 29px; }
.detail-card.has-image .detail-card-body h3 { margin-top: 7px; }
.detail-card.has-image .detail-card-body > p:not(.eyebrow) { margin-bottom: 24px; }
.notice { margin-top: 30px; padding: 18px 20px; color: #5b4512; background: #fff8df; border-left: 4px solid var(--gold); border-radius: 3px; font-size: .9rem; }
.pathway-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease-smooth), box-shadow .3s ease, border-color .3s ease; }
.pathway-card > .image-frame { height: 200px; flex: 0 0 200px; }
.pathway-card > div:not(.image-frame) { flex: 1; display: flex; flex-direction: column; padding: 25px; }
.pathway-card > div > p { flex: 1; margin-bottom: 24px; }
.pathway-card .button { width: 100%; }
.contact-quick { display: grid; gap: 12px; }
.contact-quick a { display: grid; padding: 18px 20px; background: rgba(255,255,255,.82); border: 1px solid var(--line); border-radius: 5px; }
.contact-quick span { color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; }
.contact-quick strong { color: var(--navy); overflow-wrap: anywhere; }
.contact-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 60px; align-items: start; }
.appointment-promo { display: grid; grid-template-columns: 54px 1fr; gap: 18px; margin-top: 30px; padding: 26px; background: linear-gradient(135deg, #fff, #fbf3dc); border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: 8px; box-shadow: 0 12px 28px rgba(89,20,28,.08); }
.appointment-promo-icon { width: 52px; height: 52px; display: grid; place-items: center; color: #fff; background: var(--navy); border-radius: 50%; font-size: 1.3rem; }
.appointment-promo .eyebrow { margin-bottom: 4px; }
.appointment-promo h3 { margin-bottom: 7px; font-family: var(--serif); font-size: 1.45rem; }
.appointment-promo p:not(.eyebrow) { margin-bottom: 18px; color: var(--muted); font-size: .88rem; }
.appointment-promo .button { min-height: 46px; }
.form-shell { padding: 38px; background: #fff; border: 1px solid var(--line); border-radius: 9px; box-shadow: var(--shadow); }
.form-shell.compact { padding: 32px; }
.form-shell.compact > .button { margin-top: 26px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: grid; gap: 7px; color: var(--ink); font-size: .86rem; font-weight: 750; }
.field.full, .consent.full { grid-column: 1 / -1; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 13px; color: var(--ink); background: #fff; border: 1px solid #cfbea0; border-radius: 4px; font: inherit; font-weight: 400; transition: border-color .22s ease, box-shadow .22s ease, background-color .22s ease; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(183,140,36,.23); border-color: var(--gold-deep); }
.field small { color: var(--muted); font-weight: 400; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; }
.consent input { margin-top: 5px; accent-color: var(--navy); }
.honeypot { position: absolute; left: -9999px; }
.form-section + .form-section { margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--line); }
.form-kicker { margin-bottom: 20px; color: var(--blue); font-size: .78rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.submit-button { margin-top: 30px; }
.form-note { display: inline-block; margin: 24px 0 0 14px; color: var(--muted); font-size: .78rem; }
.form-status { margin: 18px 0 0; padding: 0; font-size: .9rem; font-weight: 700; }
.form-status.success { padding: 14px 16px; color: #285a37; background: #edf8ef; border-left: 4px solid #4b8d5d; }
.form-status.error { padding: 14px 16px; color: #8f1723; background: #fff0f1; border-left: 4px solid var(--blue); }
.appointment-layout { display: grid; grid-template-columns: minmax(260px, .45fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.appointment-aside { position: sticky; top: 140px; }
.selection-card { margin-bottom: 30px; padding: 24px; color: #fff; background: var(--navy); border-radius: 7px; }
.selection-card span, .selection-card strong { display: block; }
.selection-card span { color: #efd684; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.selection-card strong { margin: 5px 0; font-family: var(--serif); font-size: 1.35rem; }
.selection-card p { margin: 0; opacity: .82; font-size: .82rem; }
.steps { display: grid; gap: 18px; margin: 25px 0 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 38px 1fr; gap: 13px; }
.steps li > span { width: 36px; height: 36px; display: grid; place-items: center; color: #fff; background: var(--gold-deep); border-radius: 50%; font-weight: 800; }
.steps p { margin: 0; color: var(--muted); font-size: .88rem; }
.emergency-section { padding-block: 24px; color: #fff; background: var(--navy-deep); text-align: center; font-size: .9rem; }

/* Shared, clipped photography keeps zooming independent from card layout. */
.image-frame { position: relative; display: block; min-width: 0; overflow: hidden; }
.image-frame > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.image-frame > img, .hero-media > img, .provider-photo > img, .profile-image > img {
  transform-origin: 50% 30%;
  transition: transform var(--motion-photo) var(--ease-smooth);
}
:is(.image-card, .condition-grid article, .provider-card, .provider-directory-card, .team-grid article, .detail-card, .pathway-card, .location-card, .value-grid article, .provider-preview-grid article, .contact-quick a, .appointment-promo) {
  transition: transform var(--motion-ui) var(--ease-smooth), box-shadow var(--motion-ui) var(--ease-smooth), border-color var(--motion-ui) ease;
}
.button, .nav-cta { transition: transform var(--motion-ui) var(--ease-smooth), background-color var(--motion-ui) ease, border-color var(--motion-ui) ease, box-shadow var(--motion-ui) var(--ease-smooth); }
.utility-bar a, .main-nav a, .footer-grid a, .text-link, .image-card a, .condition-card-body a, .detail-card a {
  transition: color .25s ease, border-color .25s ease, text-decoration-color .25s ease, opacity .25s ease;
  text-underline-offset: 4px;
}
.main-nav .nav-cta { transition: transform var(--motion-ui) var(--ease-smooth), background-color var(--motion-ui) ease, box-shadow var(--motion-ui) ease; }
.field > span { transition: color .25s ease; }
.field:focus-within > span { color: var(--blue); }
.field input:focus, .field select:focus, .field textarea:focus { background: #fffefb; box-shadow: 0 4px 14px rgba(89,20,28,.06); }
.menu-toggle span:not(.sr-only) { transition: transform .25s var(--ease-smooth), opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .image-frame:hover > img, .hero-media:hover > img, .provider-photo:hover > img, .profile-image:hover > img { transform: scale(var(--photo-zoom)); }
  .provider-carousel:hover .is-active > img { transform: scale(var(--photo-zoom)); }
  .button:not(:disabled):hover, .button:not(:disabled):focus-visible, .nav-cta:hover, .nav-cta:focus-visible { transform: translateY(-2px); }
  .button:not(:disabled):active { transform: translateY(0) scale(.99); }
  :is(.image-card, .condition-grid article, .provider-card, .provider-directory-card, .team-grid article, .detail-card, .pathway-card, .location-card, .value-grid article, .provider-preview-grid article, .contact-quick a, .appointment-promo):hover {
    transform: translateY(-3px);
    border-color: rgba(183,140,36,.5);
    box-shadow: var(--shadow);
  }
}
@keyframes menu-reveal {
  from { opacity: 0; translate: 0 -8px; }
  to { opacity: 1; translate: 0 0; }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes map-loading {
  to { background-position: -220% 0; }
}

.hero-copy, .page-hero-grid > div { animation: fade-up .65s var(--ease-smooth) both; }
.hero-media, .hero-stat, .contact-quick { animation: fade-in .75s ease .12s both; }

/* Separate translate from transform so card hover effects remain independent. */
@keyframes scroll-reveal {
  from { opacity: 0; translate: var(--reveal-start, 0 16px); }
  to { opacity: 1; translate: 0 0; }
}
.motion-reveal.is-pending { opacity: 0; translate: var(--reveal-start, 0 16px); }
.motion-reveal--from-left { --reveal-start: -22px 0; }
.motion-reveal.is-revealed { animation: scroll-reveal .6s var(--ease-smooth) var(--reveal-delay, 0ms) backwards; }

/* Progressive enhancement: unsupported browsers keep normal page navigation. */
@view-transition { navigation: auto; }
@keyframes page-fade-out { to { opacity: 0; } }
@keyframes page-fade-in { from { opacity: 0; } }
::view-transition-old(root) { animation: page-fade-out .18s ease both; }
::view-transition-new(root) { animation: page-fade-in .24s ease both; }

@media (max-width: 960px) {
  .page-hero-grid { gap: 35px; }
  .value-grid, .detail-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout, .appointment-layout { grid-template-columns: 1fr; }
  .appointment-aside { position: static; }
  .provider-preview-grid { grid-template-columns: repeat(2, 1fr); }
  .location-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1080px) {
  .brand { min-width: 250px; }
  .brand-logo { width: 245px; }
  .main-nav { gap: 14px; }
  .hero-grid { min-height: 520px; }
  .hero-copy { padding-block: 70px; }
  .hero-media { min-height: 520px; }
}

@media (max-width: 860px) {
  .utility-links { display: none; }
  .utility-inner { justify-content: center; }
  .nav-wrap { min-height: 74px; }
  .menu-toggle { display: flex; }
  .main-nav { position: absolute; left: 0; right: 0; top: 74px; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 12px 20px 22px; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 18px 30px rgba(6,52,90,.13); }
  .main-nav.open { display: flex; }
  .main-nav.open { animation: menu-reveal .25s var(--ease-smooth); }
  .main-nav > a:not(.nav-cta) { padding: 13px 4px; border-bottom: 1px solid var(--line); }
  .nav-cta { margin-top: 14px; text-align: center; }
  .hero-grid { width: 100%; grid-template-columns: 1fr; }
  .hero-copy { width: min(100% - 40px, 740px); margin-inline: auto; padding: 70px 0 52px; }
  .hero-media { min-height: 520px; }
  .hero-media::after { background: linear-gradient(90deg, #f9f1d8 0%, transparent 18%, transparent 82%, #f3e4b7 100%), linear-gradient(0deg, rgba(70,15,22,.22), transparent 45%); }
  .credentials-grid { grid-template-columns: repeat(2, 1fr); }
  .credentials article:nth-child(2) { border-right: 0; }
  .credentials article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .service-grid { grid-template-columns: 1fr; }
  .image-card { display: grid; grid-template-columns: .8fr 1.2fr; }
  .image-card > .image-frame { height: 100%; min-height: 280px; }
  .image-card p { min-height: 0; }
  .condition-grid { grid-template-columns: repeat(2, 1fr); }
  .provider-card { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr; }
  .page-hero-grid, .split-section { grid-template-columns: 1fr; }
  .page-hero { padding-block: 62px; }
  .profile-detail { grid-template-columns: 1fr; }
  .profile-detail > div:last-child { padding: 20px; }
  .provider-directory-card { grid-template-columns: 1fr; }
  .provider-directory-card > .image-frame { height: 480px; min-height: 0; }
  .team-grid { grid-template-columns: 1fr; }
  .section-head { display: block; margin-bottom: 25px; }
  .section-head h2 { margin-bottom: 10px; }
  .section-head h2::after { width: 30px; }
  .section-head p { max-width: 620px; text-align: left; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 28px, 1180px); }
  .utility-inner { min-height: 42px; }
  .utility-contact { width: 100%; justify-content: space-between; gap: 12px; }
  .utility-contact span { font-size: .72rem; }
  .brand { min-width: 0; }
  .brand-logo { width: 205px; height: 60px; }
  .hero-copy { width: min(100% - 28px, 740px); padding-block: 55px 40px; }
  h1 { font-size: clamp(2.5rem, 12vw, 3.6rem); }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .hero-media { min-height: 420px; }
  .hero-note { left: 14px; right: auto; bottom: 14px; }
  .provider-caption { left: auto; right: 16px; bottom: 16px; max-width: calc(100% - 32px); padding: 12px 15px; }
  .provider-caption strong { font-size: 1.25rem; }
  .provider-carousel .carousel-controls { right: 10px; padding: 3px 1px; }
  .location-carousel .carousel-track { min-height: 150px; }
  .credentials-grid { grid-template-columns: 1fr; }
  .credentials article { min-height: 110px; justify-content: flex-start; border-right: 0; border-bottom: 1px solid var(--line); padding-inline: 26px; }
  .credentials article:last-child { border-bottom: 0; }
  .section { padding-block: 66px; }
  .image-card { display: block; }
  .image-card > .image-frame { height: 220px; min-height: 0; }
  .condition-grid { grid-template-columns: 1fr; }
  .condition-grid article { min-height: 235px; }
  .provider-card { grid-template-columns: 1fr; }
  .provider-photo { min-height: 390px; }
  .provider-copy { padding: 36px 24px 42px; }
  .locations-section { padding-top: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; }
  .value-grid, .detail-grid, .form-grid { grid-template-columns: 1fr; }
  .field.full, .consent.full { grid-column: auto; }
  .form-shell, .form-shell.compact { padding: 24px 18px; }
  .form-shell.compact > .button { margin-top: 22px; }
  .form-shell > .button { width: 100%; }
  .profile-detail { padding: 12px; gap: 18px; }
  .profile-image, .profile-image img { min-height: 420px; }
  .hero-stat { padding: 25px; }
  .provider-preview-grid { grid-template-columns: 1fr; }
  .provider-preview-grid img { height: 390px; }
  .provider-preview-grid p:not(.eyebrow) { min-height: 0; }
  .provider-directory-card > div:not(.image-frame) { padding: 28px 22px; }
  .provider-directory-card > .image-frame { height: 420px; }
  .location-grid { grid-template-columns: 1fr; }
  .appointment-promo { grid-template-columns: 1fr; padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  html { scroll-behavior: auto; }
  .motion-reveal.is-pending { opacity: 1; translate: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
}

@media print {
  .motion-reveal.is-pending { opacity: 1; translate: none; }
  .motion-reveal.is-revealed { animation: none; }
}
