/* Targeted audit corrections within the approved visual system. */
[hidden]{display:none!important}
.quick-care-paths{border-bottom:1px solid #c4d1ce;background:#f2f6f3}
.quick-care-paths>.container{display:flex;justify-content:center;gap:0;padding-top:0;padding-bottom:0}
.quick-care-paths a{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:60px;padding:18px 30px;color:#173e43;font-size:15px;border-right:1px solid #c4d1ce}
.quick-care-paths a:first-child{border-left:1px solid #c4d1ce}
.quick-care-paths a:hover{text-decoration:underline;text-underline-offset:4px}
.contact-introduction{max-width:760px;margin:0 auto 32px}
.contact-introduction h2{font-size:clamp(30px,4vw,44px);margin-bottom:20px}
.contact-introduction p{margin:16px 0;line-height:1.8}
#consult-form{max-width:760px;margin:30px auto 0;padding-top:30px;border-top:1px solid #c4d1ce}
#consult-form h3{font-size:28px;margin-bottom:22px}
#consult-form button[disabled]{opacity:.7;cursor:wait}
.form-result{padding:20px;border:1px solid #416c62;margin-top:20px;line-height:1.7;color:#173e43;background:#f2f6f3}
.form-result[data-error=true]{border-color:#9b3939;color:#742525;background:#fff8f7}
.travel-checklist{padding:28px 0;max-width:850px}
.travel-checklist h3{margin:24px 0 12px;font-size:24px}
.travel-checklist p{line-height:1.85;margin-bottom:16px}
#faq-count{margin:16px 0;color:#345c55}
#faq-search{display:block;width:100%;max-width:760px;min-height:48px;padding:12px 16px;border:1px solid #6d8981;border-radius:0;font-size:16px;background:white;color:#173e43;margin-top:12px}
#faq-empty{padding:24px 0;line-height:1.8}
.full-footer a{min-height:28px;display:block;padding-top:4px;padding-bottom:4px}
.full-footer a:hover{text-decoration:underline;text-underline-offset:4px}
.full-footer .footer-end a{display:inline-block}
@media(max-width:700px){
 .quick-care-paths>.container{padding-left:20px;padding-right:20px;flex-direction:column}
 .quick-care-paths a,.quick-care-paths a:first-child{border-left:0;border-right:0;border-bottom:1px solid #c4d1ce;min-height:48px;padding:13px 0}
 .quick-care-paths a:last-child{border-bottom:0}
 .contact-section{padding-top:34px}
 .contact-introduction .button{width:100%;justify-content:center}
 #consult-form .form-row{grid-template-columns:1fr}
 input,select,textarea{font-size:16px!important}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

#klara-contact{max-width:760px;margin:32px auto;padding-top:28px;border-top:1px solid #c4d1ce}#klara-contact h3{font-size:28px;margin-bottom:18px}#klara-contact p{line-height:1.8;margin:16px 0}
/* Measured contrast correction for the insurance qualification on sage. */
.theme-selected .access-section .fine-print{color:#34574e}

/* Filled consultation buttons use their shape and color as the link affordance. */
.consultation-actions > a.button,
.consultation-actions > a.button:hover,
.consultation-actions > a.button:focus-visible,
.consultation-actions > a.button:active{text-decoration:none}

/* Keep standalone actions distinct from links within body copy. */
body a.text-link,body .consultation-section .consultation-actions>a:not(.button){border-bottom:0;text-decoration:none}
body a.text-link:focus-visible,body .consultation-section .consultation-actions>a:focus-visible{outline:2px solid currentColor;outline-offset:4px}

/* Commercial insurance and employer surgery benefits */
.access-section .access-grid {
  align-items: start;
}
.insurance-call-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .85rem 1.25rem;
}
.access-section .insurance-call-actions .button {
  text-decoration: none;
}
.employer-benefits-teaser {
  margin-top: 1.75rem;
  padding: clamp(1rem, 3vw, 1.75rem);
  border: 1px solid #b6c8bd;
  border-radius: .65rem;
  background: #f5f8f5;
  color: #20382e;
  scroll-margin-top: 8rem;
}
.employer-benefits-teaser h3 {
  margin: 0 0 .65rem;
  color: #20382e;
  line-height: 1.2;
}
.employer-benefits-teaser p:last-child {
  margin-bottom: 0;
}

.cori-system-photo {
  background: #050505;
}
.service-hero .cori-system-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #050505;
}
.aligned-robot-videos.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: start;
  margin-top: 1.5rem;
}
.aligned-robot-videos .restored-video {
  min-width: 0;
  margin: 0;
}
.aligned-robot-videos .video-launch {
  width: 100%;
  aspect-ratio: 16 / 9;
}
.aligned-robot-videos .video-launch img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
}
@media (max-width: 640px) {
  .aligned-robot-videos.video-grid {
    grid-template-columns: 1fr;
  }
}

.insurance-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr));
  gap: .85rem;
  margin: 1rem 0 0;
}
.insurance-steps > div {
  padding: .95rem 1.15rem;
  border: 1px solid #b6c8bd;
  border-radius: .55rem;
  background: #f5f8f5;
}
.insurance-steps dt {
  font-weight: 700;
}
.insurance-steps dd {
  margin: .35rem 0 0;
}
.insurance-benefit-details {
  margin: 1rem 0;
}
.insurance-benefit-details summary {
  cursor: pointer;
  font-weight: 650;
}

/* Keep hero portraits full bleed while retaining a little space above the face. */
.portrait-hero .service-hero-photo img[src$="-sage.webp"] {
  object-position: center 5%;
}
.portrait-hero .service-hero-photo img[src="/assets/martin.png"] {
  object-position: center top;
}

@media (min-width: 1450px) {
  .portrait-hero .service-hero-photo .responsive-hero-portrait img {
    object-fit: cover !important;
    object-position: center top !important;
    min-height: 0;
    max-height: none;
  }
}

.home-page .team-portraits .jeanette-staff-crop{aspect-ratio:1.12;overflow:hidden}
.home-page .team-portraits .jeanette-staff-crop img{display:block;width:100%;height:100%;aspect-ratio:auto;transform:scale(1.0856);transform-origin:50% 85%}
@media(max-width:700px){.home-page .team-portraits .jeanette-staff-crop{aspect-ratio:.94}}

.people-gallery .hip-jeanette-crop {
  overflow: hidden;
}
.people-gallery .hip-jeanette-crop img {
  display: block;
  transform: scale(1.1);
  transform-origin: 50% 80%;
}

.consultation-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr);
  grid-template-areas: "phone request";
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  max-width: 1120px;
}
.consultation-layout .contact-introduction {
  grid-area: phone;
  margin: 0;
  padding-top: 18px;
}
.consultation-layout .contact-introduction h2 {
  font-size: clamp(25px, 3vw, 34px);
  margin-bottom: 12px;
}
.consultation-layout .contact-introduction p {
  margin: 12px 0 20px;
}
.consultation-layout .consultation-request {
  grid-area: request;
  min-width: 0;
  padding: clamp(18px, 3.5vw, 42px);
  background: #fff;
  border: 1px solid #cbd8ce;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgb(16 45 65 / 6%);
}
.consultation-request h2 {
  margin: 0;
  font-size: clamp(27px, 3vw, 38px);
  color: #102d41;
}
.consultation-layout .request-intro {
  margin: 8px 0 22px;
}
.consultation-request [data-secure-form] iframe {
  display: block;
  max-width: 100%;
}
.consultation-layout .request-form-help {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid #dce5de;
  font-size: 13px;
  line-height: 1.6;
}
@media (max-width: 760px) {
  .consultation-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "request" "phone";
  }
  .consultation-layout .contact-introduction {
    padding-top: 0;
  }
}

