/* Provisional B-only addition after 05-responsive.css. No medical values changed. */
:where(a,button,summary):focus-visible{outline:3px solid #075fb3;outline-offset:4px}
.mobile-nav{max-height:calc(100dvh - 80px);overflow-y:auto;overscroll-behavior:contain}
.mobile-nav a{min-height:48px;display:flex;align-items:center}
.clinic,.navi-card,.hero__copy{min-width:0}
.top-quick-links{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;padding:18px;background:#f4f9fc}
.top-quick-links a{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:10px 18px;border:1px solid #c2d6e6;border-radius:6px;background:#fff;color:#163e69;font-size:15px;font-weight:700}
@media(min-width:901px) and (max-width:1350px){
 .site-header .gnav,.site-header .tel-block{display:none}.header-utility{margin-left:auto}
 .site-header .nav-toggle{display:flex}.site-header .mobile-nav:not([hidden]){display:flex}
 .site-header__inner{height:76px}.site-header .brand-tagline{display:none}
}
@media(min-width:901px) and (max-width:1439px){
 .hero{height:380px}.hero__copy{top:32px;max-width:49%;left:18%}
 .hero h1{font-size:34px;line-height:1.4}.hero__lead{font-size:16px;line-height:1.8;letter-spacing:.03em}
 .hero__note{left:auto;right:2%;max-width:180px}
}
@media(max-width:900px){
 .hero{display:block;min-height:0;background:#f4f9fc;overflow:hidden}
 .hero::before{display:none}.hero__plate{display:block;height:clamp(190px,42vw,300px)}
 .hero__plate{overflow:hidden}.hero__plate img{position:static;height:100%;width:150%;max-width:none;transform:translateX(-33.333%);object-position:80% 48%}
 .hero__inner{display:block;position:relative;padding:24px 18px 30px 78px}
 .hero__rail{position:absolute;left:12px;top:24px;bottom:30px;width:52px;padding:12px 4px;background:transparent;border-left:1px solid #b5c9dc}
 .hero__rail::before{display:none}.hero__place{font-size:9px;letter-spacing:.05em}
 .hero__motto{font-size:9px;white-space:normal;line-height:1.7}
 .hero__copy{padding:0}.hero h1{font-size:clamp(24px,5.5vw,36px);line-height:1.5;letter-spacing:.025em;width:auto}
 .hero__lead{font-size:16px;line-height:1.85;width:auto;letter-spacing:.01em;margin-top:16px;text-shadow:none}
 .hero__lead br{display:none}.hero .arrow-cta{font-size:15px;min-height:48px;margin-top:20px;gap:10px}
 .hero__note{display:none}.hero .arrow-cta__circle{width:44px;height:44px}
 .news__card{padding:18px 16px}.news-list a{grid-template-columns:auto 1fr;gap:5px 12px;padding-block:12px;min-height:64px;font-size:15px;line-height:1.7}
 .news-list__date{font-size:13px}.news-list__title{grid-column:1/-1}.news-list a::after{display:none}
 .news-list__title{white-space:normal;overflow:visible;text-overflow:clip}
 .news__more{position:static;display:inline-flex;min-height:44px;align-items:center;justify-self:start;font-size:14px;margin-top:8px}
 .news__head{padding-right:0}.badge{justify-self:start;font-size:12px}
 .medical{padding-block:24px}.medical .bar-title--lg{font-size:22px;line-height:1.6}
 .clinic-grid{gap:20px}.clinic{padding:18px 12px;gap:14px}
 .clinic__head{grid-template-columns:minmax(0,1fr) 30%;gap:12px}.clinic h3{white-space:normal;flex-wrap:wrap;font-size:20px;line-height:1.5}
 .clinic__desc{font-size:15px;line-height:1.8}.clinic__photo img{aspect-ratio:1.3;object-fit:cover}
 .hours{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}
 .hours th,.hours td{font-size:13px;padding:8px 2px}.hours__time{font-size:13px!important;width:auto;white-space:normal!important}
 .hours tbody th{width:32px}.hours thead .hours__label{font-size:13px}
 .hours caption{font-size:13px;line-height:1.7}.hours__label .ref-chip{display:block}
 .clinic__actions{gap:12px;flex-wrap:wrap}.clinic__actions .btn{min-height:48px;font-size:14px;margin-left:0;flex:1 1 130px}
 .clinic__tel{flex-basis:100%}.clinic__tel strong{font-size:20px}
 .section-head__lead{font-size:15px;line-height:1.8}.section-head__more{min-height:44px;display:inline-flex;align-items:center;font-size:14px}
 .navi--facilities .navi-card{grid-template-columns:48px minmax(0,1fr);gap:8px;padding:14px 12px 42px;min-height:160px}
 .navi--facilities .navi-card__photo{grid-column:1;grid-row:1/3}.navi--facilities .navi-card__no{display:none}
 .navi--facilities .navi-card__title{grid-column:2;grid-row:1;font-size:16px;line-height:1.6;word-break:normal}
 .navi--facilities .navi-card__desc{grid-column:2;grid-row:2;font-size:14px;line-height:1.7}
 .navi--services .navi-card__title{font-size:18px;line-height:1.5}.navi--services .navi-card__desc{font-size:15px;line-height:1.8}
 .navi--services .navi-card{grid-template-columns:28% 24px minmax(0,1fr);min-height:150px}
 .navi-card__go{width:28px;height:28px}.about__lead,.recruit__lead{font-size:15px;line-height:1.85}
 .about .bar-title--lg,.recruit .bar-title--lg{font-size:24px;line-height:1.6}
 .about__inner{grid-template-columns:minmax(0,1fr)}.about__copy{padding:28px 20px}.about__badge{display:none}
 .about__cta,.recruit .btn{font-size:15px;min-height:48px}
 .recruit__copy{padding-block:26px;max-width:80%}.site-footer a{min-height:44px;display:inline-flex;align-items:center}
 .site-footer__nav,.site-footer__legal{font-size:14px;line-height:1.8}
}
@media(max-width:600px){.navi-grid--4{grid-template-columns:1fr}.navi--facilities .navi-card{grid-template-columns:82px minmax(0,1fr);min-height:132px}.clinic__head{grid-template-columns:1fr}.clinic__photo{display:none}}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.navi-card,.btn,.arrow-cta{transition:box-shadow .16s ease,background-color .16s ease}.navi-card:hover{box-shadow:0 4px 14px #143e6726}}
.btn:active,.arrow-cta:active{filter:brightness(.95)}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.navi-card,.btn,.arrow-cta{transition:none}}
/* Reflow for long strings and text enlargement, without shrinking the text. */
@media(max-width:900px){
 .medical .section-head{display:flex;flex-wrap:wrap}.medical .section-head>*{min-width:0;max-width:100%}
 .medical .bar-title--lg{flex:1 1 100%}.script--community{text-align:left}
 .navi .section-head--row{display:flex;flex-wrap:wrap}.navi .section-head--row>*{min-width:0;max-width:100%}
 .hero .arrow-cta,.about__cta,.recruit .btn,.clinic__actions .btn{max-width:100%;white-space:normal;flex-wrap:wrap;overflow-wrap:anywhere}
 .recruit__copy{max-width:100%;min-width:0}.recruit__lead{max-width:100%;overflow-wrap:anywhere}
 .site-footer__inner{grid-template-columns:minmax(0,1fr)}
 .site-footer__nav,.site-footer__island{grid-column:1;grid-row:auto;min-width:0}
 .site-footer__nav{grid-template-columns:repeat(auto-fit,minmax(120px,1fr))}
 .site-footer__nav a,.site-footer__legal,.site-footer__copy{overflow-wrap:anywhere;white-space:normal}
}

/* D4: only these two home bands reserve independent portrait and reading areas. */
@media(max-width:900px){
 .home .about,.home .recruit{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:clamp(180px,40vw,300px) auto;min-height:0;background:#f4f9fc}
 .home .about::before,.home .recruit::before{display:none}
 .home .about__plate,.home .recruit__plate{grid-area:1/1;min-height:0;overflow:hidden}
 .home .about__plate img,.home .recruit__plate img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
 .home .about__plate img{object-position:62% 60%}.home .recruit__plate img{object-position:74% 35%}
 .home .about__inner,.home .recruit__inner{grid-area:2/1;display:block;height:auto;min-width:0}
 .home .about__copy,.home .recruit__copy{position:relative;inset:auto;padding:28px 20px;max-width:100%;min-width:0}
 .home .about__lead,.home .recruit__lead{width:auto;max-width:100%;text-shadow:none;line-height:1.85}
 .home .about__lead br,.home .recruit__lead br{display:none}
 .home .recruit h2{font-size:24px;line-height:1.6;width:auto;text-shadow:none;overflow-wrap:anywhere}
 .home .recruit__note{position:static;margin:0;padding:0 20px 24px;text-align:right}
 .home .recruit__actions{flex-wrap:wrap;gap:12px}.home .recruit__actions>*{min-width:0;max-width:100%}
}