/* Share the header's content edge across standard sections and full-width heroes. */
:root {
  --site-content-max: 1368px;
  --site-gutter: 36px;
  --site-content-width: min(var(--site-content-max), calc(100% - 2 * var(--site-gutter)));
  --site-content-edge: max(var(--site-gutter), calc((100vw - var(--site-content-max)) / 2));
}

@media (max-width: 1250px) {
  :root { --site-gutter: 25px; }
}
@media (max-width: 700px) {
  :root { --site-gutter: 22px; }
}

.container,
.full-header .header-inner {
  width: var(--site-content-width);
  margin-inline: auto;
}

.full-header .header-inner {
  padding-inline: 0;
}

.service-hero .service-hero-copy,
.theme-precision .hero .hero-content,
.theme-precision .refined-hero .hero-content {
  padding-inline-start: var(--site-content-edge);
}

@media (min-width: 701px) {
  .theme-precision .destination-content {
    padding-inline-start: var(--site-content-edge);
  }
}

@media (max-width: 700px) {
  .full-mobile,
  .theme-precision .technology-copy {
    padding-inline: var(--site-gutter);
  }

  .theme-precision .destination-content {
    width: var(--site-content-width);
  }

  .quick-care-paths > .container {
    padding-inline: 0;
  }
}

/* Keep full-width section backgrounds, with photo panels inside the content grid. */
.theme-precision .precision-hero > .precision-background {
  inset-inline: var(--site-content-edge);
  width: calc(100% - 2 * var(--site-content-edge));
}

.technology-section > .technology-image {
  margin-inline-start: var(--site-content-edge);
}

.service-hero > .service-hero-photo,
.service-hero > .service-hero-video,
.theme-precision .destination-section > .destination-image {
  margin-inline-end: var(--site-content-edge);
}

@media (max-width: 700px) {
  .technology-section > .technology-image,
  .service-hero > .service-hero-photo,
  .service-hero > .service-hero-video,
  .theme-precision .destination-section > .destination-image {
    margin-inline: var(--site-gutter);
  }
}

/* Align the group portrait to the bottom without cropping faces or the sign. */
.portrait-hero .care-team-group-hero {
  display: flex;
  align-items: flex-end;
  height: auto;
  min-height: 0;
  background: #153545;
}
.portrait-hero .care-team-group-hero img {
  position: static;
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  /* Feather only the outer wall; keep the sign, faces and bottom edge crisp. */
  -webkit-mask-image:
    linear-gradient(to right, transparent, #000 4%, #000 96%, transparent),
    linear-gradient(to bottom, transparent, #000 3%, #000);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent, #000 4%, #000 96%, transparent),
    linear-gradient(to bottom, transparent, #000 3%, #000);
  mask-composite: intersect;
}
.care-team-group-hero::after { content: none; }


/* Keep the homepage phone action easy to read alongside consultation. */
:is(.home-page.home-balanced,.site-banner-matched.site-banner-matched) .full-header .desktop-navigation .phone-box {
  border-color: rgba(255, 255, 255, 0.45);
  font-weight: 400;
  padding-inline: 12px;
}

/* Give the practice identity more room on wide desktop screens. */
@media (min-width: 1151px) {
  :is(.home-page.home-balanced,.site-banner-matched.site-banner-matched) .full-header .jrc-logo {
    width: 140px;
  }
  :is(.home-page.home-balanced,.site-banner-matched.site-banner-matched) .full-header .jrc-brand-copy,
  :is(.home-page.home-balanced,.site-banner-matched.site-banner-matched) .full-header .jrc-brand-copy .wordmark-small {
    font-size: 14px;
  }
  :is(.home-page.home-balanced,.site-banner-matched.site-banner-matched) .full-header .jrc-brand-copy .doctor-name {
    font-size: 20px;
  }
}

/* Compact contact boxes; preserve the existing text size and 44px touch targets. */
:is(.home-page.home-balanced,.site-banner-matched.site-banner-matched) .full-header .desktop-navigation .phone-box{min-height:44px;padding:6px 8px;}
:is(.home-page.home-balanced,.site-banner-matched.site-banner-matched) .full-header .desktop-navigation .header-consultation{min-height:44px;padding:8px 14px;}

/* Consistent phone numbers and an opaque, stationary site banner. */
body .site-header.full-header{position:sticky;top:0;z-index:50;background:#102d41;backdrop-filter:none;isolation:isolate}
html{scroll-padding-top:calc(var(--jrc-banner-height, 150px) + 16px)}
body a.jrc-phone-link{font-family:var(--sans,Arial,Helvetica,sans-serif)!important;font-size:18px!important;font-weight:400!important;letter-spacing:normal!important;line-height:1.4;white-space:nowrap}
body a.jrc-phone-link .jrc-phone-icon{display:inline-block;width:1em;height:1em;vertical-align:-.15em;margin-right:.45em;flex:0 0 1em}
body a.jrc-phone-icon-only .jrc-phone-icon{margin:0}
body .site-header a.jrc-phone-link{gap:0}
body .site-header .full-mobile{position:absolute;inset:100% 0 auto;max-height:calc(100dvh - var(--jrc-banner-height,150px));overflow-y:auto;overscroll-behavior:contain}
@media(max-height:600px){body .site-header .drop-menu{max-height:calc(100dvh - var(--jrc-banner-height,150px) - 16px);overflow-y:auto}}

/* Shared banner identity, applied after earlier desktop and mobile treatments. */
body .site-header.full-header .header-inner .wordmark .jrc-brand-copy{display:flex;font-size:14px;line-height:1.45;letter-spacing:.6px}
body .site-header.full-header .header-inner .wordmark .jrc-brand-copy .wordmark-small{font-size:13px;letter-spacing:1.5px}
body .site-header.full-header .header-inner .wordmark .jrc-brand-copy .doctor-name{font-size:20px;line-height:1.3;letter-spacing:0;margin-top:6px}
@media(max-width:1150px){
body .site-header.full-header .header-inner .wordmark .jrc-brand-copy{font-size:12px}
body .site-header.full-header .header-inner .wordmark .jrc-brand-copy .wordmark-small{font-size:11px}
body .site-header.full-header .header-inner .wordmark .jrc-brand-copy .doctor-name{font-size:18px}
}
@media(max-width:600px){
body .site-header.full-header .header-inner .wordmark .jrc-brand-copy{font-size:10px;letter-spacing:.3px}
body .site-header.full-header .header-inner .wordmark .jrc-brand-copy .wordmark-small{font-size:9px;letter-spacing:1px}
body .site-header.full-header .header-inner .wordmark .jrc-brand-copy .doctor-name{font-size:16px}
}

/* Scale the header emblem with the larger practice and physician names. */
body .site-header.full-header .header-inner .wordmark .jrc-logo{width:140px;height:auto;max-width:none;flex-shrink:0}
@media(max-width:1150px){body .site-header.full-header .header-inner .wordmark .jrc-logo{width:110px}}
@media(max-width:600px){body .site-header.full-header .header-inner .wordmark .jrc-logo{width:94px}}
@media(max-width:359px){body .site-header.full-header .header-inner .wordmark .jrc-logo{width:80px}}

/* Emphasize the shared banner's navigation topics. */
body .site-header.full-header .desktop-navigation nav > a,
body .site-header.full-header .desktop-navigation nav > .nav-drop > summary,
body .site-header.full-header .full-mobile > a:not(.button),
body .site-header.full-header .full-mobile > details > summary{font-weight:700}

body .site-header.full-header .desktop-navigation nav{column-gap:14px}


/* Keep the mobile phone and menu controls in view without hiding the wordmark. */
@media (max-width: 960px) {
  body .site-header.full-header .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: clamp(8px, 2vw, 16px);
    max-width: 100%;
  }
  body .site-header.full-header .header-inner .wordmark,
  body .site-header.full-header .header-inner .wordmark .jrc-brand-copy {
    min-width: 0;
    white-space: normal;
  }
  body .site-header.full-header .header-inner .wordmark .jrc-brand-copy > span {
    white-space: normal;
    overflow-wrap: anywhere;
  }
  body .site-header.full-header .mobile-top {
    flex-shrink: 0;
    gap: clamp(6px, 2vw, 16px);
  }
  body .site-header.full-header .mobile-top .menu-toggle {
    flex: 0 0 44px;
    min-width: 44px;
    min-height: 44px;
    margin-right: 0;
  }
  body .site-header.full-header .mobile-top .phone-box {
    flex: 0 0 44px;
    width: 44px;
    min-height: 44px;
    padding-inline: 0;
  }
}
@media (max-width: 460px) {
  body .site-header.full-header .header-inner .wordmark { gap: clamp(6px, 2vw, 10px); }
  body .site-header.full-header .header-inner .wordmark .jrc-logo { width: clamp(64px, 21vw, 94px); }
}

/* The persistent mobile banner already provides the consultation action. */
body .site-header.full-header .full-mobile > a.button[href="/contact/"]{display:none}

.full-footer .footer-layout .jrc-footer-directions {
  display: inline-block;
  margin: 0;
  padding: 0;
  min-height: 0;
  color: inherit;
  font: inherit;
}
@media (max-width: 700px), (pointer: coarse) {
  .full-footer .footer-layout .jrc-footer-directions,
  .full-footer .footer-layout a[href^="tel:"] {
    display: inline-block;
    min-height: 44px;
    padding-block: 9px;
  }
}
.jrc-call-dialog {
  width: min(22rem, calc(100% - 2rem));
  margin: auto;
  padding: 1.5rem;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: #102d41;
  box-shadow: 0 8px 36px #102d4133;
}
.jrc-call-dialog::backdrop { background: #102d4199; }
.jrc-call-dialog h2 { margin: 0 0 1.25rem; font-size: 1.5rem; }
.jrc-call-dialog .jrc-call-action,
.jrc-call-dialog button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 4px;
  font: inherit;
  cursor: pointer;
}
.jrc-call-dialog .jrc-call-action { background: #102d41; color: #fff; }
.jrc-call-dialog button { margin-top: .5rem; background: #edf2ef; color: #102d41; }

@media (max-width: 700px), (pointer: coarse) {
  .full-footer .footer-layout a.jrc-phone-link[href^="tel:"] {
    display: inline-flex;
    align-items: center;
  }
  .full-footer .footer-layout a.jrc-phone-link .jrc-phone-icon {
    display: block;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    margin-right: .45em;
    color: inherit;
    stroke: currentColor;
  }
}

.full-footer .footer-layout h2 {
  font-family: var(--sans, sans-serif);
  font-size: .9rem !important;
  font-weight: 700;
  letter-spacing: .07em !important;
  line-height: 1.4;
  text-transform: uppercase;
  padding-bottom: .65rem;
  border-bottom: 1px solid #526976;
}
.full-footer .footer-layout a.jrc-footer-directions {
  display: inline-flex;
  align-items: flex-start;
  gap: .5rem;
}
.jrc-footer-directions svg { flex: none; margin-top: .22em; }
.full-footer .footer-layout .jrc-office-hours {
  padding-left: .75rem;
  border-left: 2px solid #91aba5;
  color: #dce8e2;
  line-height: 1.55;
}
.jrc-office-hours strong { display: block; font-weight: 600; }
#visit-scottsdale { scroll-margin-top: calc(var(--jrc-banner-height, 6rem) + 1rem); }
